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