The Gaudi Framework  v30r3 (a5ef0a68)
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
7 
14 class ContextEventCounterPtr final : public Algorithm
15 {
16 public:
17  using Algorithm::Algorithm;
18  StatusCode execute() override;
19  StatusCode finalize() override;
20 private:
22 };
23 
24 class ContextEventCounterData final : public Algorithm
25 {
26 public:
27  using Algorithm::Algorithm;
28  StatusCode execute() override;
29  StatusCode finalize() override;
30 private:
32 };
33 
34 #endif // SRC_CONTEXTEVENTCOUNTER_H
StatusCode finalize() override
Algorithm finalization.
Gaudi::Hive::ContextSpecificData< int > m_ctxtSpecCounter
Gaudi::Hive::ContextSpecificPtr< int > m_ctxtSpecCounter
Simple implementation of a smart pointer with different values for different event contexts (slots)...
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode execute() override
Standard constructor.
Algorithm(const std::string &name, ISvcLocator *svcloc, const std::string &version=PACKAGE_VERSION)
Constructor.
Definition: Algorithm.cpp:51
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:78
Implementation of a context specific storage accessible as a sort of smart reference class...