19#include "BDSPSBLMEnergyDeposit.hh"
21#include "G4StepPoint.hh"
22#include "G4TouchableHistory.hh"
24BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit(
const G4String& name,
26 G4PSEnergyDeposit(name, depth)
29BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit(
const G4String& name,
32 G4PSEnergyDeposit(name, unit, depth)
35BDSPSBLMEnergyDeposit::~BDSPSBLMEnergyDeposit()
40 G4StepPoint* preStep = aStep->GetPreStepPoint();
41 G4TouchableHistory* th = (G4TouchableHistory*)(preStep->GetTouchable());
44 return th->GetReplicaNumber(th->GetHistoryDepth() - 1);
G4int GetIndex(G4Step *aStep) override