Helper "sentry" class to automatize the safe register/unregister the algorithm's context.
~AlgContext()
destructor Internally invokes IAlgContextSvc::unSetCurrentAlg
This class represents an entry point to all the event specific data.
virtual StatusCode unSetCurrentAlg(IAlgorithm *a, const EventContext &context)=0
remove the algorithm ("pop_back")
SmartIF< IAlgContextSvc > m_svc
An abstract interface for Algorithm Context Service.
AlgContext(IAlgorithm *alg, IAlgContextSvc *svc, const EventContext &context)
constructor from the service and the algorithm Internally invokes IAlgContextSvc::setCurrentAlg ...
const EventContext m_context
virtual StatusCode setCurrentAlg(IAlgorithm *a, const EventContext &context)=0
set the currently executing algorithm ("push_back")
SmartIF< IAlgorithm > m_alg