33 #include "G4HCofThisEvent.hh"
57 static G4int HCID = -1;
70 if(edep==0.) {
return false; }
90 G4cout <<
"\n-------->Hits Collection: in this event there are " << NbHits
91 <<
" hits in the tracker chambers: " <<
G4endl;
92 for (
G4int i=0;i<NbHits;i++)
94 (*fTrackerCollection)[i]->Print();
ExTGTrackerHitsCollection * fTrackerCollection
G4int GetCollectionID(G4String colName)
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4StepPoint * GetPreStepPoint() const
void SetPos(G4ThreeVector xyz)
Definition of the ExTGTrackerSD class.
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4String SensitiveDetectorName
const G4TouchableHandle & GetTouchableHandle() const
void Initialize(G4HCofThisEvent *)
void insert(G4String str)
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const
G4int GetCopyNumber(G4int depth=0) const
void SetChamberNb(G4int chamb)
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4THitsCollection< ExTGTrackerHit > ExTGTrackerHitsCollection
void EndOfEvent(G4HCofThisEvent *)
G4GLOB_DLL std::ostream G4cout
void SetEdep(G4double de)
void SetTrackID(G4int track)