DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Geant4 wrapper for the Geant4 fast simulation shower model. More...
Public Member Functions | |
Geant4ShowerModelWrapper (Geant4FastSimShowerModel *model) | |
Initializing constructor. More... | |
virtual | ~Geant4ShowerModelWrapper ()=default |
Default destructor. More... | |
virtual G4bool | IsApplicable (const G4ParticleDefinition &particle) override |
User callback to determine if the model is applicable for the particle type. More... | |
virtual G4bool | ModelTrigger (const G4FastTrack &track) override |
User callback to determine if the shower creation should be triggered. More... | |
virtual void | DoIt (const G4FastTrack &track, G4FastStep &step) override |
User callback to model the particle/energy shower. More... | |
Private Attributes | |
Geant4FastSimShowerModel * | m_model { nullptr } |
Reference to the model wrapper. More... | |
Geant4 wrapper for the Geant4 fast simulation shower model.
Geant4 wrapper for the Geant4 fast simulation shower model
Definition at line 48 of file Geant4FastSimShowerModel.cpp.
Geant4ShowerModelWrapper::Geant4ShowerModelWrapper | ( | Geant4FastSimShowerModel * | model | ) |
Initializing constructor.
Definition at line 69 of file Geant4FastSimShowerModel.cpp.
|
virtualdefault |
Default destructor.
|
overridevirtual |
User callback to model the particle/energy shower.
Definition at line 85 of file Geant4FastSimShowerModel.cpp.
|
overridevirtual |
User callback to determine if the model is applicable for the particle type.
Definition at line 75 of file Geant4FastSimShowerModel.cpp.
|
overridevirtual |
User callback to determine if the shower creation should be triggered.
Definition at line 80 of file Geant4FastSimShowerModel.cpp.
|
private |
Reference to the model wrapper.
Definition at line 50 of file Geant4FastSimShowerModel.cpp.