Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v38r0 (2143aa4c)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Prescaler.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 
13 #include <Gaudi/Property.h>
14 
16 
17 public:
21  Prescaler( std::string name, ISvcLocator* pSvcLocator );
22 
23  /*****************************
24  ** Public Function Members **
25  *****************************/
26 
27  StatusCode initialize() override;
28  StatusCode execute() override;
29  StatusCode finalize() override;
30 
31 private:
35  Gaudi::CheckedProperty<double> m_percentPass{ this, "PercentPass", 100.0,
36  "percentage of events that should be passed" };
37 
41  int m_pass = 0;
42 
46  int m_seen = 0;
47 };
std::string
STL class.
GaudiAlgorithm::finalize
StatusCode finalize() override
standard finalization method
Definition: GaudiAlgorithm.cpp:65
bug_34121.name
name
Definition: bug_34121.py:20
ISvcLocator
Definition: ISvcLocator.h:46
StatusCode
Definition: StatusCode.h:65
GaudiAlgorithm
Definition: GaudiAlgorithm.h:104
GaudiAlgorithm::initialize
StatusCode initialize() override
standard initialization method
Definition: GaudiAlgorithm.cpp:52
GaudiAlgorithm.h
Prescaler
Definition: Prescaler.h:15
GaudiAlgorithm::execute
StatusCode execute() override
standard execution method
Definition: GaudiAlgorithm.cpp:77
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
Property.h