#include <Doxymodules_runAndEvent.h>
Definition at line 35 of file Doxymodules_runAndEvent.h.
◆ RE01TrackerSD()
RE01TrackerSD::RE01TrackerSD |
( |
G4String |
name | ) |
|
Definition at line 41 of file RE01TrackerSD.cc.
43{
45 collectionName.insert(HCname="trackerCollection");
46}
RE01TrackerHitsCollection * fTrackerCollection
◆ ~RE01TrackerSD()
RE01TrackerSD::~RE01TrackerSD |
( |
| ) |
|
|
virtual |
◆ Initialize()
Definition at line 52 of file RE01TrackerSD.cc.
53{
54 static int HCID = -1;
56 (SensitiveDetectorName,collectionName[0]);
57 if(HCID<0)
58 { HCID = GetCollectionID(0); }
60}
G4THitsCollection< RE01TrackerHit > RE01TrackerHitsCollection
◆ EndOfEvent()
◆ ProcessHits()
Definition at line 63 of file RE01TrackerSD.cc.
64{
65 G4double edep = aStep->GetTotalEnergyDeposit();
66 if(edep==0.) return false;
67
70 newHit->
SetPos( aStep->GetPreStepPoint()->GetPosition() );
74 { newHit->
SetTrackID( aStep->GetTrack()->GetTrackID() ); }
75 else
78
79 return true;
80}
void SetEdep(G4double de)
void SetPos(G4ThreeVector xyz)
◆ fTrackerCollection
The documentation for this class was generated from the following files: