30#include "SteppingAction.hh"
31#include "EventAction.hh"
32#include "DetectorConstruction.hh"
35#include "G4RunManager.hh"
46 : fDetConstruction(detConstruction),
47 fEventAction(eventAction)
57 auto volume = step->GetPreStepPoint()->GetTouchableHandle()->GetVolume();
60 auto edep = step->GetTotalEnergyDeposit();
63 G4double stepLength = 0.;
64 if ( step->GetTrack()->GetDefinition()->GetPDGCharge() != 0. ) {
65 stepLength = step->GetStepLength();
Detector construction class to define materials and geometry.
const G4VPhysicalVolume * GetAbsorberPV() const
const G4VPhysicalVolume * GetGapPV() const
void AddAbs(G4double de, G4double dl)
void AddGap(G4double de, G4double dl)
EventAction * fEventAction
const B4::DetectorConstruction * fDetConstruction
void UserSteppingAction(const G4Step *step) override
SteppingAction(const B4::DetectorConstruction *detConstruction, EventAction *eventAction)