ATLAS Offline Software
EmergingJetsHighPtFilterTool.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 // Emerging jets
8 
9 #ifndef DERIVATIONFRAMEWORK_EMERGINGJETSHIGHPTFILTERTOOL_H
10 #define DERIVATIONFRAMEWORK_EMERGINGJETSHIGHPTFILTERTOOL_H
11 
12 #include<string>
13 
14 // Gaudi & Athena basics
17 
18 // DerivationFramework includes
20 #include "xAODJet/JetContainer.h"
22 
23 namespace DerivationFramework {
24 
34 
35  public:
37  EmergingJetsHighPtFilterTool( const std::string& t, const std::string& n, const IInterface* p );
38 
41 
42  // Athena algtool's Hooks
45 
47  virtual bool eventPassesFilter() const;
48 
49  private:
50  ToolHandle< Trig::TrigDecisionTool > m_tdt;
51  std::vector< std::string > m_triggers;
52  mutable std::atomic<unsigned int> m_ntot;
53  mutable std::atomic<unsigned int> m_npass;
54  mutable std::atomic<unsigned int> m_nptpass;
55  mutable std::atomic<unsigned int> m_nhighptpass;
56  SG::ReadHandleKey<xAOD::JetContainer> m_jetSGKey { this, "JetContainerKey", "AntiKt4EMTopoJets", ""};
57 
58  double m_ptCut;
59  double m_highPtCut;
60  double m_etaCut;
63 
64  };
65 
66 }
67 
68 
69 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::EmergingJetsHighPtFilterTool::m_jetSGKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetSGKey
Definition: EmergingJetsHighPtFilterTool.h:56
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::EmergingJetsHighPtFilterTool::m_triggers
std::vector< std::string > m_triggers
Definition: EmergingJetsHighPtFilterTool.h:51
TrigDecisionTool.h
DerivationFramework::ISkimmingTool
Definition: ISkimmingTool.h:25
DerivationFramework::EmergingJetsHighPtFilterTool::finalize
StatusCode finalize()
Definition: EmergingJetsHighPtFilterTool.cxx:64
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::EmergingJetsHighPtFilterTool::m_ntot
std::atomic< unsigned int > m_ntot
Definition: EmergingJetsHighPtFilterTool.h:52
DerivationFramework::EmergingJetsHighPtFilterTool::m_npass
std::atomic< unsigned int > m_npass
Definition: EmergingJetsHighPtFilterTool.h:53
DerivationFramework::EmergingJetsHighPtFilterTool::m_ptCut
double m_ptCut
Definition: EmergingJetsHighPtFilterTool.h:58
DerivationFramework::EmergingJetsHighPtFilterTool::eventPassesFilter
virtual bool eventPassesFilter() const
Check that the current event passes this filter.
Definition: EmergingJetsHighPtFilterTool.cxx:74
DerivationFramework::EmergingJetsHighPtFilterTool::EmergingJetsHighPtFilterTool
EmergingJetsHighPtFilterTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: EmergingJetsHighPtFilterTool.cxx:19
DerivationFramework::EmergingJetsHighPtFilterTool
Definition: EmergingJetsHighPtFilterTool.h:33
DerivationFramework::EmergingJetsHighPtFilterTool::m_nHighPtJetsRequired
int m_nHighPtJetsRequired
Definition: EmergingJetsHighPtFilterTool.h:62
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::EmergingJetsHighPtFilterTool::m_nhighptpass
std::atomic< unsigned int > m_nhighptpass
Definition: EmergingJetsHighPtFilterTool.h:55
DerivationFramework::EmergingJetsHighPtFilterTool::~EmergingJetsHighPtFilterTool
~EmergingJetsHighPtFilterTool()
Destructor.
Definition: EmergingJetsHighPtFilterTool.cxx:45
JetContainer.h
DerivationFramework::EmergingJetsHighPtFilterTool::m_highPtCut
double m_highPtCut
Definition: EmergingJetsHighPtFilterTool.h:59
DerivationFramework::EmergingJetsHighPtFilterTool::m_nptpass
std::atomic< unsigned int > m_nptpass
Definition: EmergingJetsHighPtFilterTool.h:54
DerivationFramework::EmergingJetsHighPtFilterTool::m_etaCut
double m_etaCut
Definition: EmergingJetsHighPtFilterTool.h:60
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::EmergingJetsHighPtFilterTool::m_tdt
ToolHandle< Trig::TrigDecisionTool > m_tdt
Definition: EmergingJetsHighPtFilterTool.h:50
DerivationFramework::EmergingJetsHighPtFilterTool::initialize
StatusCode initialize()
Definition: EmergingJetsHighPtFilterTool.cxx:49
DerivationFramework::EmergingJetsHighPtFilterTool::m_nJetsRequired
int m_nJetsRequired
Definition: EmergingJetsHighPtFilterTool.h:61
ISkimmingTool.h