33 #include "B4DetectorConstruction.hh"
44 fDetConstruction(detectorConstruction),
45 fEventAction(eventAction)
75 fEventAction->
AddAbs(edep,stepLength);
78 if ( volume == fDetConstruction->
GetGapPV() ) {
79 fEventAction->
AddGap(edep,stepLength);
G4ParticleDefinition * GetDefinition() const
G4double GetStepLength() const
virtual ~B4aSteppingAction()
G4StepPoint * GetPreStepPoint() const
virtual void UserSteppingAction(const G4Step *step)
const G4VPhysicalVolume * GetGapPV() const
const G4VPhysicalVolume * GetAbsorberPV() const
Definition of the B4aEventAction class.
G4double GetTotalEnergyDeposit() const
void AddGap(G4double de, G4double dl)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
void AddAbs(G4double de, G4double dl)
B4aSteppingAction(const B4DetectorConstruction *detectorConstruction, B4aEventAction *eventAction)
G4Track * GetTrack() const
G4double GetPDGCharge() const
Definition of the B4aSteppingAction class.
const G4TouchableHandle & GetTouchableHandle() const