BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Primitive scorer for energy deposition in BLMs. More...
#include <BDSPSBLMEnergyDeposit.hh>
Public Member Functions | |
BDSPSBLMEnergyDeposit (const G4String &name, G4int depth=0) | |
BDSPSBLMEnergyDeposit (const G4String &name, const G4String &unit, G4int depth=0) | |
G4int | GetIndex (G4Step *aStep) override |
Primitive scorer for energy deposition in BLMs.
The class inherits BDSPSBLMEnergyDeposition and ensures that the copy number for the volume is obtained from the top-most BLM geometry volume. This enables hit mapping even for complex BLM geometries such as GDML models.
Definition at line 37 of file BDSPSBLMEnergyDeposit.hh.
BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit | ( | const G4String & | name, |
G4int | depth = 0 |
||
) |
Definition at line 24 of file BDSPSBLMEnergyDeposit.cc.
BDSPSBLMEnergyDeposit::BDSPSBLMEnergyDeposit | ( | const G4String & | name, |
const G4String & | unit, | ||
G4int | depth = 0 |
||
) |
Definition at line 29 of file BDSPSBLMEnergyDeposit.cc.
|
virtual |
Definition at line 35 of file BDSPSBLMEnergyDeposit.cc.
|
override |
Get the copy number from the outermost volume in the geometry Works for both single-solid BLMs and complex GDML models
Definition at line 38 of file BDSPSBLMEnergyDeposit.cc.