![]() |
ATLAS Offline Software
|
#include <NeutronFastSimTool.h>
Public Member Functions | |
| NeutronFastSimTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| ~NeutronFastSimTool () | |
| StatusCode | initializeFastSim () override |
| Construct and setup the fast simulation model. | |
| virtual StatusCode | BeginOfAthenaEvent (HitCollectionMap &) override |
| Begin of an athena event - do anything that needs to be done at the beginning of each athena event. | |
| virtual StatusCode | EndOfAthenaEvent (HitCollectionMap &) override |
| End of an athena event - do any tidying up required at the end of each athena event. | |
Protected Member Functions | |
| virtual G4VFastSimulationModel * | makeFastSimModel () override final |
| Method to make the actual fast simulation model itself, which will be owned by the tool. | |
| G4Region * | getRegion () const |
Protected Attributes | |
| Gaudi::Property< std::string > | m_regionName {this, "RegionName", ""} |
| The region to which this fast sim is assigned. | |
| Gaudi::Property< bool > | m_noRegions {this, "NoRegions", false} |
| This Fast Simulation has no regions associated with it. | |
Private Attributes | |
| std::string | m_trackFastSimSDName |
| double | m_etaCut |
| double | m_timeCut |
| !< Eta cut for primaries | |
Definition at line 14 of file NeutronFastSimTool.h.
| NeutronFastSimTool::NeutronFastSimTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 9 of file NeutronFastSimTool.cxx.
|
inline |
Definition at line 19 of file NeutronFastSimTool.h.
|
inlineoverridevirtualinherited |
Begin of an athena event - do anything that needs to be done at the beginning of each athena event.
Reimplemented in AFatrasG4Tool, and FatrasG4Tool.
Definition at line 43 of file FastSimulationBase.h.
|
inlineoverridevirtualinherited |
End of an athena event - do any tidying up required at the end of each athena event.
Reimplemented in AFatrasG4Tool, and FatrasG4Tool.
Definition at line 46 of file FastSimulationBase.h.
|
protectedinherited |
Definition at line 18 of file FastSimulationBase.cxx.
|
overrideinherited |
Construct and setup the fast simulation model.
This method invokes the makeFastSimModel of the derived concrete tool type. It is the derived class's responsibility to assign the fast simulation model to the correct regions. The fast simulation model is registered for deletion. In multi-threaded jobs, this method is called once on each geant4 worker thread during detector construction (ConstructSDandField).
Definition at line 28 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 20 of file NeutronFastSimTool.cxx.
|
private |
Definition at line 27 of file NeutronFastSimTool.h.
|
protectedinherited |
This Fast Simulation has no regions associated with it.
Definition at line 55 of file FastSimulationBase.h.
|
protectedinherited |
The region to which this fast sim is assigned.
Definition at line 53 of file FastSimulationBase.h.
|
private |
!< Eta cut for primaries
Definition at line 28 of file NeutronFastSimTool.h.
|
private |
Definition at line 26 of file NeutronFastSimTool.h.