The Gaudi Framework
v36r9p1 (5c15b2bb)
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
12
#include "
GaudiAlg/GaudiAlgorithm.h
"
13
#include <
Gaudi/Property.h
>
14
15
class
GAUDI_API
Prescaler
:
public
GaudiAlgorithm
{
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
ISvcLocator
Definition:
ISvcLocator.h:46
TimingHistograms.name
name
Definition:
TimingHistograms.py:25
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
GaudiAlg
include
GaudiAlg
Prescaler.h
Generated on Fri Feb 3 2023 18:02:51 for The Gaudi Framework by
1.8.18