Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Prescaler.h
Go to the documentation of this file.
1 
3 #include "GaudiKernel/Property.h"
4 
6 
7 public:
11  Prescaler( std::string name, ISvcLocator* pSvcLocator );
12 
13  /*****************************
14  ** Public Function Members **
15  *****************************/
16 
17  StatusCode initialize() override;
18  StatusCode execute() override;
19  StatusCode finalize() override;
20 
21 private:
25  Gaudi::CheckedProperty<double> m_percentPass{this, "PercentPass", 100.0,
26  "percentage of events that should be passed"};
27 
31  int m_pass = 0;
32 
36  int m_seen = 0;
37 };
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:712
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.
#define GAUDI_API
Definition: Kernel.h:71