33 #include "G4HCofThisEvent.hh"
38 #include "G4VHitsCollection.hh"
39 #include "ExN04EventAction.hh"
40 #include "ExN04CalorimeterHit.hh"
41 #include "ExN04MuonHit.hh"
42 #include "ExN04TrackerHit.hh"
48 fcalorimeterCollID(-1),
64 ftrackerCollID = SDman-> GetCollectionID(colNam=
"trackerCollection");
66 fmuonCollID = SDman-> GetCollectionID(colNam=
"muonCollection");
89 G4int n_hit = THC-> entries();
91 <<
" hits are stored in ExN04TrackerHitsCollection." <<
G4endl;
95 G4int n_hit = CHC-> entries();
97 <<
" hits are stored in ExN04CalorimeterHitsCollection." <<
G4endl;
99 for(
int i = 0; i < n_hit; i++ ) {
100 totE += (*CHC)[i]-> GetEdep();
102 G4cout <<
" Total energy deposition in calorimeter : "
107 G4int n_hit = MHC-> entries();
109 <<
" hits are stored in ExN04MuonHitsCollection." <<
G4endl;