Prescaler.h
Go to the documentation of this file.
1 
2 #include "GaudiAlg/GaudiAlgorithm.h"
3 #include "GaudiKernel/Property.h"
4 
6 {
7 
8 public:
9 
13  Prescaler( std::string name, ISvcLocator* pSvcLocator );
14 
18  ~Prescaler( ) override = default;
19 
20  /*****************************
21  ** Public Function Members **
22  *****************************/
23 
24  StatusCode initialize() override;
25  StatusCode execute() override;
26  StatusCode finalize() override;
27 
28 private:
29 
33  DoubleProperty m_percentPass;
34 
38  int m_pass = 0;
39 
43  int m_seen = 0;
44 };
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
#define GAUDI_API
Definition: Kernel.h:107
StatusCode initialize() override
standard initialization method
StatusCode execute() override
standard execution method
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.