38#include "G4EventManager.hh"
39#include "G4HCofThisEvent.hh"
40#include "G4VHitsCollection.hh"
41#include "G4TrajectoryContainer.hh"
42#include "G4Trajectory.hh"
43#include "G4VVisManager.hh"
44#include "G4SDManager.hh"
45#include "G4UImanager.hh"
46#include "G4SystemOfUnits.hh"
54 fCalorimeterCollID(-1),
71 fTrackerCollID = SDman->GetCollectionID(colNam=
"trackerCollection");
73 fMuonCollID = SDman->GetCollectionID(colNam=
"muonCollection");
81 G4cout <<
">>> Event " << evt->GetEventID() << G4endl;
98 int n_hit = THC->entries();
99 G4cout <<
" " << n_hit
100 <<
" hits are stored in RE05TrackerHitsCollection." << G4endl;
104 int n_hit = CHC->entries();
105 G4cout <<
" " << n_hit
106 <<
" hits are stored in RE05CalorimeterHitsCollection." << G4endl;
108 for(
int i=0;i<n_hit;i++)
109 { totE += (*CHC)[i]->GetEdep(); }
110 G4cout <<
" Total energy deposition in calorimeter : "
111 << totE / GeV <<
" (GeV)" << G4endl;
115 int n_hit = MHC->entries();
116 G4cout <<
" " << n_hit
117 <<
" hits are stored in RE05MuonHitsCollection." << G4endl;
Definition of the RE05CalorimeterHit class.
G4THitsCollection< RE05CalorimeterHit > RE05CalorimeterHitsCollection
Definition of the RE05EventAction class.
Definition of the RE05MuonHit class.
G4THitsCollection< RE05MuonHit > RE05MuonHitsCollection
Definition of the RE05TrackerHit class.
G4THitsCollection< RE05TrackerHit > RE05TrackerHitsCollection
virtual ~RE05EventAction()
virtual void BeginOfEventAction(const G4Event *)
virtual void EndOfEventAction(const G4Event *)