72{
73 G4cout << ">>> Event " << evt->GetEventID() << G4endl;
74
76
81
82 if( HCE ) {
86 }
87
88 if( THC ) {
89 G4int n_hit = THC-> entries();
90 G4cout << " " << n_hit
91 << " hits are stored in ExN04TrackerHitsCollection." << G4endl;
92 }
93
94 if( CHC ) {
95 G4int n_hit = CHC-> entries();
96 G4cout << " " << n_hit
97 << " hits are stored in ExN04CalorimeterHitsCollection." << G4endl;
98 G4double totE = 0;
99 for( int i = 0; i < n_hit; i++ ) {
100 totE += (*CHC)[i]-> GetEdep();
101 }
102 G4cout << " Total energy deposition in calorimeter : "
103 << totE / GeV << " (GeV)" << G4endl;
104 }
105
106 if( MHC ) {
107 G4int n_hit = MHC-> entries();
108 G4cout << " " << n_hit
109 << " hits are stored in ExN04MuonHitsCollection." << G4endl;
110 }
111}
G4THitsCollection< ExN04CalorimeterHit > ExN04CalorimeterHitsCollection
G4THitsCollection< ExN04MuonHit > ExN04MuonHitsCollection
G4THitsCollection< ExN04TrackerHit > ExN04TrackerHitsCollection