38 #include "G4HCofThisEvent.hh"
68 HCE-> AddHitsCollection(HCID, hitCollection);
76 if(particle-> GetPDGCharge() == 0.)
return false;
84 G4double tof= prestep-> GetGlobalTime();
87 G4int id= volume-> GetCopyNo();
88 if(volume->
GetName() ==
"ENDCAP_MUON_PV")
id +=10;
91 new H02MuonHit(
id, particle-> GetParticleName(), vmom, vpos, tof);
92 hitCollection-> insert(aHit);
119 G4int nHit= hitCollection-> entries();
120 G4cout <<
"------------------------------------------" <<
G4endl
121 <<
"*** Muon System Hit (#hits=" << nHit <<
")" <<
G4endl;
122 hitCollection-> PrintAllHits();