ATLAS Offline Software
SkimmingToolHIGG5VBF.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 // SkimmingToolHIGG5VBF.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_SKIMMINGTOOLHSG5VBF_H
10 #define DERIVATIONFRAMEWORK_SKIMMINGTOOLHSG5VBF_H
11 
12 #include<string>
13 #include<vector>
14 
15 // Gaudi & Athena basics
17 
18 // DerivationFramework includes
20 
21 // xAOD header files
22 #include "xAODJet/JetContainer.h"
25 
26 class TLoretzVector;
27 
28 namespace DerivationFramework {
29 
30 
35 
36  public:
38  SkimmingToolHIGG5VBF( const std::string& t, const std::string& n, const IInterface* p );
39 
42 
43  // Athena algtool's Hooks
44  virtual StatusCode initialize() override;
45  virtual StatusCode finalize() override;
46 
48  virtual bool eventPassesFilter() const override;
49 
50  private:
51  bool m_debug;
52 
53  ToolHandle<Trig::TrigDecisionTool> m_trigDecisionTool;
54 
55  mutable std::atomic<unsigned int> m_ntot;
56  mutable std::atomic<unsigned int> m_npass;
57 
58  std::string m_jetSGKey;
59  std::string m_calibedJetMomKey;
60 
61  // for jet multiplicity
63  unsigned int m_nAllJets;
64  double m_allJetPtCut;
66 
68  unsigned int m_nCentralJets;
71 
72  // for trigger
74  std::vector<std::string> m_triggers;
75 
76  // for Mjj
78  double m_vbfMjjCut;
79 
80  bool checkAllJetQuality(const TLorentzVector& jet) const;
81  bool checkCentralJetQuality(const TLorentzVector& jet) const;
82  TLorentzVector getCalibedJets(const xAOD::Jet* jet) const;
83 
84  //for photon (p. rose)
85  std::string m_phSGKey;
86  bool m_reqPh;
87  double m_phPtCut;
89  };
90 
91 }
92 
93 #endif // #ifndef DERIVATIONFRAMEWORK_SKIMMINGTOOLHSG5VBF_H
DerivationFramework::SkimmingToolHIGG5VBF::m_ntot
std::atomic< unsigned int > m_ntot
Definition: SkimmingToolHIGG5VBF.h:55
DerivationFramework::SkimmingToolHIGG5VBF::SkimmingToolHIGG5VBF
SkimmingToolHIGG5VBF(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: SkimmingToolHIGG5VBF.cxx:19
DerivationFramework::SkimmingToolHIGG5VBF::m_reqNCentralJets
bool m_reqNCentralJets
Definition: SkimmingToolHIGG5VBF.h:67
DerivationFramework::SkimmingToolHIGG5VBF::m_triggers
std::vector< std::string > m_triggers
Definition: SkimmingToolHIGG5VBF.h:74
DerivationFramework::SkimmingToolHIGG5VBF::initialize
virtual StatusCode initialize() override
Definition: SkimmingToolHIGG5VBF.cxx:67
DerivationFramework::SkimmingToolHIGG5VBF::checkCentralJetQuality
bool checkCentralJetQuality(const TLorentzVector &jet) const
Definition: SkimmingToolHIGG5VBF.cxx:185
DerivationFramework::SkimmingToolHIGG5VBF::m_reqPh
bool m_reqPh
Definition: SkimmingToolHIGG5VBF.h:86
TrigDecisionTool.h
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::SkimmingToolHIGG5VBF::~SkimmingToolHIGG5VBF
~SkimmingToolHIGG5VBF()
Destructor.
Definition: SkimmingToolHIGG5VBF.cxx:63
DerivationFramework::SkimmingToolHIGG5VBF::m_calibedJetMomKey
std::string m_calibedJetMomKey
Definition: SkimmingToolHIGG5VBF.h:59
DerivationFramework::SkimmingToolHIGG5VBF::m_debug
bool m_debug
Definition: SkimmingToolHIGG5VBF.h:51
DerivationFramework::SkimmingToolHIGG5VBF::m_centralJetPtCut
double m_centralJetPtCut
Definition: SkimmingToolHIGG5VBF.h:69
DerivationFramework::SkimmingToolHIGG5VBF::m_nCentralJets
unsigned int m_nCentralJets
Definition: SkimmingToolHIGG5VBF.h:68
DerivationFramework::SkimmingToolHIGG5VBF::getCalibedJets
TLorentzVector getCalibedJets(const xAOD::Jet *jet) const
Definition: SkimmingToolHIGG5VBF.cxx:194
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
DerivationFramework::SkimmingToolHIGG5VBF::m_npass
std::atomic< unsigned int > m_npass
Definition: SkimmingToolHIGG5VBF.h:56
DerivationFramework::SkimmingToolHIGG5VBF::m_allJetEtaCut
double m_allJetEtaCut
Definition: SkimmingToolHIGG5VBF.h:65
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::SkimmingToolHIGG5VBF::m_centralPhEtaCut
double m_centralPhEtaCut
Definition: SkimmingToolHIGG5VBF.h:88
AthAlgTool.h
DerivationFramework::SkimmingToolHIGG5VBF::m_reqVbfMjj
bool m_reqVbfMjj
Definition: SkimmingToolHIGG5VBF.h:77
DerivationFramework::SkimmingToolHIGG5VBF::m_centralJetEtaCut
double m_centralJetEtaCut
Definition: SkimmingToolHIGG5VBF.h:70
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::SkimmingToolHIGG5VBF::m_phPtCut
double m_phPtCut
Definition: SkimmingToolHIGG5VBF.h:87
DerivationFramework::SkimmingToolHIGG5VBF::m_phSGKey
std::string m_phSGKey
Definition: SkimmingToolHIGG5VBF.h:85
DerivationFramework::SkimmingToolHIGG5VBF::m_allJetPtCut
double m_allJetPtCut
Definition: SkimmingToolHIGG5VBF.h:64
DerivationFramework::SkimmingToolHIGG5VBF::m_vbfMjjCut
double m_vbfMjjCut
Definition: SkimmingToolHIGG5VBF.h:78
DerivationFramework::SkimmingToolHIGG5VBF::m_trigDecisionTool
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
Definition: SkimmingToolHIGG5VBF.h:53
DerivationFramework::SkimmingToolHIGG5VBF::m_nAllJets
unsigned int m_nAllJets
Definition: SkimmingToolHIGG5VBF.h:63
DerivationFramework::SkimmingToolHIGG5VBF::m_jetSGKey
std::string m_jetSGKey
Definition: SkimmingToolHIGG5VBF.h:58
DerivationFramework::SkimmingToolHIGG5VBF::checkAllJetQuality
bool checkAllJetQuality(const TLorentzVector &jet) const
Definition: SkimmingToolHIGG5VBF.cxx:177
DerivationFramework::SkimmingToolHIGG5VBF::m_reqNAllJets
bool m_reqNAllJets
Definition: SkimmingToolHIGG5VBF.h:62
DerivationFramework::SkimmingToolHIGG5VBF::finalize
virtual StatusCode finalize() override
Definition: SkimmingToolHIGG5VBF.cxx:81
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
DerivationFramework::SkimmingToolHIGG5VBF::eventPassesFilter
virtual bool eventPassesFilter() const override
Check that the current event passes this filter.
Definition: SkimmingToolHIGG5VBF.cxx:89
JetContainer.h
AthAlgTool
Definition: AthAlgTool.h:26
PhotonContainer.h
ISkimmingTool.h
DerivationFramework::SkimmingToolHIGG5VBF::m_reqTrigger
bool m_reqTrigger
Definition: SkimmingToolHIGG5VBF.h:73
DerivationFramework::SkimmingToolHIGG5VBF
Definition: SkimmingToolHIGG5VBF.h:34