33 #include "G4HCofThisEvent.hh"
57 static G4int HCID = -1;
70 if(edep==0.) {
return false; }
78 fTrackerCollection->
insert( newHit );
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();
G4String SensitiveDetectorName
Definition of the ExTGTrackerSD class.
G4int GetCollectionID(G4String colName)
void SetPos(G4ThreeVector xyz)
G4int GetCopyNumber(G4int depth=0) const
G4THitsCollection< ExTGTrackerHit > ExTGTrackerHitsCollection
G4StepPoint * GetPreStepPoint() const
void EndOfEvent(G4HCofThisEvent *)
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
const G4ThreeVector & GetPosition() const
void Initialize(G4HCofThisEvent *)
G4double GetTotalEnergyDeposit() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4StepPoint * GetPostStepPoint() const
static G4SDManager * GetSDMpointer()
void SetEdep(G4double de)
void SetTrackID(G4int track)
G4CollectionNameVector collectionName
void SetChamberNb(G4int chamb)
G4Track * GetTrack() const
const G4TouchableHandle & GetTouchableHandle() const