73{
74 G4cout << ">>> Summary of Event " << evt->GetEventID() << G4endl;
75 if(evt->GetNumberOfPrimaryVertex()==0)
76 {
77 G4cout << "Event is empty." << G4endl;
78 return;
79 }
80
82
86 if(HCE)
87 {
90 }
91
92 if(THC)
93 {
94 int n_hit = THC->entries();
95 G4cout << G4endl;
96 G4cout << "Tracker hits " <<
97 "--------------------------------------------------------------"
98 << G4endl;
99 G4cout << n_hit << " hits are stored in RE01TrackerHitsCollection."
100 << G4endl;
101 if(fpEventManager->GetVerboseLevel()>0)
102 {
103 G4cout << "List of hits in tracker" << G4endl;
104 for(int i=0;i<n_hit;i++)
105 { (*THC)[i]->Print(); }
106 }
107 }
108 if(CHC)
109 {
110 int n_hit = CHC->entries();
111 G4cout << G4endl;
112 G4cout << "Calorimeter hits "<<
113 "--------------------------------------------------------------"
114 << G4endl;
115 G4cout << n_hit << " hits are stored in RE01CalorimeterHitsCollection."
116 << G4endl;
117 G4double totE = 0;
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;
122 }
123
124
126 G4int n_trajectories = 0;
127 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
128
129 G4cout << G4endl;
130 G4cout << "Trajectories in tracker "<<
131 "--------------------------------------------------------------"
132 << G4endl;
133 if(fpEventManager->GetVerboseLevel()>0)
134 {
135 for(G4int i=0; i<n_trajectories; i++)
136 {
140 }
141 }
142
143 G4cout << G4endl;
144 G4cout << "Primary particles "<<
145 "--------------------------------------------------------------"
146 << G4endl;
147 G4int n_vertex = evt->GetNumberOfPrimaryVertex();
148 for(G4int iv=0;iv<n_vertex;iv++)
149 {
151 G4cout << G4endl;
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)
156 {
158 while(pp)
159 {
161 pp = pp->GetNext();
162 }
163 }
164 }
165}
G4THitsCollection< RE01CalorimeterHit > RE01CalorimeterHitsCollection
G4THitsCollection< RE01TrackerHit > RE01TrackerHitsCollection
void PrintPrimary(G4PrimaryParticle *pp, G4int ind)
virtual void ShowTrajectory(std::ostream &os=G4cout) const