Tool for creating regions for fast simulation, attaching sim::FastSimModelTracker to them.
More...
#include <SimG4FastSimTrackerRegion.h>
|
| SimG4FastSimTrackerRegion (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~SimG4FastSimTrackerRegion () |
|
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.
|
|
virtual double | minMom () const final |
| Get the minimum momentum that triggers fast simulation.
|
|
virtual double | maxP () const final |
| Get the maximum momentum that triggers fast simulation.
|
|
virtual double | maxEta () const final |
| Get the maximum pseudorapidity that triggers fast simulation.
|
|
| DeclareInterfaceID (ISimG4RegionTool, 1, 0) |
|
|
ToolHandle< ISimG4ParticleSmearTool > | m_smearTool {"SimG4ParticleSmearSimple", this, true} |
| Pointer to a smearing tool, to retrieve tracker configuration (names of volumes)
|
|
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.
|
|
Gaudi::Property< std::vector< std::string > > | m_volumeNames {this, "volumeNames", {}, "Names of the parametrised volumes"} |
| Names of the parametrised volumes (set by job options)
|
|
Gaudi::Property< double > | m_minMomentum {this, "minMomentum", 0, "minimum momentum that triggers the fast sim model"} |
| minimum momentum that triggers the fast sim model (set by job options)
|
|
Gaudi::Property< double > | m_maxMomentum {this, "maxMomentum", 0, "maximum momentum that triggers the fast sim model"} |
| maximum momentum that triggers the fast sim model (set by job options)
|
|
Gaudi::Property< double > | m_maxEta {this, "maxEta", 0, "maximum pseudorapidity"} |
| maximum pseudorapidity (set by job options)
|
|
Tool for creating regions for fast simulation, attaching sim::FastSimModelTracker to them.
Regions are created for volumes specified in the job options ('volumeNames'). User may define in job options the momentum range ('minP', 'maxP') and the maximum pseudorapidity ('maxEta') for which the fast simulation is triggered (for other particles full simulation is performed). For more information please see.
- Author
- Anna Zaborowska
◆ SimG4FastSimTrackerRegion()
SimG4FastSimTrackerRegion::SimG4FastSimTrackerRegion |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
|
explicit |
◆ ~SimG4FastSimTrackerRegion()
SimG4FastSimTrackerRegion::~SimG4FastSimTrackerRegion |
( |
| ) |
|
|
virtual |
◆ create()
StatusCode SimG4FastSimTrackerRegion::create |
( |
| ) |
|
|
finalvirtual |
Create regions and fast simulation models.
- Returns
- status code
all G4Region objects are deleted by the G4RegionStore
Implements ISimG4RegionTool.
◆ finalize()
StatusCode SimG4FastSimTrackerRegion::finalize |
( |
| ) |
|
|
finalvirtual |
Finalize.
- Returns
- status code
◆ initialize()
StatusCode SimG4FastSimTrackerRegion::initialize |
( |
| ) |
|
|
finalvirtual |
Initialize.
- Returns
- status code
◆ maxEta()
virtual double SimG4FastSimTrackerRegion::maxEta |
( |
| ) |
const |
|
inlinefinalvirtual |
Get the maximum pseudorapidity that triggers fast simulation.
- Returns
- maximum eta
◆ maxP()
virtual double SimG4FastSimTrackerRegion::maxP |
( |
| ) |
const |
|
inlinefinalvirtual |
Get the maximum momentum that triggers fast simulation.
- Returns
- maximum momentum
◆ minMom()
virtual double SimG4FastSimTrackerRegion::minMom |
( |
| ) |
const |
|
inlinefinalvirtual |
Get the minimum momentum that triggers fast simulation.
- Returns
- minimum momentum
◆ volumeNames()
virtual const std::vector< std::string > & SimG4FastSimTrackerRegion::volumeNames |
( |
| ) |
const |
|
inlinefinalvirtual |
Get the names of the volumes where fast simulation should be performed.
- Returns
- vector of volume names
◆ m_g4regions
std::vector<G4Region*> SimG4FastSimTrackerRegion::m_g4regions |
|
private |
Envelopes that are used in a parametric simulation deleted by the G4RegionStore.
◆ m_maxEta
Gaudi::Property<double> SimG4FastSimTrackerRegion::m_maxEta {this, "maxEta", 0, "maximum pseudorapidity"} |
|
private |
maximum pseudorapidity (set by job options)
◆ m_maxMomentum
Gaudi::Property<double> SimG4FastSimTrackerRegion::m_maxMomentum {this, "maxMomentum", 0, "maximum momentum that triggers the fast sim model"} |
|
private |
maximum momentum that triggers the fast sim model (set by job options)
◆ m_minMomentum
Gaudi::Property<double> SimG4FastSimTrackerRegion::m_minMomentum {this, "minMomentum", 0, "minimum momentum that triggers the fast sim model"} |
|
private |
minimum momentum that triggers the fast sim model (set by job options)
◆ m_models
std::vector<std::unique_ptr<G4VFastSimulationModel> > SimG4FastSimTrackerRegion::m_models |
|
private |
Fast simulation (parametrisation) models.
◆ m_smearTool
ToolHandle<ISimG4ParticleSmearTool> SimG4FastSimTrackerRegion::m_smearTool {"SimG4ParticleSmearSimple", this, true} |
|
private |
Pointer to a smearing tool, to retrieve tracker configuration (names of volumes)
◆ m_volumeNames
Gaudi::Property<std::vector<std::string> > SimG4FastSimTrackerRegion::m_volumeNames {this, "volumeNames", {}, "Names of the parametrised volumes"} |
|
private |
Names of the parametrised volumes (set by job options)
The documentation for this class was generated from the following files: