DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::sim::Geant4ShowerModelWrapper Class Reference

Geant4 wrapper for the Geant4 fast simulation shower model. More...

Inheritance diagram for dd4hep::sim::Geant4ShowerModelWrapper:

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

Geant4FastSimShowerModelm_model { nullptr }
 Reference to the model wrapper. More...
 

Detailed Description

Geant4 wrapper for the Geant4 fast simulation shower model.

Geant4 wrapper for the Geant4 fast simulation shower model

Author
M.Frank
Version
1.0

Definition at line 48 of file Geant4FastSimShowerModel.cpp.

Constructor & Destructor Documentation

◆ Geant4ShowerModelWrapper()

Geant4ShowerModelWrapper::Geant4ShowerModelWrapper ( Geant4FastSimShowerModel model)

Initializing constructor.

Definition at line 69 of file Geant4FastSimShowerModel.cpp.

◆ ~Geant4ShowerModelWrapper()

virtual dd4hep::sim::Geant4ShowerModelWrapper::~Geant4ShowerModelWrapper ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ DoIt()

void Geant4ShowerModelWrapper::DoIt ( const G4FastTrack &  track,
G4FastStep &  step 
)
overridevirtual

User callback to model the particle/energy shower.

Definition at line 85 of file Geant4FastSimShowerModel.cpp.

◆ IsApplicable()

G4bool Geant4ShowerModelWrapper::IsApplicable ( const G4ParticleDefinition &  particle)
overridevirtual

User callback to determine if the model is applicable for the particle type.

Definition at line 75 of file Geant4FastSimShowerModel.cpp.

◆ ModelTrigger()

G4bool Geant4ShowerModelWrapper::ModelTrigger ( const G4FastTrack &  track)
overridevirtual

User callback to determine if the shower creation should be triggered.

Definition at line 80 of file Geant4FastSimShowerModel.cpp.

Member Data Documentation

◆ m_model

Geant4FastSimShowerModel* dd4hep::sim::Geant4ShowerModelWrapper::m_model { nullptr }
private

Reference to the model wrapper.

Definition at line 50 of file Geant4FastSimShowerModel.cpp.


The documentation for this class was generated from the following file: