40 #include "G4HCofThisEvent.hh"
41 #include "G4VHitsCollection.hh"
53 calorimeterCollID = -1;
63 if(trackerCollID<0||calorimeterCollID<0||muonCollID<0)
76 if(trackerCollID<0||calorimeterCollID<0||muonCollID<0)
return;
93 <<
" hits are stored in RE05TrackerHitsCollection." <<
G4endl;
99 <<
" hits are stored in RE05CalorimeterHitsCollection." <<
G4endl;
101 for(
int i=0;i<n_hit;i++)
102 { totE += (*CHC)[i]->GetEdep(); }
103 G4cout <<
" Total energy deposition in calorimeter : "
110 <<
" hits are stored in RE05MuonHitsCollection." <<
G4endl;
Definition of the RE05CalorimeterHit class.
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
virtual ~RE05EventAction()
Definition of the RE05MuonHit class.
Definition of the RE05TrackerHit class.
G4GLOB_DLL std::ostream G4cout
Definition of the RE05EventAction class.
static G4SDManager * GetSDMpointer()
virtual void BeginOfEventAction(const G4Event *)
G4HCofThisEvent * GetHCofThisEvent() const
virtual void EndOfEventAction(const G4Event *)