#include <RE01EventAction.hh>
Definition at line 40 of file RE01EventAction.hh.
◆ RE01EventAction()
RE01EventAction::RE01EventAction |
( |
| ) |
|
◆ ~RE01EventAction()
RE01EventAction::~RE01EventAction |
( |
| ) |
|
|
virtual |
◆ BeginOfEventAction()
void RE01EventAction::BeginOfEventAction |
( |
const G4Event * |
| ) |
|
|
virtual |
◆ EndOfEventAction()
void RE01EventAction::EndOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 73 of file RE01EventAction.cc.
92 G4cout <<
"Tracker hits " <<
93 "--------------------------------------------------------------" 95 G4cout << n_hit <<
" hits are stored in RE01TrackerHitsCollection." 100 for(
int i=0;i<n_hit;i++)
101 { (*THC)[i]->Print(); }
108 G4cout <<
"Calorimeter hits "<<
109 "--------------------------------------------------------------" 111 G4cout << n_hit <<
" hits are stored in RE01CalorimeterHitsCollection." 114 for(
int i=0;i<n_hit;i++)
115 { totE += (*CHC)[i]->GetEdep(); }
116 G4cout <<
" Total energy deposition in calorimeter : " 122 G4int n_trajectories = 0;
123 if (trajectoryContainer) n_trajectories = trajectoryContainer->
entries();
126 G4cout <<
"Trajectories in tracker "<<
127 "--------------------------------------------------------------" 131 for(
G4int i=0; i<n_trajectories; i++)
140 G4cout <<
"Primary particles "<<
141 "--------------------------------------------------------------" 144 for(
G4int iv=0;iv<n_vertex;iv++)
148 G4cout <<
"Primary vertex " 150 <<
" at t = " << (pv->
GetT0())/
ns <<
" [ns]" << G4endl;
void PrintPrimary(G4PrimaryParticle *pp, G4int ind)
G4VHitsCollection * GetHC(G4int i)
CLHEP::Hep3Vector G4ThreeVector
G4PrimaryParticle * GetPrimary(G4int i=0) const
G4EventManager * fpEventManager
G4int GetNumberOfPrimaryVertex() const
G4GLOB_DLL std::ostream G4cout
G4PrimaryParticle * GetNext() const
G4TrajectoryContainer * GetTrajectoryContainer() const
G4PrimaryVertex * GetPrimaryVertex(G4int i=0) const
G4HCofThisEvent * GetHCofThisEvent() const
virtual void ShowTrajectory(std::ostream &os=G4cout) const
◆ PrintPrimary()
Definition at line 164 of file RE01EventAction.cc.
166 for(
G4int ii=0;ii<=ind;ii++)
172 {
G4cout <<
"is not defined in G4"; }
183 daughter = daughter->
GetNext();
G4ParticleDefinition * GetG4code() const
void PrintPrimary(G4PrimaryParticle *pp, G4int ind)
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4PrimaryParticle * GetNext() const
G4PrimaryParticle * GetDaughter() const
G4ThreeVector GetMomentum() const
◆ fCalorimeterCollID
G4int RE01EventAction::fCalorimeterCollID |
|
private |
◆ fTrackerCollID
G4int RE01EventAction::fTrackerCollID |
|
private |
The documentation for this class was generated from the following files: