90 G4int n_trajectories = 0;
91 if (trajectoryContainer) n_trajectories = trajectoryContainer->
entries();
95 for (
G4int i=0; i<n_trajectories; i++){
118 int n_hit = scintHC->
entries();
123 for(
int i=0;i<n_hit;i++){
124 edep=(*scintHC)[i]->GetEdep();
125 eventInformation->
IncEDep(edep);
126 eWeightPos += (*scintHC)[i]->GetPos()*
edep;
130 eventInformation->
SetPosMax(posMax,edep);
133 if(eventInformation->
GetEDep()==0.){
138 eWeightPos/=eventInformation->
GetEDep();
141 G4cout <<
"\tEnergy weighted position of hits in LXe : " 146 G4cout <<
"\tTotal energy deposition in scintillator : " 155 for(
G4int i=0;i<pmts;i++){
156 eventInformation->
IncHitCount((*pmtHC)[i]->GetPhotonCount());
157 reconPos+=(*pmtHC)[i]->GetPMTPos()*(*pmtHC)[i]->GetPhotonCount();
162 (*pmtHC)[i]->SetDrawit(
false);
169 G4cout <<
"\tReconstructed position of hits in LXe : " 179 G4cout <<
"\tNumber of photons that hit PMTs in this event : " 183 G4cout <<
"\tNumber of photons produced by scintillation in this event : " 185 G4cout <<
"\tNumber of photons produced by cerenkov in this event : " 187 G4cout <<
"\tNumber of photons absorbed (OpAbsorption) in this event : " 189 G4cout <<
"\tNumber of photons absorbed at boundaries (OpBoundary) in " 192 G4cout <<
"Unacounted for photons in this event : "
LXeRecorderBase * fRecorder
G4VHitsCollection * GetHC(G4int i)
static G4VVisManager * GetConcreteInstance()
G4VUserEventInformation * GetUserInformation() const
G4GLOB_DLL std::ostream G4cout
virtual void DrawTrajectory() const
virtual void rndmSaveThisEvent()
static G4RunManager * GetRunManager()
G4TrajectoryContainer * GetTrajectoryContainer() const
G4String GetParticleName() const
G4HCofThisEvent * GetHCofThisEvent() const
virtual void DrawAllHits()
void SetForceNoDrawTrajectory(G4bool b)
virtual void RecordEndOfEvent(const G4Event *)
void SetForceDrawTrajectory(G4bool b)