33 #include "B4DetectorConstruction.hh" 43 fDetConstruction(detectorConstruction)
61 = step->GetPreStepPoint()->GetTouchableHandle()->GetVolume();
68 if ( step->GetTrack()->GetDefinition()->GetPDGCharge() != 0. ) {
69 stepLength = step->GetStepLength();
76 runData->
Add(
kAbs, edep, stepLength);
80 runData->
Add(
kGap, edep, stepLength);
G4Run * GetNonConstCurrentRun() const
const B4DetectorConstruction * fDetConstruction
Definition of the B4bRunData class.
const G4VPhysicalVolume * GetGapPV() const
void Add(G4int id, G4double de, G4double dl)
virtual ~B4bSteppingAction()
static G4RunManager * GetRunManager()
virtual void UserSteppingAction(const G4Step *step)
const G4VPhysicalVolume * GetAbsorberPV() const
B4bSteppingAction(const B4DetectorConstruction *detectorConstruction)
Definition of the B4bSteppingAction class.