The Gaudi Framework  v29r0 (ff2e7097)
ContextEventCounter.h
Go to the documentation of this file.
1 #ifndef SRC_CONTEXTEVENTCOUNTER_H
2 #define SRC_CONTEXTEVENTCOUNTER_H 1
3 // Include files
4 // from Gaudi
6 
8 
16 {
17 public:
19  ContextEventCounterPtr( const std::string& name, ISvcLocator* pSvcLocator );
20  ~ContextEventCounterPtr() override;
21 
22  StatusCode initialize() override;
23  StatusCode execute() override;
24  StatusCode finalize() override;
25 protected:
26 private:
28 };
29 
31 {
32 public:
34  ContextEventCounterData( const std::string& name, ISvcLocator* pSvcLocator );
35  ~ContextEventCounterData() override;
36 
37  StatusCode initialize() override;
38  StatusCode execute() override;
39  StatusCode finalize() override;
40 protected:
41 private:
43 };
44 
45 #endif // SRC_CONTEXTEVENTCOUNTER_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:731
~ContextEventCounterPtr() override
Destructor.
StatusCode finalize() override
Algorithm finalization.
Gaudi::Hive::ContextSpecificData< int > m_ctxtSpecCounter
Header file for class GaudiAlgorithm.
Gaudi::Hive::ContextSpecificPtr< int > m_ctxtSpecCounter
Simple implementation of a smart pointer with different values for different event contexts (slots)...
STL class.
StatusCode initialize() override
Algorithm initialization.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
StatusCode execute() override
Algorithm execution.
The useful base class for data processing algorithms.
ContextEventCounterPtr(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Implementation of a context specific storage accessible as a sort of smart reference class...