ATLAS Offline Software
PrescaleTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // PrescaleTool.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_PRESCALETOOL_H
10 #define DERIVATIONFRAMEWORK_PRESCALETOOL_H
11 
12 #include <string>
13 
17 
18 namespace DerivationFramework {
19 
20  class PrescaleTool : public AthAlgTool, public ISkimmingTool {
21  public:
22  PrescaleTool(const std::string& t, const std::string& n, const IInterface* p);
23 
26  virtual bool eventPassesFilter() const;
27 
28  private:
29  Gaudi::Property<unsigned int> m_prescale {this, "Prescale", 1};
30  };
31 }
32 
33 #endif // DERIVATIONFRAMEWORK_PRESCALETOOL_H
DerivationFramework::PrescaleTool::m_prescale
Gaudi::Property< unsigned int > m_prescale
Definition: PrescaleTool.h:29
DerivationFramework::PrescaleTool::initialize
StatusCode initialize()
Definition: PrescaleTool.cxx:26
DerivationFramework::PrescaleTool::eventPassesFilter
virtual bool eventPassesFilter() const
Check that the current event passes this filter.
Definition: PrescaleTool.cxx:40
DerivationFramework::PrescaleTool::PrescaleTool
PrescaleTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: PrescaleTool.cxx:18
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
EventInfo.h
DerivationFramework::PrescaleTool::finalize
StatusCode finalize()
Definition: PrescaleTool.cxx:35
DerivationFramework::PrescaleTool
Definition: PrescaleTool.h:20
AthAlgTool
Definition: AthAlgTool.h:26
ISkimmingTool.h