![]() |
ATLAS Offline Software
|
NEEDS DOCUMENTATION. More...
#include <LArFastShowerTool.h>
Public Member Functions | |
LArFastShowerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Default constructor. More... | |
virtual | ~LArFastShowerTool ()=default |
StatusCode | initialize () override final |
StatusCode | initializeFastSim () override |
Construct and setup the fast simulation model. More... | |
virtual StatusCode | BeginOfAthenaEvent () override |
Begin of an athena event - do anything that needs to be done at the beginning of each athena event. More... | |
virtual StatusCode | EndOfAthenaEvent () override |
End of an athena event - do any tidying up required at the end of each athena event. More... | |
Protected Member Functions | |
virtual G4VFastSimulationModel * | makeFastSimModel () override final |
Method to make the actual fast simulation model itself, which will be owned by the tool. More... | |
G4VFastSimulationModel * | getFastSimModel () |
Retrieve the current Fast Simulation Model. More... | |
G4Region * | getRegion () const |
Protected Attributes | |
Gaudi::Property< std::string > | m_regionName {this, "RegionName", ""} |
The region to which this fast sim is assigned. More... | |
Gaudi::Property< bool > | m_noRegions {this, "NoRegions", false} |
This Fast Simulation has no regions associated with it. More... | |
Private Member Functions | |
void | setFastSimModel (G4VFastSimulationModel *) |
Set the current model. In hive, this gets assigned as the thread-local model. More... | |
void | deleteFastSimModel () |
Delete the current model. More... | |
Private Attributes | |
Gaudi::Property< std::string > | m_fastSimDedicatedSD |
Shower library sensitive detector for this shower. More... | |
ServiceHandle< ILArG4ShowerLibSvc > | m_showerLibSvc |
Pointer to the shower library service. More... | |
Gaudi::Property< bool > | m_e_FlagShowerLib {this, "EFlagToShowerLib", true, "Switch for e+/- frozen showers"} |
Gaudi::Property< double > | m_e_MinEneShowerLib {this, "EMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for e+/- frozen showers"} |
Gaudi::Property< double > | m_e_MaxEneShowerLib {this, "EMaxEneShowerLib", 1.0*CLHEP::GeV, "Maximum energy for e+/- frozen showers"} |
Gaudi::Property< bool > | m_g_FlagShowerLib {this, "GFlagToShowerLib", true, "Switch for photon frozen showers"} |
Gaudi::Property< double > | m_g_MinEneShowerLib {this, "GMinEneShowerLib", 0.*CLHEP::GeV, "Minimum energy for photon frozen showers"} |
Gaudi::Property< double > | m_g_MaxEneShowerLib {this, "GMaxEneShowerLib", 0.010*CLHEP::GeV, "Maximum energy for photon frozen showers"} |
Gaudi::Property< bool > | m_Neut_FlagShowerLib {this, "NeutFlagToShowerLib", true, "Switch for neutron frozen showers"} |
Gaudi::Property< double > | m_Neut_MinEneShowerLib {this, "NeutMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"} |
Gaudi::Property< double > | m_Neut_MaxEneShowerLib {this, "NeutMaxEneShowerLib", 0.1*CLHEP::GeV, "Maximum energy for neutron frozen showers"} |
Gaudi::Property< bool > | m_Pion_FlagShowerLib {this, "PionFlagToShowerLib", true, "Switch for neutron frozen showers"} |
Gaudi::Property< double > | m_Pion_MinEneShowerLib {this, "PionMinEneShowerLib", 0.0*CLHEP::GeV, "Minimum energy for neutron frozen showers"} |
Gaudi::Property< double > | m_Pion_MaxEneShowerLib {this, "PionMaxEneShowerLib", 2.0*CLHEP::GeV, "Maximum energy for neutron frozen showers"} |
Gaudi::Property< bool > | m_containLow {this, "ContainLow", true, "Switch for containment at low eta"} |
Gaudi::Property< double > | m_absLowEta {this, "AbsLowEta", 3.8, ""} |
Gaudi::Property< bool > | m_containHigh {this, "ContainHigh", true, "Switch for containment at high eta"} |
Gaudi::Property< double > | m_absHighEta {this, "AbsHighEta", 4.4, ""} |
Gaudi::Property< bool > | m_containCrack {this, "ContainCrack", true, "Switch for containment in the crack region"} |
Gaudi::Property< double > | m_absCrackEta1 {this, "AbsCrackEta1", 0.5, ""} |
Gaudi::Property< double > | m_absCrackEta2 {this, "AbsCrackEta2", 1.1, ""} |
Gaudi::Property< std::string > | m_generated_starting_points_file |
Gaudi::Property< float > | m_generated_starting_points_ratio |
Gaudi::Property< int > | m_detector_tag {this, "DetectorTag", 0, "Which detector is this?"} |
Gaudi::Property< bool > | m_applyRRWeights |
FastShowerConfigStruct | m_configuration |
G4VFastSimulationModel * | m_FastSimModel {} |
The Fast Simulation Model to which this thing corresponds. More... | |
NEEDS DOCUMENTATION.
Definition at line 20 of file LArFastShowerTool.h.
LArFastShowerTool::LArFastShowerTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Default constructor.
Definition at line 12 of file LArFastShowerTool.cxx.
|
virtualdefault |
|
inlineoverridevirtualinherited |
Begin of an athena event - do anything that needs to be done at the beginning of each athena event.
Reimplemented in FastCaloSimTool.
Definition at line 42 of file FastSimulationBase.h.
|
privateinherited |
|
inlineoverridevirtualinherited |
End of an athena event - do any tidying up required at the end of each athena event.
Reimplemented in FastCaloSimTool.
Definition at line 45 of file FastSimulationBase.h.
|
protectedinherited |
Retrieve the current Fast Simulation Model.
In MT, this means the thread-local Fast Simulation Model. Otherwise, it is simply the single Fast Simulation Model.
Definition at line 52 of file FastSimulationBase.cxx.
|
protectedinherited |
Definition at line 22 of file FastSimulationBase.cxx.
|
finaloverride |
Definition at line 19 of file LArFastShowerTool.cxx.
|
overrideinherited |
Construct and setup the fast simulation model.
This method invokes the makeFastSimModel of the derived concrete tool type and assigns the configured regions. Errors are reported if regions are missing. In multi-threading jobs, this method is called once per worker thread.
Definition at line 32 of file FastSimulationBase.cxx.
|
finaloverrideprotectedvirtual |
Method to make the actual fast simulation model itself, which will be owned by the tool.
Must be implemented in all concrete base classes.
Definition at line 58 of file LArFastShowerTool.cxx.
|
privateinherited |
Set the current model. In hive, this gets assigned as the thread-local model.
Definition at line 66 of file FastSimulationBase.cxx.
|
private |
Definition at line 63 of file LArFastShowerTool.h.
|
private |
Definition at line 64 of file LArFastShowerTool.h.
|
private |
Definition at line 61 of file LArFastShowerTool.h.
|
private |
Definition at line 59 of file LArFastShowerTool.h.
|
private |
Definition at line 72 of file LArFastShowerTool.h.
|
private |
Definition at line 75 of file LArFastShowerTool.h.
|
private |
Definition at line 62 of file LArFastShowerTool.h.
|
private |
Definition at line 60 of file LArFastShowerTool.h.
|
private |
Definition at line 58 of file LArFastShowerTool.h.
|
private |
Definition at line 70 of file LArFastShowerTool.h.
|
private |
Definition at line 42 of file LArFastShowerTool.h.
|
private |
Definition at line 44 of file LArFastShowerTool.h.
|
private |
Definition at line 43 of file LArFastShowerTool.h.
|
private |
Shower library sensitive detector for this shower.
Definition at line 37 of file LArFastShowerTool.h.
|
privateinherited |
The Fast Simulation Model to which this thing corresponds.
Definition at line 78 of file FastSimulationBase.h.
|
private |
Definition at line 46 of file LArFastShowerTool.h.
|
private |
Definition at line 48 of file LArFastShowerTool.h.
|
private |
Definition at line 47 of file LArFastShowerTool.h.
|
private |
Definition at line 66 of file LArFastShowerTool.h.
|
private |
Definition at line 68 of file LArFastShowerTool.h.
|
private |
Definition at line 50 of file LArFastShowerTool.h.
|
private |
Definition at line 52 of file LArFastShowerTool.h.
|
private |
Definition at line 51 of file LArFastShowerTool.h.
|
protectedinherited |
This Fast Simulation has no regions associated with it.
Definition at line 59 of file FastSimulationBase.h.
|
private |
Definition at line 54 of file LArFastShowerTool.h.
|
private |
Definition at line 56 of file LArFastShowerTool.h.
|
private |
Definition at line 55 of file LArFastShowerTool.h.
|
protectedinherited |
The region to which this fast sim is assigned.
Definition at line 57 of file FastSimulationBase.h.
|
private |
Pointer to the shower library service.
Definition at line 39 of file LArFastShowerTool.h.