ATLAS Offline Software
HVJetMETFilterTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SkimmingToolExample.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_HVJETMETFILTERTOOL_H
10 #define DERIVATIONFRAMEWORK_HVJETMETFILTERTOOL_H
11 
12 #include<string>
13 
14 // Gaudi & Athena basics
16 
17 // DerivationFramework includes
21 
22 namespace DerivationFramework {
23 
31  class HVJetMETFilterTool : public AthAlgTool, public ISkimmingTool {
32 
33  public:
35  HVJetMETFilterTool( const std::string& t, const std::string& n, const IInterface* p );
36 
39 
40  // Athena algtool's Hooks
43 
45  virtual bool eventPassesFilter() const;
46 
47  private:
48  mutable std::atomic<unsigned int> m_ntot;
49  mutable std::atomic<unsigned int> m_npass;
51  { this, "METContainerKey", "MET_RefFinal", ""};
52  std::string m_metTerm;
53  double m_metCut;
54 
55  };
56 
57 }
58 
59 
60 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::HVJetMETFilterTool::HVJetMETFilterTool
HVJetMETFilterTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: HVJetMETFilterTool.cxx:14
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::HVJetMETFilterTool::m_metTerm
std::string m_metTerm
Definition: HVJetMETFilterTool.h:52
DerivationFramework::HVJetMETFilterTool::m_metCut
double m_metCut
Definition: HVJetMETFilterTool.h:53
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::HVJetMETFilterTool::eventPassesFilter
virtual bool eventPassesFilter() const
Check that the current event passes this filter.
Definition: HVJetMETFilterTool.cxx:47
DerivationFramework::HVJetMETFilterTool::m_metSGKey
SG::ReadHandleKey< xAOD::MissingETContainer > m_metSGKey
Definition: HVJetMETFilterTool.h:51
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
DerivationFramework::HVJetMETFilterTool
Definition: HVJetMETFilterTool.h:31
DerivationFramework::HVJetMETFilterTool::m_npass
std::atomic< unsigned int > m_npass
Definition: HVJetMETFilterTool.h:49
DerivationFramework::HVJetMETFilterTool::~HVJetMETFilterTool
~HVJetMETFilterTool()
Destructor.
Definition: HVJetMETFilterTool.cxx:29
DerivationFramework::HVJetMETFilterTool::initialize
StatusCode initialize()
Definition: HVJetMETFilterTool.cxx:33
DerivationFramework::HVJetMETFilterTool::finalize
StatusCode finalize()
Definition: HVJetMETFilterTool.cxx:39
DerivationFramework::HVJetMETFilterTool::m_ntot
std::atomic< unsigned int > m_ntot
Definition: HVJetMETFilterTool.h:48
AthAlgTool
Definition: AthAlgTool.h:26
MissingETContainer.h
ISkimmingTool.h