34 #include "G4HCofThisEvent.hh" 69 G4double charge = step->GetTrack()->GetDefinition()->GetPDGCharge();
70 if (charge==0.)
return true;
72 G4StepPoint* preStepPoint = step->GetPreStepPoint();
86 hit->
SetTime(preStepPoint->GetGlobalTime());
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
G4String SensitiveDetectorName
G4THitsCollection< B5DriftChamberHit > B5DriftChamberHitsCollection
G4int GetCollectionID(G4String colName)
Definition of the B5DriftChamberSD class.
const G4NavigationHistory * GetHistory() const
virtual ~B5DriftChamberSD()
void SetLocalPos(G4ThreeVector xyz)
void SetWorldPos(G4ThreeVector xyz)
virtual void Initialize(G4HCofThisEvent *HCE)
B5DriftChamberSD(G4String name)
void insert(G4String str)
B5DriftChamberHitsCollection * fHitsCollection
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
static G4SDManager * GetSDMpointer()
virtual G4int GetCopyNo() const =0
const G4AffineTransform & GetTopTransform() const
G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4CollectionNameVector collectionName
Definition of the B5DriftChamberHit class.