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

Tool for creating regions for fast simulation, attaching sim::FastSimModelTracker to them. More...

#include <SimG4Full/src/components/SimG4FullSimDCHRegion.h>

Inheritance diagram for SimG4FullSimDCHRegion:
Collaboration diagram for SimG4FullSimDCHRegion:

Public Member Functions

 SimG4FullSimDCHRegion (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~SimG4FullSimDCHRegion ()
 
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

std::vector< G4Region * > m_g4regions
 Envelopes that are used in a parametric simulation deleted by the G4RegionStore.
 
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_maxStepLength {this, "max_step_length", 0, "Step length for the region."}
 
G4UserLimits * fStepLimit {nullptr}
 

Detailed Description

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
nalipour

Constructor & Destructor Documentation

◆ SimG4FullSimDCHRegion()

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

◆ ~SimG4FullSimDCHRegion()

SimG4FullSimDCHRegion::~SimG4FullSimDCHRegion ( )
virtual

Member Function Documentation

◆ create()

StatusCode SimG4FullSimDCHRegion::create ( )
finalvirtual

Create regions and fast simulation models.

Returns
status code

all G4Region objects are deleted by the G4RegionStore

Implements ISimG4RegionTool.

◆ finalize()

StatusCode SimG4FullSimDCHRegion::finalize ( )
finalvirtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4FullSimDCHRegion::initialize ( )
finalvirtual

Initialize.

Returns
status code

◆ volumeNames()

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

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

Returns
vector of volume names

Member Data Documentation

◆ fStepLimit

G4UserLimits* SimG4FullSimDCHRegion::fStepLimit {nullptr}
private

◆ m_g4regions

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

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

◆ m_maxStepLength

Gaudi::Property<double> SimG4FullSimDCHRegion::m_maxStepLength {this, "max_step_length", 0, "Step length for the region."}
private

◆ m_volumeNames

Gaudi::Property<std::vector<std::string> > SimG4FullSimDCHRegion::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: