31 #include "B2TrackerSD.hh"
32 #include "G4HCofThisEvent.hh"
77 if (edep==0.)
return false;
101 <<
"-------->Hits Collection: in this event they are " << nofHits
102 <<
" hits in the tracker chambers: " <<
G4endl;
G4int GetCollectionID(G4String colName)
void SetTrackID(G4int track)
void SetEdep(G4double de)
B2TrackerHitsCollection * fHitsCollection
G4StepPoint * GetPreStepPoint() const
G4THitsCollection< B2TrackerHit > B2TrackerHitsCollection
virtual void Initialize(G4HCofThisEvent *hitCollection)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4String SensitiveDetectorName
const G4TouchableHandle & GetTouchableHandle() const
B2TrackerSD(const G4String &name, const G4String &hitsCollectionName)
void insert(G4String str)
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
G4double GetTotalEnergyDeposit() const
virtual void EndOfEvent(G4HCofThisEvent *hitCollection)
G4StepPoint * GetPostStepPoint() const
G4int GetCopyNumber(G4int depth=0) const
virtual G4bool ProcessHits(G4Step *step, G4TouchableHistory *history)
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4GLOB_DLL std::ostream G4cout
void SetPos(G4ThreeVector xyz)
void SetChamberNb(G4int chamb)