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 destructor. More... | |
StatusCode | initialize () override final |
StatusCode | EndOfAthenaEvent () override final |
End of an athena event - do any tidying up required at the end of each athena event. More... | |
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... | |
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... | |
Protected Attributes | |
Gaudi::Property< std::vector< std::string > > | m_regionNames {this, "RegionNames", {}} |
All the regions 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 | |
std::string | m_fastSimDedicatedSD |
Shower library sensitive detector for this shower. More... | |
ServiceHandle< ILArG4ShowerLibSvc > | m_showerLibSvc |
Pointer to the shower library service. More... | |
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.
|
inlinevirtual |
Default destructor.
Definition at line 26 of file LArFastShowerTool.h.
|
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 41 of file FastSimulationBase.h.
|
privateinherited |
|
finaloverridevirtual |
End of an athena event - do any tidying up required at the end of each athena event.
Reimplemented from FastSimulationBase.
Definition at line 83 of file LArFastShowerTool.cxx.
|
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 73 of file FastSimulationBase.cxx.
|
finaloverride |
Definition at line 53 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 23 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 60 of file LArFastShowerTool.cxx.
|
privateinherited |
Set the current model. In hive, this gets assigned as the thread-local model.
Definition at line 87 of file FastSimulationBase.cxx.
|
private |
Definition at line 41 of file LArFastShowerTool.h.
|
private |
Shower library sensitive detector for this shower.
Definition at line 39 of file LArFastShowerTool.h.
|
privateinherited |
The Fast Simulation Model to which this thing corresponds.
Definition at line 74 of file FastSimulationBase.h.
|
protectedinherited |
This Fast Simulation has no regions associated with it.
Definition at line 55 of file FastSimulationBase.h.
|
protectedinherited |
All the regions to which this fast sim is assigned.
Definition at line 53 of file FastSimulationBase.h.
|
private |
Pointer to the shower library service.
Definition at line 40 of file LArFastShowerTool.h.