31 #include "G4HCofThisEvent.hh"
41 #include "AnalysisManager.hh"
60 static G4int HCID = -1;
76 if (edep == 0.)
return false;
105 <<
"Hits Collection: in this event they are " << NbHits
106 <<
" hits in the tracker chambers: " <<
G4endl;
119 for (
G4int i=0; i<NbHits; i++)
121 (*trackerCollection)[i]->PrintToFile();
122 eTot += (*trackerCollection)[i]->GetEdep();
G4int GetCollectionID(G4String colName)
void SetPos(G4ThreeVector xyz)
void EndOfEvent(G4HCofThisEvent *)
eRositaTrackerHitsCollection * trackerCollection
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4StepPoint * GetPreStepPoint() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4String SensitiveDetectorName
G4ParticleDefinition * GetDefinition() const
void insert(G4String str)
void Initialize(G4HCofThisEvent *)
const G4ThreeVector & GetPosition() const
G4THitsCollection< eRositaTrackerHit > eRositaTrackerHitsCollection
G4Track * GetTrack() const
G4StepPoint * GetPostStepPoint() const
G4double GetKineticEnergy() const
static G4Gamma * GammaDefinition()
static G4SDManager * GetSDMpointer()
void SetTrackID(G4int track)
G4CollectionNameVector collectionName
eRositaTrackerSD(G4String)
G4GLOB_DLL std::ostream G4cout
void SetEdep(G4double de)