32 #include "G4HCofThisEvent.hh"
38 #include "ExN04MuonSD.hh"
39 #include "ExN04MuonHit.hh"
69 if(edep==0.)
return true;
74 for(
int i=0;i<nHit;i++) {
75 aHit = (*muonCollection)[i];
78 +
sqr(pos.
y()-hitpos.
y())+
sqr(pos.
z()-hitpos.
z());
virtual G4int GetCollectionID(G4int i)
static const G4double pos
void Initialize(G4HCofThisEvent *HCE)
void AddEdep(G4double de)
G4StepPoint * GetPreStepPoint() const
void SetEdep(G4double de)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4THitsCollection< ExN04MuonHit > ExN04MuonHitsCollection
G4String SensitiveDetectorName
G4double positionResolution
void insert(G4String str)
const G4ThreeVector & GetPosition() const
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
G4double GetTotalEnergyDeposit() const
ExN04MuonSD(G4String name)
void SetPos(G4ThreeVector xyz)
G4CollectionNameVector collectionName
void EndOfEvent(G4HCofThisEvent *HCE)
static constexpr double cm
ExN04MuonHitsCollection * muonCollection