46 #include "G4HCofThisEvent.hh"
47 #include "G4VHitsCollection.hh"
57 :calorimeterCollID(-1),eventMessenger(0),
58 runaction(Em10RA),verboselevel(0),drawFlag(
"all"),printModulo(10000)
67 delete eventMessenger;
75 if (evtNb%printModulo == 0)
79 G4cout <<
"<<< Event " << evtNb <<
" started." <<
G4endl;
81 if (calorimeterCollID==-1)
115 for (
int i=0;i<n_hit;i++)
116 { totEAbs += (*CHC)[i]->GetEdepAbs();
117 totLAbs += (*CHC)[i]->GetTrakAbs();
121 <<
" Absorber: total energy: " << std::setw(7) <<
123 <<
" total track length: " << std::setw(7) <<
133 G4cout <<
" Ncharged=" << Nch <<
" , Nneutral=" << Nne <<
G4endl;
135 runaction->
AddEP(NE,NP);
136 runaction->
AddTrRef(Transmitted,Reflected) ;
138 runaction->
FillEn(totEAbs) ;
140 nstep=nstepCharged+nstepNeutral ;
153 if (evtNb%printModulo == 0)
173 verboselevel = level ;