18#include "BDSPSBLMEnergyDeposit.hh"
20#include "G4StepPoint.hh"
21#include "G4TouchableHistory.hh"
23BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit(
const G4String& name,
25 G4PSEnergyDeposit(name, depth)
28BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit(
const G4String& name,
31 G4PSEnergyDeposit(name, unit, depth)
34BDSPSBLMEnergyDeposit::~BDSPSBLMEnergyDeposit()
39 G4StepPoint* preStep = aStep->GetPreStepPoint();
40 G4TouchableHistory* th = (G4TouchableHistory*)(preStep->GetTouchable());
43 return th->GetReplicaNumber(th->GetHistoryDepth() - 1);
G4int GetIndex(G4Step *aStep) override