| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
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 };
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:28
GaudiAlgorithm::initialize
StatusCode initialize() override
standard initialization method
Definition: GaudiAlgorithm.cpp:44
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
GaudiAlgorithm::execute
StatusCode execute() override
standard execution method
Definition: GaudiAlgorithm.cpp:72
std::string
STL class.
Gaudi::CheckedProperty
Property< TYPE, Details::Property::BoundedVerifier< TYPE >, HANDLERS > CheckedProperty
Definition: Property.h:658
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiAlgorithm::finalize
StatusCode finalize() override
standard finalization method
Definition: GaudiAlgorithm.cpp:58
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:94
Property.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
Prescaler
Definition: Prescaler.h:5