#include <NeutronFastSimTool.h>
|
| virtual G4VFastSimulationModel * | makeFastSimModel () override final |
| | Method to make the actual fast simulation model itself, which will be owned by the tool. More...
|
| |
| G4Region * | getRegion () const |
| |
|
| 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...
|
| |
Definition at line 14 of file NeutronFastSimTool.h.
◆ NeutronFastSimTool()
| NeutronFastSimTool::NeutronFastSimTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~NeutronFastSimTool()
| NeutronFastSimTool::~NeutronFastSimTool |
( |
| ) |
|
|
inline |
◆ BeginOfAthenaEvent()
| virtual StatusCode FastSimulationBase::BeginOfAthenaEvent |
( |
| ) |
|
|
inlineoverridevirtualinherited |
Begin of an athena event - do anything that needs to be done at the beginning of each athena event.
Definition at line 42 of file FastSimulationBase.h.
42 {
return StatusCode::SUCCESS; }
◆ EndOfAthenaEvent()
| virtual StatusCode FastSimulationBase::EndOfAthenaEvent |
( |
| ) |
|
|
inlineoverridevirtualinherited |
End of an athena event - do any tidying up required at the end of each athena event.
Definition at line 45 of file FastSimulationBase.h.
45 {
return StatusCode::SUCCESS; }
◆ getRegion()
| G4Region * FastSimulationBase::getRegion |
( |
| ) |
const |
|
protectedinherited |
◆ initializeFastSim()
| StatusCode FastSimulationBase::initializeFastSim |
( |
| ) |
|
|
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 27 of file FastSimulationBase.cxx.
31 G4AutoDelete::Register(makeFastSimModel());
33 return StatusCode::SUCCESS;
◆ makeFastSimModel()
| G4VFastSimulationModel * NeutronFastSimTool::makeFastSimModel |
( |
| ) |
|
|
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.
◆ m_etaCut
| double NeutronFastSimTool::m_etaCut |
|
private |
◆ m_noRegions
| Gaudi::Property<bool> FastSimulationBase::m_noRegions {this, "NoRegions", false} |
|
protectedinherited |
◆ m_regionName
| Gaudi::Property<std::string> FastSimulationBase::m_regionName {this, "RegionName", ""} |
|
protectedinherited |
◆ m_timeCut
| double NeutronFastSimTool::m_timeCut |
|
private |
◆ m_trackFastSimSDName
| std::string NeutronFastSimTool::m_trackFastSimSDName |
|
private |
The documentation for this class was generated from the following files: