ATLAS Offline Software
Loading...
Searching...
No Matches
AthPrescaler.h
Go to the documentation of this file.
1
2
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
16#include "Gaudi/Property.h"
17
19{
20
21public:
22
26 AthPrescaler( const std::string& name, ISvcLocator* pSvcLocator );
27
32
33 /*****************************
34 ** Public Function Members **
35 *****************************/
36
37 StatusCode initialize();
38 StatusCode execute();
39 StatusCode finalize();
40
41private:
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode initialize()
StatusCode execute()
StatusCode finalize()
AthPrescaler(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
~AthPrescaler()
Destructor.
int m_seen
Number of events seen.
int m_pass
Number of events passed.
Gaudi::CheckedProperty< double > m_percentPass
Percentage of events that should be passed.