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 public:
18  ContextEventCounterPtr(const std::string& name, ISvcLocator* pSvcLocator);
19  ~ContextEventCounterPtr() override;
20 
21  StatusCode initialize() override;
22  StatusCode execute () override;
23  StatusCode finalize () override;
24 protected:
25 private:
26 
28 };
29 
31 public:
34  ~ContextEventCounterData() override;
35 
36  StatusCode initialize() override;
37  StatusCode execute () override;
38  StatusCode finalize () override;
39 protected:
40 private:
41 
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:715
~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:26
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...