k4SimGeant4
Loading...
Searching...
No Matches
SimG4FastSimCalorimeterRegion Class Reference

SimG4FastSimCalorimeterRegion.h. More...

#include <SimG4Fast/src/components/SimG4FastSimCalorimeterRegion.h>

Inheritance diagram for SimG4FastSimCalorimeterRegion:
Collaboration diagram for SimG4FastSimCalorimeterRegion:

Public Member Functions

 SimG4FastSimCalorimeterRegion (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~SimG4FastSimCalorimeterRegion ()
 
virtual StatusCode initialize () final
 Initialize.
 
virtual StatusCode finalize () final
 Finalize.
 
virtual StatusCode create () final
 Create regions and fast simulation models.
 
virtual const std::vector< std::string > & volumeNames () const final
 Get the names of the volumes where fast simulation should be performed.
 
- Public Member Functions inherited from ISimG4RegionTool
 DeclareInterfaceID (ISimG4RegionTool, 1, 0)
 

Private Attributes

ToolHandle< ISimG4GflashToolm_parametrisationTool {"SimG4GflashHomo", this, true}
 Pointer to a parametrisation tool, to retrieve calorimeter parametrisation.
 
std::vector< G4Region * > m_g4regions
 Envelopes that are used in a parametric simulation deleted by the G4RegionStore.
 
std::vector< std::unique_ptr< G4VFastSimulationModel > > m_models
 Fast simulation (parametrisation) models.
 
std::unique_ptr< GVFlashShowerParameterisation > m_parametrisation {nullptr}
 GFlash model parametrisation (retrieved from the m_parametrisationTool)
 
std::unique_ptr< GFlashParticleBounds > m_particleBounds {nullptr}
 GFlash model configuration.
 
std::unique_ptr< GFlashHitMaker > m_hitMaker {nullptr}
 GFlash hit maker.
 
Gaudi::Property< std::vector< std::string > > m_volumeNames
 Names of the parametrised volumes (set by job options)
 
Gaudi::Property< double > m_minTriggerEnergy
 minimum energy of the electron (positron) that triggers the model
 
Gaudi::Property< double > m_maxTriggerEnergy
 maximum energy of the electron (positron) that triggers the model
 
Gaudi::Property< double > m_energyToKill
 threshold below which the electrons (positrons) are killed
 

Detailed Description

SimG4FastSimCalorimeterRegion.h.

Tool for creating regions for fast simulation, attaching GFlashModel to them. Regions are created for volumes specified in the job options ('volumeNames'). Details on the parametrisation of shower profiles is set by tool 'parametrisation' For more information please see.

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ SimG4FastSimCalorimeterRegion()

SimG4FastSimCalorimeterRegion::SimG4FastSimCalorimeterRegion ( const std::string & type,
const std::string & name,
const IInterface * parent )
explicit

◆ ~SimG4FastSimCalorimeterRegion()

SimG4FastSimCalorimeterRegion::~SimG4FastSimCalorimeterRegion ( )
virtual

Member Function Documentation

◆ create()

StatusCode SimG4FastSimCalorimeterRegion::create ( )
finalvirtual

Create regions and fast simulation models.

Returns
status code

all G4Region objects are deleted by the G4RegionStore

Implements ISimG4RegionTool.

◆ finalize()

StatusCode SimG4FastSimCalorimeterRegion::finalize ( )
finalvirtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4FastSimCalorimeterRegion::initialize ( )
finalvirtual

Initialize.

Returns
status code

◆ volumeNames()

virtual const std::vector< std::string > & SimG4FastSimCalorimeterRegion::volumeNames ( ) const
inlinefinalvirtual

Get the names of the volumes where fast simulation should be performed.

Returns
vector of volume names

Member Data Documentation

◆ m_energyToKill

Gaudi::Property<double> SimG4FastSimCalorimeterRegion::m_energyToKill
private
Initial value:
{this, "minEnergy", 0.1 * Gaudi::Units::GeV,
"threshold below which the electrons (positrons) are killed"}

threshold below which the electrons (positrons) are killed

◆ m_g4regions

std::vector<G4Region*> SimG4FastSimCalorimeterRegion::m_g4regions
private

Envelopes that are used in a parametric simulation deleted by the G4RegionStore.

◆ m_hitMaker

std::unique_ptr<GFlashHitMaker> SimG4FastSimCalorimeterRegion::m_hitMaker {nullptr}
private

GFlash hit maker.

◆ m_maxTriggerEnergy

Gaudi::Property<double> SimG4FastSimCalorimeterRegion::m_maxTriggerEnergy
private
Initial value:
{this, "minEnergy", 10 * Gaudi::Units::TeV,
"maximum energy of the electron (positron) that triggers the model"}

maximum energy of the electron (positron) that triggers the model

◆ m_minTriggerEnergy

Gaudi::Property<double> SimG4FastSimCalorimeterRegion::m_minTriggerEnergy
private
Initial value:
{this, "minEnergy", 0.1 * Gaudi::Units::GeV,
"minimum energy of the electron (positron) that triggers the model"}

minimum energy of the electron (positron) that triggers the model

◆ m_models

std::vector<std::unique_ptr<G4VFastSimulationModel> > SimG4FastSimCalorimeterRegion::m_models
private

Fast simulation (parametrisation) models.

◆ m_parametrisation

std::unique_ptr<GVFlashShowerParameterisation> SimG4FastSimCalorimeterRegion::m_parametrisation {nullptr}
private

GFlash model parametrisation (retrieved from the m_parametrisationTool)

◆ m_parametrisationTool

ToolHandle<ISimG4GflashTool> SimG4FastSimCalorimeterRegion::m_parametrisationTool {"SimG4GflashHomo", this, true}
private

Pointer to a parametrisation tool, to retrieve calorimeter parametrisation.

◆ m_particleBounds

std::unique_ptr<GFlashParticleBounds> SimG4FastSimCalorimeterRegion::m_particleBounds {nullptr}
private

GFlash model configuration.

◆ m_volumeNames

Gaudi::Property<std::vector<std::string> > SimG4FastSimCalorimeterRegion::m_volumeNames
private
Initial value:
{
this, "volumeNames", {}, "Names of the parametrised volumes (set by job options)"}

Names of the parametrised volumes (set by job options)


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