36 #include "G4HCofThisEvent.hh"
61 static G4int HCID = -1;
73 if(edep==0.)
return false;
81 trackerCollection->
insert( newHit );
95 G4cout <<
"\n-------->Hits Collection: in this event they are " << NbHits
96 <<
" hits in the tracker chambers: " <<
G4endl;
97 for (
G4int i=0;i<NbHits;i++) (*trackerCollection)[i]->Print();
G4String SensitiveDetectorName
G4int GetCollectionID(G4String colName)
G4int GetCopyNumber(G4int depth=0) const
G4StepPoint * GetPreStepPoint() const
void Initialize(G4HCofThisEvent *)
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
const G4ThreeVector & GetPosition() const
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4double GetTotalEnergyDeposit() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void SetPos(G4ThreeVector xyz)
void EndOfEvent(G4HCofThisEvent *)
void SetTrackID(G4int track)
G4THitsCollection< ExN02TrackerHit > ExN02TrackerHitsCollection
G4StepPoint * GetPostStepPoint() const
static G4SDManager * GetSDMpointer()
void SetEdep(G4double de)
void SetChamberNb(G4int chamb)
G4CollectionNameVector collectionName
G4Track * GetTrack() const
const G4TouchableHandle & GetTouchableHandle() const