#include <Doxymodules_eventgenerator.h>
◆ ExN04TrackerSD()
ExN04TrackerSD::ExN04TrackerSD |
( |
G4String |
name | ) |
|
Definition at line 38 of file ExN04TrackerSD.cc.
40{
42 collectionName.insert(HCname="trackerCollection");
43}
◆ ~ExN04TrackerSD()
ExN04TrackerSD::~ExN04TrackerSD |
( |
| ) |
|
◆ Initialize()
Definition at line 49 of file ExN04TrackerSD.cc.
50{
51 static int HCID = -1;
53 (SensitiveDetectorName,collectionName[0]);
54 if(HCID<0)
55 { HCID = GetCollectionID(0); }
57}
G4THitsCollection< ExN04TrackerHit > ExN04TrackerHitsCollection
ExN04TrackerHitsCollection * fTrackerCollection
◆ ProcessHits()
Definition at line 60 of file ExN04TrackerSD.cc.
61{
62 G4double edep = aStep->GetTotalEnergyDeposit();
63 if(edep==0.) return false;
64
67 newHit->
SetPos( aStep->GetPreStepPoint()->GetPosition() );
69
70 return true;
71}
void SetPos(G4ThreeVector xyz)
void SetEdep(G4double de)
◆ EndOfEvent()
◆ clear()
void ExN04TrackerSD::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void ExN04TrackerSD::DrawAll |
( |
| ) |
|
|
virtual |
◆ PrintAll()
void ExN04TrackerSD::PrintAll |
( |
| ) |
|
|
virtual |
◆ fTrackerCollection
The documentation for this class was generated from the following files: