54 : fSaveThreshold(0),fScintCollID(-1),fPMTCollID(-1),fVerbose(0),
55 fPMTThreshold(1),fForcedrawphotons(false),fForcenophotons(false)
105 G4int n_trajectories = 0;
106 if (trajectoryContainer) n_trajectories = trajectoryContainer->
entries();
110 for (
G4int i=0; i<n_trajectories; i++){
137 int n_hit = scintHC->
entries();
142 for(
int i=0;i<n_hit;i++){
143 edep=(*scintHC)[i]->GetEdep();
145 eWeightPos += (*scintHC)[i]->GetPos()*
edep;
154 G4AnalysisManager::Instance()->FillH1(7,
fTotE);
164 G4cout <<
"\tEnergy weighted position of hits in LXe : "
169 G4cout <<
"\tTotal energy deposition in scintillator : "
178 for(
G4int i=0;i<pmts;i++){
179 fHitCount += (*pmtHC)[i]->GetPhotonCount();
180 reconPos+=(*pmtHC)[i]->GetPMTPos()*(*pmtHC)[i]->GetPhotonCount();
185 (*pmtHC)[i]->SetDrawit(
false);
189 G4AnalysisManager::Instance()->FillH1(1,
fHitCount);
195 G4cout <<
"\tReconstructed position of hits in LXe : "
210 G4cout <<
"\tNumber of photons that hit PMTs in this event : "
214 G4cout <<
"\tNumber of photons produced by scintillation in this event : "
216 G4cout <<
"\tNumber of photons produced by cerenkov in this event : "
218 G4cout <<
"\tNumber of photons absorbed (OpAbsorption) in this event : "
220 G4cout <<
"\tNumber of photons absorbed at boundaries (OpBoundary) in "
222 G4cout <<
"Unaccounted for photons in this event : "
G4int GetCollectionID(G4String colName)
static G4RunManager * GetRunManager()
void IncBoundaryAbsorption(G4int count)
virtual void EndOfEventAction(const G4Event *)
virtual void DrawAllHits()
static constexpr double keV
void IncHitCount(G4int count)
static constexpr double mm
void IncPhotonCount_Scint(G4int count)
void IncHitsAboveThreshold(G4int count)
void SetRandomNumberStoreDir(const G4String &dir)
virtual void BeginOfEventAction(const G4Event *)
Definition of the LXeEventAction class.
G4HCofThisEvent * GetHCofThisEvent() const
static G4VVisManager * GetConcreteInstance()
G4int fPMTsAboveThreshold
G4int fBoundaryAbsorptionCount
void IncAbsorption(G4int count)
G4TrajectoryContainer * GetTrajectoryContainer() const
G4ThreeVector fEWeightPos
G4Run * GetNonConstCurrentRun() const
void IncEDep(G4double dep)
G4VHitsCollection * GetHC(G4int i)
virtual void DrawTrajectory() const
G4String GetParticleName() const
static G4SDManager * GetSDMpointer()
void SetRandomNumberStore(G4bool flag)
void IncPhotonCount_Ceren(G4int count)
G4GLOB_DLL std::ostream G4cout
Definition of the LXeHistoManager class.
void SetSaveThreshold(G4int)
virtual void rndmSaveThisEvent()
void SetForceDrawTrajectory(G4bool b)
Definition of the LXeScintHit class.
Definition of the LXePMTHit class.
Definition of the LXeTrajectory class.
virtual ~LXeEventAction()
void SetForceNoDrawTrajectory(G4bool b)
LXeEventMessenger * fEventMessenger