74 G4cout <<
">>> Summary of Event " << evt->GetEventID() << G4endl;
75 if(evt->GetNumberOfPrimaryVertex()==0)
77 G4cout <<
"Event is empty." << G4endl;
94 int n_hit = THC->entries();
96 G4cout <<
"Tracker hits " <<
97 "--------------------------------------------------------------"
99 G4cout << n_hit <<
" hits are stored in RE01TrackerHitsCollection."
101 if(fpEventManager->GetVerboseLevel()>0)
103 G4cout <<
"List of hits in tracker" << G4endl;
104 for(
int i=0;i<n_hit;i++)
105 { (*THC)[i]->Print(); }
110 int n_hit = CHC->entries();
112 G4cout <<
"Calorimeter hits "<<
113 "--------------------------------------------------------------"
115 G4cout << n_hit <<
" hits are stored in RE01CalorimeterHitsCollection."
118 for(
int i=0;i<n_hit;i++)
119 { totE += (*CHC)[i]->GetEdep(); }
120 G4cout <<
" Total energy deposition in calorimeter : "
121 << totE / GeV <<
" (GeV)" << G4endl;
126 G4int n_trajectories = 0;
127 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
130 G4cout <<
"Trajectories in tracker "<<
131 "--------------------------------------------------------------"
133 if(fpEventManager->GetVerboseLevel()>0)
135 for(G4int i=0; i<n_trajectories; i++)
144 G4cout <<
"Primary particles "<<
145 "--------------------------------------------------------------"
147 G4int n_vertex = evt->GetNumberOfPrimaryVertex();
148 for(G4int iv=0;iv<n_vertex;iv++)
152 G4cout <<
"Primary vertex "
153 << G4ThreeVector(pv->GetX0(),pv->GetY0(),pv->GetZ0())
154 <<
" at t = " << (pv->GetT0())/ns <<
" [ns]" << G4endl;
155 if(fpEventManager->GetVerboseLevel()>0)
170 for(G4int ii=0;ii<=ind;ii++)
172 G4cout <<
"==PDGcode " << pp->GetPDGcode() <<
" ";
173 if(pp->GetG4code()!=0)
174 { G4cout <<
"(" << pp->GetG4code()->GetParticleName() <<
")"; }
176 { G4cout <<
"is not defined in G4"; }
177 G4cout <<
" " << pp->GetMomentum()/GeV <<
" [GeV] ";
178 if(pp->GetTrackID()<0)
179 { G4cout << G4endl; }
181 { G4cout <<
">>> G4Track ID " << pp->GetTrackID() << G4endl; }
187 daughter = daughter->GetNext();