| The Gaudi Framework v32r1 (f65d50dc)

Prescaler.h
Go to the documentation of this file.
1
2 #include "GaudiAlg/GaudiAlgorithm.h"
3 #include "GaudiKernel/Property.h"
4
5 class GAUDI_API Prescaler : public GaudiAlgorithm {
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 };
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:41
GaudiAlgorithm::initialize
StatusCode initialize() override
standard initialization method
Definition: GaudiAlgorithm.cpp:42
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
GaudiAlgorithm::execute
StatusCode execute() override
standard execution method
Definition: GaudiAlgorithm.cpp:67
std::string
STL class.
Gaudi::CheckedProperty
Property< TYPE, Details::Property::BoundedVerifier< TYPE >, HANDLERS > CheckedProperty
Definition: Property.h:713
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
GaudiAlgorithm::finalize
StatusCode finalize() override
standard finalization method
Definition: GaudiAlgorithm.cpp:55
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:94
Property.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
Prescaler
Definition: Prescaler.h:5