40 #include "G4HCofThisEvent.hh"
41 #include "G4VHitsCollection.hh"
55 fCalorimeterCollID(-1),
69 if(fTrackerCollID<0||fCalorimeterCollID<0||fMuonCollID<0)
84 if(fTrackerCollID<0||fCalorimeterCollID<0||fMuonCollID<0)
return;
101 <<
" hits are stored in RE05TrackerHitsCollection." <<
G4endl;
107 <<
" hits are stored in RE05CalorimeterHitsCollection." <<
G4endl;
109 for(
int i=0;i<n_hit;i++)
110 { totE += (*CHC)[i]->GetEdep(); }
111 G4cout <<
" Total energy deposition in calorimeter : "
118 <<
" 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()
static constexpr double GeV
virtual void BeginOfEventAction(const G4Event *)
G4HCofThisEvent * GetHCofThisEvent() const
virtual void EndOfEventAction(const G4Event *)