The Gaudi Framework  v30r3 (a5ef0a68)
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 
14  /*****************************
15  ** Public Function Members **
16  *****************************/
17 
18  StatusCode initialize() override;
19  StatusCode execute() override;
20  StatusCode finalize() override;
21 
22 private:
26  Gaudi::CheckedProperty<double> m_percentPass{this, "PercentPass", 100.0,
27  "percentage of events that should be passed"};
28 
32  int m_pass = 0;
33 
37  int m_seen = 0;
38 };
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:763
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.
#define GAUDI_API
Definition: Kernel.h:104