All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventCounter.h
Go to the documentation of this file.
2 #include "GaudiKernel/Property.h"
3 
5 public:
6 
10  EventCounter( const std::string& name, ISvcLocator* pSvcLocator );
11 
15  virtual ~EventCounter( );
16 
17  /*****************************
18  ** Public Function Members **
19  *****************************/
20 
24 
25 private:
26 
27  /**************************
28  ** Private Data Members **
29  **************************/
30 
37 
42  int m_skip;
43 
47  int m_total;
48 };
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
virtual StatusCode execute()=0
The action to be performed by the algorithm on an event.
IntegerProperty m_frequency
The frequency with which the number of events should be reported.
Definition: EventCounter.h:36
int m_total
The total events seen.
Definition: EventCounter.h:47
int m_skip
The number of events skipped since the last time the count was reported.
Definition: EventCounter.h:42
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Base class from which all concrete algorithm classes should be derived.
Definition: Algorithm.h:61
virtual StatusCode initialize()
the default (empty) implementation of IStateful::initialize() method
Definition: Algorithm.h:157
virtual StatusCode finalize()
the default (empty) implementation of IStateful::finalize() method
Definition: Algorithm.h:163
#define GAUDI_API
Definition: Kernel.h:108