56 : fRunAction(runaction), fVerboseLevel(0),
57 fPrintModulo(100), fDrawFlag(
"all")
84 G4cout <<
"<<< Event " << evtNb <<
" started." <<
G4endl;
98 G4int n_trajectories = 0;
99 if (trajectoryContainer) n_trajectories = trajectoryContainer->
entries();
100 G4cout <<
"n_trajectories: " << n_trajectories <<
G4endl;
104 for(
G4int i=0; i<n_trajectories; i++)
116 G4cout <<
"We should be drawing an opticalphoton" <<
G4endl;
130 G4Random::saveEngineStatus(
"endOfEvent.rndm");
135 G4Random::showEngineStatus();
141 G4String colName =
"PhotonDetHitCollection";
void SetEventVerbose(G4int)
virtual ~WLSEventAction()
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
WLSEventAction(WLSRunAction *)
virtual void EndOfEventAction(const G4Event *)
static G4VVisManager * GetConcreteInstance()
virtual G4String GetParticleName() const
Definition of the WLSPhotonDetHit class.
G4EventManager * fpEventManager
G4TrajectoryContainer * GetTrajectoryContainer() const
Definition of the WLSEventActionMessenger class.
G4GLOB_DLL std::ostream G4cout
Definition of the WLSRunAction class.
virtual G4double GetCharge() const
virtual void BeginOfEventAction(const G4Event *)
void SetForceNoDrawTrajectory(G4bool b)
Definition of the WLSTrajectory class.
void SetForceDrawTrajectory(G4bool b)
static G4SDManager * GetSDMpointer()
Definition of the WLSEventAction class.
G4HCofThisEvent * GetHCofThisEvent() const
WLSRunAction * fRunAction
const G4Event * GetConstCurrentEvent()
virtual void DrawTrajectory() const
WLSEventActionMessenger * fEventMessenger