52 ++( *m_ctxtSpecCounter );
69 info() <<
"Total count of events: " 71 [
this](
const int* p ) ->
int {
72 const int r = ( p ) ? *p : 0;
ContextEventCounterData(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
GAUDI_API ContextIdType currentContextId()
Return the current context id.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
The identifying name of the algorithm object.
~ContextEventCounterPtr() override
Destructor.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
StatusCode initialize() override
standard initialization method
StatusCode finalize() override
Algorithm finalization.
Gaudi::Hive::ContextSpecificData< int > m_ctxtSpecCounter
StatusCode execute() override
Algorithm execution.
bool isFailure() const
Test for a status code of FAILURE.
Gaudi::Hive::ContextSpecificPtr< int > m_ctxtSpecCounter
StatusCode initialize() override
Algorithm initialization.
This class is used for returning status codes from appropriate routines.
StatusCode execute() override
Algorithm execution.
StatusCode finalize() override
standard finalization method
#define DECLARE_ALGORITHM_FACTORY(x)
The useful base class for data processing algorithms.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
~ContextEventCounterData() override
Destructor.
StatusCode finalize() override
Algorithm finalization.
MSG::Level msgLevel() const
get the output level from the embedded MsgStream
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode initialize() override
Algorithm initialization.