ATLAS Offline Software
Loading...
Searching...
No Matches
TruthStrategyManager.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MCTruthBase_TruthStrategyManager_H
6#define MCTruthBase_TruthStrategyManager_H
7
8// Framework include
10
11// ISF include
14
16class G4Step;
17
18
21
23{
24
25public:
26
29
31 static TruthStrategyManager& GetStrategyManager_nc ATLAS_NOT_THREAD_SAFE ();
32
34 bool CreateTruthIncident(const G4Step*, int subDetVolLevel) const;
35
37 void SetISFTruthSvc(ISF::ITruthSvc *truthSvc);
38
40 void SetISFGeoIDSvc(ISF::IGeoIDSvc *geoIDSvc);
41
42private:
46
50};
51
52#endif
Define macros for attributes used to control the static checker.
The interface to chose between the sub geometry services, realized as an AlgTool since it does not ha...
Definition IGeoIDSvc.h:41
@ class ITruthSvc
Definition ITruthSvc.h:29
ISF::ITruthSvc * m_truthSvc
ISF Services the TruthStrategyManager talks to.
ISF::IGeoIDSvc * m_geoIDSvc
void SetISFGeoIDSvc(ISF::IGeoIDSvc *geoIDSvc)
Define which ISF GeoIDSvc to use.
TruthStrategyManager & operator=(const TruthStrategyManager &)=delete
void SetISFTruthSvc(ISF::ITruthSvc *truthSvc)
Define which ISF TruthService to use.
bool CreateTruthIncident(const G4Step *, int subDetVolLevel) const
Returns true if any of the truth strategies return true.
static const TruthStrategyManager & GetStrategyManager()
Retrieve the (const) singleton instance.
static TruthStrategyManager &GetStrategyManager_nc ATLAS_NOT_THREAD_SAFE()
Retrieve the (non-const) singleton instance.
TruthStrategyManager(const TruthStrategyManager &)=delete