#include <Doxymodules_parameterisations.h>
◆ ExGflash3SensitiveDetector()
◆ ~ExGflash3SensitiveDetector()
ExGflash3SensitiveDetector::~ExGflash3SensitiveDetector |
( |
| ) |
|
|
overridedefault |
◆ Initialize()
◆ ProcessHits() [1/2]
Definition at line 76 of file ExGflash3SensitiveDetector.cc.
77{
78 G4double e = aStep->GetTotalEnergyDeposit();
79 if (e <= 0.) return false;
80
82
83
84
85
86
88 caloHit->SetEdep(e);
89 caloHit->SetPos(aStep->GetPreStepPoint()->GetPosition());
91 if (ROhist) {
92 ;
93 }
95 G4int crystalnum = 0;
96 for (int i = 0; i < 100; i++)
97 {
99 }
100 caloHit->SetCrystalNum(crystalnum);
101
102 return true;
103}
const G4VPhysicalVolume * GetCristal(int aNumCrystal)
◆ ProcessHits() [2/2]
Definition at line 108 of file ExGflash3SensitiveDetector.cc.
109{
110 G4double e = aSpot->GetEnergySpot()->GetEnergy();
111 if (e <= 0.) return false;
112
114
116 caloHit->SetEdep(e);
117 caloHit->SetPos(aSpot->GetEnergySpot()->GetPosition());
119 if (ROhist) {
120 ;
121 }
122
123 G4int crystalnum = 0;
124 for (int i = 0; i < 100; i++)
125 {
127 }
128 caloHit->SetCrystalNum(crystalnum);
129
130 return true;
131}
◆ EndOfEvent()
◆ fCaloHitsCollection
◆ fDetector
◆ fHCID
G4int ExGflash3SensitiveDetector::fHCID {-1} |
|
private |
The documentation for this class was generated from the following files: