#include <JetMatchingTool.h>
Definition at line 30 of file JetMatchingTool.h.
◆ StoreGateSvc_t
◆ JetMatchingTool()
| DerivationFramework::JetMatchingTool::JetMatchingTool |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
◆ ~JetMatchingTool()
| DerivationFramework::JetMatchingTool::~JetMatchingTool |
( |
| ) |
|
|
virtual |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ drCut()
| void DerivationFramework::JetMatchingTool::drCut |
( |
float | a | ) |
|
|
inline |
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ finalize()
| StatusCode DerivationFramework::JetMatchingTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| StatusCode DerivationFramework::JetMatchingTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 35 of file JetMatchingTool.cxx.
35 {
36
38
39
40
44
45 return StatusCode::SUCCESS;
46 }
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ jetEtaCut()
| void DerivationFramework::JetMatchingTool::jetEtaCut |
( |
float | a | ) |
|
|
inline |
◆ jetPtCut()
| void DerivationFramework::JetMatchingTool::jetPtCut |
( |
float | a | ) |
|
|
inline |
◆ matchHadronsToJets()
Definition at line 58 of file JetMatchingTool.cxx.
58 {
59
60
61
62
63
64
65
66 std::map<const xAOD::Jet*, std::vector<xAOD::TruthParticleContainer::const_iterator>> particleMatch;
67
68
69
70
72
73
74
76
77
78
79 float drmin=999999;
80
81
82
84
85
86
88
89
90
91
94 }
95
96
97
98
99 float dr = jet->p4().DeltaR((*hadron)->p4());
100
101 if(dr<drmin){
103 holder=jet;
104 }
105
106 }
107
108
109
110
112 particleMatch[holder].push_back(
hadron);
113 }
114
115 }
116
117
118
119 return particleMatch;
120 }
DataModel_detail::const_iterator< DataVector > const_iterator
Jet_v1 Jet
Definition of the current "jet version".
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_drCut
| Gaudi::Property<float> DerivationFramework::JetMatchingTool::m_drCut {this, "drCut", 0.4, "Cut on the delta R between an hadron and the closest jet to consider them matched."} |
|
private |
Definition at line 80 of file JetMatchingTool.h.
80{this, "drCut", 0.4, "Cut on the delta R between an hadron and the closest jet to consider them matched."};
◆ m_evtStore
◆ m_jetEtaCut
| Gaudi::Property<float> DerivationFramework::JetMatchingTool::m_jetEtaCut {this, "jetEtaCut", 2.5, "Cut on the jets eta that are considered for the hadron-jet matching."} |
|
private |
Definition at line 79 of file JetMatchingTool.h.
79{this, "jetEtaCut", 2.5, "Cut on the jets eta that are considered for the hadron-jet matching."};
◆ m_jetPtCut
| Gaudi::Property<float> DerivationFramework::JetMatchingTool::m_jetPtCut {this, "jetPtCut", 15000., "Cut on the jets pt that are considered for the hadron-jet matching."} |
|
private |
Definition at line 78 of file JetMatchingTool.h.
78{this, "jetPtCut", 15000., "Cut on the jets pt that are considered for the hadron-jet matching."};
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: