MyTrackerSDAction.cpp
Go to the documentation of this file.
58 template <> bool Geant4SensitiveAction<MyTrackerSD>::process(G4Step* step,G4TouchableHistory* /*hist*/ ) {
67 MyTrackerSD::Hit* hit = new MyTrackerSD::Hit(h.trkID(), h.trkPdgID(), h.deposit(), h.track->GetGlobalTime());
double integratedDeposit
Definition: MyTrackerSDAction.cpp:28
Sensitive detector meant for tracking detectors, will produce one hit per step.
Geant4SensitiveAction< MyTrackerSD > MyTrackerSDAction
Definition: MyTrackerSDAction.cpp:97