Helper "sentry" class to automatize the safe register/unregister the algorithm's context.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/IAlgContextSvc.h>
Helper "sentry" class to automatize the safe register/unregister the algorithm's context.
Typical explicit usage:
{
...
}
Helper "sentry" class to automatize the safe register/unregister the algorithm's context.
An abstract interface for Algorithm Context Service.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
Note: for the regular job the context is properly defined with the help of corresponding auditor AlgContextAuditor. This helper class is needed only if one needs to ensure that the algorithm must register its context independently on job/auditor configuration
- See also
- AlgContextAuditor
- Author
- Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.phys..nosp@m.syr..nosp@m.edu
- Date
- 2007-03-07
Definition at line 76 of file IAlgContextSvc.h.
◆ AlgContext() [1/4]
constructor from the service and the algorithm Internally invokes IAlgContextSvc::setCurrentAlg
- See also
- IAlgorithm
-
IAlgContextSvc
- Parameters
-
alg | pointer to the current algorithm |
svc | pointer to algorithm context service |
context | current event context |
Definition at line 26 of file AlgContext.cpp.
29}
const EventContext & m_context
SmartIF< IAlgorithm > m_alg
SmartIF< IAlgContextSvc > m_svc
◆ AlgContext() [2/4]
constructor from the service and the algorithm (single thread case) Internally invokes IAlgContextSvc::setCurrentAlg
- See also
- IAlgorithm
-
IAlgContextSvc
- Parameters
-
alg | pointer to the current algorithm |
svc | pointer to algorithm context service |
Definition at line 31 of file AlgContext.cpp.
AlgContext(IAlgorithm *alg, IAlgContextSvc *svc, const EventContext &context)
constructor from the service and the algorithm Internally invokes IAlgContextSvc::setCurrentAlg
◆ AlgContext() [3/4]
◆ ~AlgContext()
Gaudi::Utils::AlgContext::~AlgContext |
( |
| ) |
|
◆ AlgContext() [4/4]
Gaudi::Utils::AlgContext::AlgContext |
( |
const AlgContext & | right | ) |
|
|
privatedelete |
◆ operator=()
◆ m_alg
◆ m_context
◆ m_svc
The documentation for this class was generated from the following files: