ATLAS Offline Software
|
Singleton class for creating truth incidents. More...
#include <TruthStrategyManager.h>
Public Member Functions | |
bool | CreateTruthIncident (const G4Step *, int subDetVolLevel) const |
Returns true if any of the truth strategies return true. More... | |
void | SetISFTruthSvc (ISF::ITruthSvc *truthSvc) |
Define which ISF TruthService to use. More... | |
void | SetISFGeoIDSvc (ISF::IGeoIDSvc *geoIDSvc) |
Define which ISF GeoIDSvc to use. More... | |
Static Public Member Functions | |
static const TruthStrategyManager & | GetStrategyManager () |
Retrieve the (const) singleton instance. More... | |
static TruthStrategyManager &GetStrategyManager_nc | ATLAS_NOT_THREAD_SAFE () |
Retrieve the (non-const) singleton instance. More... | |
Private Member Functions | |
TruthStrategyManager () | |
TruthStrategyManager (const TruthStrategyManager &)=delete | |
TruthStrategyManager & | operator= (const TruthStrategyManager &)=delete |
Private Attributes | |
ISF::ITruthSvc * | m_truthSvc |
ISF Services the TruthStrategyManager talks to. More... | |
ISF::IGeoIDSvc * | m_geoIDSvc |
Singleton class for creating truth incidents.
This class is gradually being refactored out of existence.
Definition at line 22 of file TruthStrategyManager.h.
|
private |
Definition at line 36 of file TruthStrategyManager.cxx.
|
privatedelete |
|
static |
Retrieve the (non-const) singleton instance.
bool TruthStrategyManager::CreateTruthIncident | ( | const G4Step * | aStep, |
int | subDetVolLevel | ||
) | const |
Returns true if any of the truth strategies return true.
Definition at line 64 of file TruthStrategyManager.cxx.
|
static |
Retrieve the (const) singleton instance.
Definition at line 42 of file TruthStrategyManager.cxx.
|
privatedelete |
void TruthStrategyManager::SetISFGeoIDSvc | ( | ISF::IGeoIDSvc * | geoIDSvc | ) |
Define which ISF GeoIDSvc to use.
Definition at line 59 of file TruthStrategyManager.cxx.
void TruthStrategyManager::SetISFTruthSvc | ( | ISF::ITruthSvc * | truthSvc | ) |
Define which ISF TruthService to use.
Definition at line 53 of file TruthStrategyManager.cxx.
|
private |
Definition at line 49 of file TruthStrategyManager.h.
|
private |
ISF Services the TruthStrategyManager talks to.
Definition at line 48 of file TruthStrategyManager.h.