Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
EventCounter.h
Go to the documentation of this file.
2 #include "GaudiKernel/Property.h"
3 
5 public:
9  EventCounter( const std::string& name, ISvcLocator* pSvcLocator );
10 
11  /*****************************
12  ** Public Function Members **
13  *****************************/
14 
15  StatusCode initialize() override;
16  StatusCode execute() override;
17  StatusCode finalize() override;
18 
19 private:
20  /**************************
21  ** Private Data Members **
22  **************************/
23 
29  Gaudi::CheckedProperty<int> m_frequency{this, "Frequency", 1};
30 
35  int m_skip = 0;
36 
40  int m_total = 0;
41 };
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
STL class.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Definition: Algorithm.h:180
Property< TYPE, Details::Property::BoundedVerifier< TYPE >, HANDLERS > CheckedProperty
Definition: Property.h:712
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
Definition: Algorithm.h:186
StatusCode execute() override=0
Alias for backward compatibility.
Definition: Algorithm.h:56
#define GAUDI_API
Definition: Kernel.h:71