34#include "G4HCofThisEvent.hh"
35#include "G4TouchableHistory.hh"
45 collectionName.insert(HCname=
"trackerCollection");
59 (SensitiveDetectorName,collectionName[0]);
61 { HCID = GetCollectionID(0); }
69 G4double edep = aStep->GetTotalEnergyDeposit();
70 if(edep==0.)
return false;
74 newHit->
SetPos( aStep->GetPreStepPoint()->GetPosition() );
Definition of the RE05TrackerHit class.
G4THitsCollection< RE05TrackerHit > RE05TrackerHitsCollection
Definition of the RE05TrackerSD class.
void SetEdep(G4double de)
void SetPos(G4ThreeVector xyz)
RE05TrackerHitsCollection * fTrackerCollection
virtual void Initialize(G4HCofThisEvent *HCE)
RE05TrackerSD(G4String name)
virtual void EndOfEvent(G4HCofThisEvent *HCE)
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)