ATLAS Offline Software
SkimmingToolEXOT5.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SkimmingToolEXOT5.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_SKIMMINGTOOLEXOT5_H
10 #define DERIVATIONFRAMEWORK_SKIMMINGTOOLEXOT5_H 1
11 
14 #include "xAODJet/JetContainer.h"
15 #include "GaudiKernel/ToolHandle.h"
17 
18 class JetCalibrationTool;
19 
20 namespace DerivationFramework {
21 
22  class SkimmingToolEXOT5 : public AthAlgTool, public ISkimmingTool {
23 
24  public:
25  SkimmingToolEXOT5( const std::string& t, const std::string& n, const IInterface* p );
26 
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode finalize() override;
31 
32  virtual bool eventPassesFilter() const override;
33 
34  private:
35 
36  ToolHandle<IJetCalibrationTool> m_jetCalibrationTool;
37  std::string m_jetSGKey;
38 
40  double m_monoJetPt;
43  double m_Mjj;
44 
45  mutable std::atomic<unsigned int> m_ntot;
46  mutable std::atomic<unsigned int> m_npass;
47 
48  };
49 
50 }
51 
52 #endif
DerivationFramework::SkimmingToolEXOT5::eventPassesFilter
virtual bool eventPassesFilter() const override
Check that the current event passes this filter.
Definition: SkimmingToolEXOT5.cxx:69
DerivationFramework::SkimmingToolEXOT5::m_Mjj
double m_Mjj
Definition: SkimmingToolEXOT5.h:43
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::SkimmingToolEXOT5::m_subleadingJetPt
double m_subleadingJetPt
Definition: SkimmingToolEXOT5.h:42
IJetCalibrationTool.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
DerivationFramework::SkimmingToolEXOT5::m_npass
std::atomic< unsigned int > m_npass
Definition: SkimmingToolEXOT5.h:46
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::SkimmingToolEXOT5::finalize
virtual StatusCode finalize() override
Definition: SkimmingToolEXOT5.cxx:60
AthAlgTool.h
JetCalibrationTool
Definition: JetCalibrationTool.h:34
DerivationFramework::SkimmingToolEXOT5::m_monoJetPt
double m_monoJetPt
Definition: SkimmingToolEXOT5.h:40
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::SkimmingToolEXOT5::m_jetSGKey
std::string m_jetSGKey
Definition: SkimmingToolEXOT5.h:37
DerivationFramework::SkimmingToolEXOT5::SkimmingToolEXOT5
SkimmingToolEXOT5(const std::string &t, const std::string &n, const IInterface *p)
Definition: SkimmingToolEXOT5.cxx:27
DerivationFramework::SkimmingToolEXOT5::m_uncalibMonoJetPt
double m_uncalibMonoJetPt
Definition: SkimmingToolEXOT5.h:39
DerivationFramework::SkimmingToolEXOT5::initialize
virtual StatusCode initialize() override
Definition: SkimmingToolEXOT5.cxx:49
DerivationFramework::SkimmingToolEXOT5::m_leadingJetPt
double m_leadingJetPt
Definition: SkimmingToolEXOT5.h:41
DerivationFramework::SkimmingToolEXOT5
Definition: SkimmingToolEXOT5.h:22
JetContainer.h
DerivationFramework::SkimmingToolEXOT5::m_jetCalibrationTool
ToolHandle< IJetCalibrationTool > m_jetCalibrationTool
Definition: SkimmingToolEXOT5.h:36
DerivationFramework::SkimmingToolEXOT5::m_ntot
std::atomic< unsigned int > m_ntot
Definition: SkimmingToolEXOT5.h:45
DerivationFramework::SkimmingToolEXOT5::~SkimmingToolEXOT5
~SkimmingToolEXOT5()
Definition: SkimmingToolEXOT5.cxx:46
AthAlgTool
Definition: AthAlgTool.h:26
ISkimmingTool.h