31 #include "G4HCofThisEvent.hh"
66 if(particle-> GetPDGCharge() == 0.)
return false;
74 G4double tof= prestep-> GetGlobalTime();
77 G4int id= volume-> GetCopyNo();
78 if(volume->
GetName() ==
"ENDCAP_MUON_PV")
id +=10;
81 new H02MuonHit(
id, particle-> GetParticleName(), vmom, vpos, tof);
106 G4cout <<
"------------------------------------------" <<
G4endl
107 <<
"*** Muon System Hit (#hits=" << nHit <<
")" <<
G4endl;
G4String SensitiveDetectorName
virtual G4bool ProcessHits(G4Step *astep, G4TouchableHistory *ROhist)
CLHEP::Hep3Vector G4ThreeVector
G4THitsCollection< H02MuonHit > H02MuonHitsCollection
virtual G4int GetCollectionID(G4int i)
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
virtual void EndOfEvent(G4HCofThisEvent *HCE)
H02MuonHitsCollection * hitCollection
G4CollectionNameVector collectionName
virtual void Initialize(G4HCofThisEvent *HCE)
Definition of the H02MuonHit class.
Definition of the H02MuonSD class.