46 #include "SteppingAction.hh"
49 #include "HistoManager.hh"
68 if(edep == 0.) {
return; }
73 G4int volumeIndex = -1;
80 if(name ==
"Ecal") { volumeIndex = 0; }
81 else if(name ==
"Abs1") { volumeIndex = 1; }
82 else if(name ==
"Abs2") { volumeIndex = 2; }
83 else if(name ==
"Abs3") { volumeIndex = 3; }
84 else if(name ==
"Abs4") { volumeIndex = 4; }
85 else if(name ==
"Vert") { volumeIndex = 5; }
87 if(volumeIndex>=0) { fHisto->
AddEnergy(edep, volumeIndex, copyNo); }
void AddEnergy(G4double edep, const G4Step *)
void UserSteppingAction(const G4Step *)
G4StepPoint * GetPreStepPoint() const
G4VPhysicalVolume * GetPhysicalVolume() const
G4double GetTotalEnergyDeposit() const
G4LogicalVolume * GetLogicalVolume() const
virtual G4int GetCopyNo() const =0
G4double GetWeight() const
G4Track * GetTrack() const