Geant4
10.01
|
#include <DMXEventAction.hh>
Public Member Functions | |
DMXEventAction () | |
virtual | ~DMXEventAction () |
virtual void | BeginOfEventAction (const G4Event *) |
virtual void | EndOfEventAction (const G4Event *) |
void | SetDrawTrksFlag (G4String val) |
G4String | GetDrawTrksFlag () const |
void | SetDrawColsFlag (G4String val) |
G4String | GetDrawColsFlag () const |
void | SetDrawHitsFlag (G4int val) |
void | SetSavePmtFlag (G4int val) |
void | SetSaveHitsFlag (G4int val) |
void | SetPrintModulo (G4int val) |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
void | SetEventManager (G4EventManager *value) |
Private Member Functions | |
void | writeScintHitsToFile () |
void | writePmtHitsToFile (const DMXPmtHitsCollection *) |
void | drawTracks (const G4Event *) |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Definition at line 58 of file DMXEventAction.hh.
DMXEventAction::DMXEventAction | ( | ) |
Definition at line 76 of file DMXEventAction.cc.
References drawColsFlag, drawHitsFlag, drawTrksFlag, energy_pri, eventMessenger, pmtCollID, printModulo, saveHitsFlag, savePmtFlag, scintillatorCollID, and seeds.
|
virtual |
Definition at line 103 of file DMXEventAction.cc.
References eventMessenger, hitsfile, and pmtfile.
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 120 of file DMXEventAction.cc.
References energy_pri, event_id, G4BestUnit, G4cout, G4endl, genAction, G4SDManager::GetCollectionID(), DMXPrimaryGeneratorAction::GetEnergyPrimary(), G4Event::GetEventID(), DMXPrimaryGeneratorAction::GetEventSeeds(), G4RunManager::GetRunManager(), G4SDManager::GetSDMpointer(), G4RunManager::GetUserPrimaryGeneratorAction(), G4RunManager::GetUserRunAction(), pmtCollID, printModulo, runAct, scintillatorCollID, and seeds.
|
private |
Definition at line 484 of file DMXEventAction.cc.
References G4UImanager::ApplyCommand(), G4Trajectory::DrawTrajectory(), drawTrksFlag, G4TrajectoryContainer::entries(), G4Trajectory::GetCharge(), G4VVisManager::GetConcreteInstance(), G4Trajectory::GetParticleName(), G4Event::GetTrajectoryContainer(), and G4UImanager::GetUIpointer().
Referenced by EndOfEventAction().
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 168 of file DMXEventAction.cc.
References aveTimePmtHits, G4THitsCollection< T >::DrawAllHits(), drawColsFlag, drawHitsFlag, drawTracks(), drawTrksFlag, electron_ev, G4THitsCollection< T >::entries(), event_id, G4VAnalysisManager::FillH1(), firstLXeHitTime, firstParticleE, firstParticleName, G4BestUnit, G4cout, G4endl, gamma_ev, G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), hitEnergy, neutron_ev, other_ev, P_hits, particleEnergy, particleName, pmtCollID, positron_ev, printModulo, proton_ev, S_hits, saveHitsFlag, savePmtFlag, scintillatorCollID, start_gamma, start_neutron, totEnergy, totEnergyGammas, totEnergyNeutrons, writePmtHitsToFile(), and writeScintHitsToFile().
|
inline |
Definition at line 76 of file DMXEventAction.hh.
References drawColsFlag.
Referenced by DMXSteppingAction::UserSteppingAction().
|
inline |
Definition at line 73 of file DMXEventAction.hh.
References drawTrksFlag.
Referenced by DMXSteppingAction::UserSteppingAction().
|
inline |
Definition at line 75 of file DMXEventAction.hh.
References drawColsFlag.
|
inline |
Definition at line 78 of file DMXEventAction.hh.
References drawHitsFlag.
|
inline |
Definition at line 72 of file DMXEventAction.hh.
References drawTrksFlag.
|
inline |
Definition at line 81 of file DMXEventAction.hh.
References printModulo.
|
inline |
Definition at line 80 of file DMXEventAction.hh.
References saveHitsFlag.
|
inline |
Definition at line 79 of file DMXEventAction.hh.
References savePmtFlag.
|
private |
Definition at line 418 of file DMXEventAction.cc.
References G4VAnalysisManager::AddNtupleRow(), event_id, G4VAnalysisManager::FillH2(), G4VAnalysisManager::FillNtupleDColumn(), G4cout, G4endl, G4Threading::G4GetThreadId(), DMXRunAction::GetsavepmtFile(), left, mm, P_hits, pmtfile, printModulo, runAct, sss, and z.
Referenced by EndOfEventAction().
|
private |
Definition at line 307 of file DMXEventAction.cc.
References G4VAnalysisManager::AddNtupleRow(), aveTimePmtHits, electron_ev, energy_pri, event_id, G4VAnalysisManager::FillH1(), G4VAnalysisManager::FillNtupleDColumn(), firstLXeHitTime, firstParticleE, firstParticleName, G4cout, G4endl, G4Threading::G4GetThreadId(), gamma_ev, DMXRunAction::GetsavehitsFile(), hitsfile, keV, left, MeV, nanosecond, neutron_ev, ns, other_ev, P_hits, positron_ev, printModulo, runAct, S_hits, seeds, sss, and totEnergy.
Referenced by EndOfEventAction().
|
private |
Definition at line 96 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 118 of file DMXEventAction.hh.
Referenced by DMXEventAction(), EndOfEventAction(), GetDrawColsFlag(), and SetDrawColsFlag().
|
private |
Definition at line 119 of file DMXEventAction.hh.
Referenced by DMXEventAction(), EndOfEventAction(), and SetDrawHitsFlag().
|
private |
Definition at line 117 of file DMXEventAction.hh.
Referenced by DMXEventAction(), drawTracks(), EndOfEventAction(), GetDrawTrksFlag(), and SetDrawTrksFlag().
|
private |
Definition at line 110 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 87 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), DMXEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 81 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), EndOfEventAction(), writePmtHitsToFile(), and writeScintHitsToFile().
|
private |
Definition at line 123 of file DMXEventAction.hh.
Referenced by DMXEventAction(), and ~DMXEventAction().
|
private |
Definition at line 101 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 102 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 105 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 107 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 126 of file DMXEventAction.hh.
Referenced by BeginOfEventAction().
|
private |
Definition at line 100 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 127 of file DMXEventAction.hh.
Referenced by writeScintHitsToFile(), and ~DMXEventAction().
|
private |
Definition at line 108 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 112 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 93 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), writePmtHitsToFile(), and writeScintHitsToFile().
|
private |
Definition at line 103 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 104 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 91 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), DMXEventAction(), and EndOfEventAction().
|
private |
Definition at line 128 of file DMXEventAction.hh.
Referenced by writePmtHitsToFile(), and ~DMXEventAction().
|
private |
Definition at line 109 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 122 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), DMXEventAction(), EndOfEventAction(), SetPrintModulo(), writePmtHitsToFile(), and writeScintHitsToFile().
|
private |
Definition at line 111 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 125 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), writePmtHitsToFile(), and writeScintHitsToFile().
|
private |
Definition at line 92 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 121 of file DMXEventAction.hh.
Referenced by DMXEventAction(), EndOfEventAction(), and SetSaveHitsFlag().
|
private |
Definition at line 120 of file DMXEventAction.hh.
Referenced by DMXEventAction(), EndOfEventAction(), and SetSavePmtFlag().
|
private |
Definition at line 90 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), DMXEventAction(), and EndOfEventAction().
|
private |
Definition at line 86 of file DMXEventAction.hh.
Referenced by BeginOfEventAction(), DMXEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 113 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 114 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 97 of file DMXEventAction.hh.
Referenced by EndOfEventAction(), and writeScintHitsToFile().
|
private |
Definition at line 98 of file DMXEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 99 of file DMXEventAction.hh.
Referenced by EndOfEventAction().