The Gaudi Framework  v30r3 (a5ef0a68)
EventCounter.h
Go to the documentation of this file.
2 #include "GaudiKernel/Property.h"
3 
5 {
6 public:
10  EventCounter( const std::string& name, ISvcLocator* pSvcLocator );
11 
12  /*****************************
13  ** Public Function Members **
14  *****************************/
15 
16  StatusCode initialize() override;
17  StatusCode execute() override;
18  StatusCode finalize() override;
19 
20 private:
21  /**************************
22  ** Private Data Members **
23  **************************/
24 
30  Gaudi::CheckedProperty<int> m_frequency{this, "Frequency", 1};
31 
36  int m_skip = 0;
37 
41  int m_total = 0;
42 };
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode execute() override final
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
Definition: Algorithm.h:185
STL class.
Property< TYPE, Details::Property::BoundedVerifier< TYPE >, HANDLERS > CheckedProperty
Definition: Property.h:763
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:78
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Definition: Algorithm.h:179
#define GAUDI_API
Definition: Kernel.h:104