ATLAS Offline Software
Control
GaudiSequencer
src
AthPrescaler.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// AthPrescaler.h
8
// Header file for class AthPrescaler
9
// Author: S.Binet<binet@cern.ch>
10
// Stolen from Gaudi repository
12
#ifndef GAUDISEQUENCER_ATHPRESCALER_H
13
#define GAUDISEQUENCER_ATHPRESCALER_H
14
15
#include "
AthenaBaseComps/AthAlgorithm.h
"
16
#include "Gaudi/Property.h"
17
18
class
AthPrescaler
:
public
AthAlgorithm
19
{
20
21
public
:
22
26
AthPrescaler
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
27
31
~AthPrescaler
( );
32
33
/*****************************
34
** Public Function Members **
35
*****************************/
36
37
StatusCode
initialize
();
38
StatusCode
execute
();
39
StatusCode
finalize
();
40
41
private
:
42
43
/**************************
44
** Private Data Members **
45
**************************/
46
50
Gaudi::CheckedProperty<double>
m_percentPass
;
51
55
int
m_pass
;
56
60
int
m_seen
;
61
};
62
63
#endif // GAUDISEQUENCER_ATHPRESCALER_H
AthPrescaler::execute
StatusCode execute()
Definition:
AthPrescaler.cxx:37
AthPrescaler::~AthPrescaler
~AthPrescaler()
Destructor.
Definition:
AthPrescaler.cxx:24
AthPrescaler::finalize
StatusCode finalize()
Definition:
AthPrescaler.cxx:52
AthPrescaler::m_seen
int m_seen
Number of events seen.
Definition:
AthPrescaler.h:60
AthPrescaler::AthPrescaler
AthPrescaler(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
Definition:
AthPrescaler.cxx:14
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthPrescaler
Definition:
AthPrescaler.h:19
AthAlgorithm
Definition:
AthAlgorithm.h:47
AthPrescaler::initialize
StatusCode initialize()
Definition:
AthPrescaler.cxx:28
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
AthPrescaler::m_pass
int m_pass
Number of events passed.
Definition:
AthPrescaler.h:55
AthPrescaler::m_percentPass
Gaudi::CheckedProperty< double > m_percentPass
Percentage of events that should be passed.
Definition:
AthPrescaler.h:50
Generated on Thu Nov 7 2024 21:10:27 for ATLAS Offline Software by
1.8.18