ATLAS Offline Software
Loading...
Searching...
No Matches
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
25
26class TLoretzVector;
27
28namespace DerivationFramework {
29
30
34 class SkimmingToolHIGG5VBF : public extends<AthAlgTool, ISkimmingTool> {
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;
66
68 unsigned int m_nCentralJets;
71
72 // for trigger
74 std::vector<std::string> m_triggers;
75
76 // for Mjj
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
TLorentzVector getCalibedJets(const xAOD::Jet *jet) const
SkimmingToolHIGG5VBF(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
bool checkCentralJetQuality(const TLorentzVector &jet) const
bool checkAllJetQuality(const TLorentzVector &jet) const
virtual bool eventPassesFilter() const override
Check that the current event passes this filter.
ToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
THE reconstruction tool.
Jet_v1 Jet
Definition of the current "jet version".