52 : fRecorder(r),fSaveThreshold(0),fScintCollID(-1),fPMTCollID(-1),fVerbose(0),
53 fPMTThreshold(1),fForcedrawphotons(false),fForcenophotons(false)
88 G4int n_trajectories = 0;
89 if (trajectoryContainer) n_trajectories = trajectoryContainer->
entries();
93 for (
G4int i=0; i<n_trajectories; i++){
116 int n_hit = scintHC->
entries();
121 for(
int i=0;i<n_hit;i++){
122 edep=(*scintHC)[i]->GetEdep();
123 eventInformation->
IncEDep(edep);
124 eWeightPos += (*scintHC)[i]->GetPos()*
edep;
128 eventInformation->
SetPosMax(posMax,edep);
131 if(eventInformation->
GetEDep()==0.){
132 if(fVerbose>0)
G4cout<<
"No hits in the scintillator this event."<<
G4endl;
136 eWeightPos/=eventInformation->
GetEDep();
139 G4cout <<
"\tEnergy weighted position of hits in LXe : "
144 G4cout <<
"\tTotal energy deposition in scintillator : "
153 for(
G4int i=0;i<pmts;i++){
154 eventInformation->
IncHitCount((*pmtHC)[i]->GetPhotonCount());
155 reconPos+=(*pmtHC)[i]->GetPMTPos()*(*pmtHC)[i]->GetPhotonCount();
156 if((*pmtHC)[i]->GetPhotonCount()>=fPMTThreshold){
160 (*pmtHC)[i]->SetDrawit(
false);
167 G4cout <<
"\tReconstructed position of hits in LXe : "
177 G4cout <<
"\tNumber of photons that hit PMTs in this event : "
179 G4cout <<
"\tNumber of PMTs above threshold("<<fPMTThreshold<<
") : "
181 G4cout <<
"\tNumber of photons produced by scintillation in this event : "
183 G4cout <<
"\tNumber of photons produced by cerenkov in this event : "
185 G4cout <<
"\tNumber of photons absorbed (OpAbsorption) in this event : "
187 G4cout <<
"\tNumber of photons absorbed at boundaries (OpBoundary) in "
190 G4cout <<
"Unacounted for photons in this event : "
199 if(fSaveThreshold&&eventInformation->
GetPhotonCount() <= fSaveThreshold)