The Gaudi Framework  v29r0 (ff2e7097)
Prescaler.h
Go to the documentation of this file.
1 
3 #include "GaudiKernel/Property.h"
4 
6 {
7 
8 public:
12  Prescaler( std::string name, ISvcLocator* pSvcLocator );
13 
17  ~Prescaler() override = default;
18 
19  /*****************************
20  ** Public Function Members **
21  *****************************/
22 
23  StatusCode initialize() override;
24  StatusCode execute() override;
25  StatusCode finalize() override;
26 
27 private:
31  Gaudi::CheckedProperty<double> m_percentPass{this, "PercentPass", 100.0,
32  "percentage of events that should be passed"};
33 
37  int m_pass = 0;
38 
42  int m_seen = 0;
43 };
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode initialize() override
standard initialization method
Header file for class GaudiAlgorithm.
StatusCode execute() override
standard execution method
STL class.
Property< TYPE, Details::Property::BoundedVerifier< TYPE >, HANDLERS > CheckedProperty
Definition: Property.h:693
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.
#define GAUDI_API
Definition: Kernel.h:110