ATLAS Offline Software
Loading...
Searching...
No Matches
JetTruthLabelingTool::DecorHandles Struct Reference

Upper mass cut for Z label. More...

#include <JetTruthLabelingTool.h>

Collaboration diagram for JetTruthLabelingTool::DecorHandles:

Public Types

using IntHandle_t = SG::WriteDecorHandle<xAOD::JetContainer, int>
using IntHandleOp_t = std::optional<IntHandle_t>
using FloatHandle_t = SG::WriteDecorHandle<xAOD::JetContainer, float>
using FloatHandleOp_t = std::optional<FloatHandle_t>

Public Member Functions

 DecorHandles (const JetTruthLabelingTool &tool, const EventContext &ctx)

Public Attributes

IntHandleOp_t labelHandle
IntHandleOp_t nbHandle
IntHandleOp_t labelRecoHandle
IntHandleOp_t nbRecoHandle
FloatHandleOp_t dRWHandle
FloatHandleOp_t dRZHandle
FloatHandleOp_t dRHHandle
FloatHandleOp_t dRTopHandle
FloatHandleOp_t dRWRecoHandle
FloatHandleOp_t dRZRecoHandle
FloatHandleOp_t dRHRecoHandle
FloatHandleOp_t dRTopRecoHandle
FloatHandleOp_t split23Handle
FloatHandleOp_t split12Handle
FloatHandleOp_t matchedTruthJetMassHandle
FloatHandleOp_t matchedTruthJetPtHandle
FloatHandleOp_t matchedTruthJetEtaHandle
FloatHandleOp_t matchedTruthJetPhiHandle
FloatHandleOp_t matchedTruthJetDRHandle
FloatHandleOp_t matchedTruthJetGFHandle
FloatHandleOp_t matchedTruthGroomedMassHandle
FloatHandleOp_t matchedTruthGroomedPtHandle

Detailed Description

Upper mass cut for Z label.

Definition at line 78 of file JetTruthLabelingTool.h.

Member Typedef Documentation

◆ FloatHandle_t

◆ FloatHandleOp_t

◆ IntHandle_t

◆ IntHandleOp_t

Definition at line 82 of file JetTruthLabelingTool.h.

Constructor & Destructor Documentation

◆ DecorHandles()

JetTruthLabelingTool::DecorHandles::DecorHandles ( const JetTruthLabelingTool & tool,
const EventContext & ctx )

Definition at line 254 of file JetTruthLabelingTool.cxx.

256{
257 auto maybeInit = [&] (auto& h,
258 const SG::WriteDecorHandleKey<xAOD::JetContainer>& k)
259 {
260 if (!k.key().empty()) h.emplace (k, ctx);
261 };
262 maybeInit (labelHandle, tool.m_label_truthKey);
263 maybeInit (nbHandle, tool.m_NB_truthKey);
264 maybeInit (labelRecoHandle, tool.m_label_recoKey);
265 maybeInit (nbRecoHandle, tool.m_NB_recoKey);
266 maybeInit (dRWHandle, tool.m_dR_W_truthKey);
267 maybeInit (dRZHandle, tool.m_dR_Z_truthKey);
268 maybeInit (dRHHandle, tool.m_dR_H_truthKey);
269 maybeInit (dRTopHandle, tool.m_dR_Top_truthKey);
270 maybeInit (dRWRecoHandle, tool.m_dR_W_recoKey);
271 maybeInit (dRZRecoHandle, tool.m_dR_Z_recoKey);
272 maybeInit (dRHRecoHandle, tool.m_dR_H_recoKey);
273 maybeInit (dRTopRecoHandle, tool.m_dR_Top_recoKey);
274 maybeInit (split23Handle, tool.m_truthSplit23_recoKey);
275 maybeInit (split12Handle, tool.m_truthSplit12_recoKey);
276
277 maybeInit (matchedTruthJetMassHandle, tool.m_matchedTruthJetMass_recoKey);
278 maybeInit (matchedTruthJetPtHandle, tool.m_matchedTruthJetPt_recoKey);
279 maybeInit (matchedTruthJetEtaHandle, tool.m_matchedTruthJetEta_recoKey);
280 maybeInit (matchedTruthJetPhiHandle, tool.m_matchedTruthJetPhi_recoKey);
281 maybeInit (matchedTruthJetDRHandle, tool.m_matchedTruthJetDR_recoKey);
282 maybeInit (matchedTruthJetGFHandle, tool.m_matchedTruthJetGF_recoKey);
283
284 maybeInit (matchedTruthGroomedMassHandle, tool.m_matchedTruthGroomedJetMass_recoKey);
285 maybeInit (matchedTruthGroomedPtHandle, tool.m_matchedTruthGroomedJetPt_recoKey);
286}

Member Data Documentation

◆ dRHHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRHHandle

Definition at line 91 of file JetTruthLabelingTool.h.

◆ dRHRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRHRecoHandle

Definition at line 95 of file JetTruthLabelingTool.h.

◆ dRTopHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRTopHandle

Definition at line 92 of file JetTruthLabelingTool.h.

◆ dRTopRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRTopRecoHandle

Definition at line 96 of file JetTruthLabelingTool.h.

◆ dRWHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRWHandle

Definition at line 89 of file JetTruthLabelingTool.h.

◆ dRWRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRWRecoHandle

Definition at line 93 of file JetTruthLabelingTool.h.

◆ dRZHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRZHandle

Definition at line 90 of file JetTruthLabelingTool.h.

◆ dRZRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRZRecoHandle

Definition at line 94 of file JetTruthLabelingTool.h.

◆ labelHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::labelHandle

Definition at line 83 of file JetTruthLabelingTool.h.

◆ labelRecoHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::labelRecoHandle

Definition at line 85 of file JetTruthLabelingTool.h.

◆ matchedTruthGroomedMassHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthGroomedMassHandle

Definition at line 105 of file JetTruthLabelingTool.h.

◆ matchedTruthGroomedPtHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthGroomedPtHandle

Definition at line 106 of file JetTruthLabelingTool.h.

◆ matchedTruthJetDRHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetDRHandle

Definition at line 103 of file JetTruthLabelingTool.h.

◆ matchedTruthJetEtaHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetEtaHandle

Definition at line 101 of file JetTruthLabelingTool.h.

◆ matchedTruthJetGFHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetGFHandle

Definition at line 104 of file JetTruthLabelingTool.h.

◆ matchedTruthJetMassHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetMassHandle

Definition at line 99 of file JetTruthLabelingTool.h.

◆ matchedTruthJetPhiHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetPhiHandle

Definition at line 102 of file JetTruthLabelingTool.h.

◆ matchedTruthJetPtHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::matchedTruthJetPtHandle

Definition at line 100 of file JetTruthLabelingTool.h.

◆ nbHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::nbHandle

Definition at line 84 of file JetTruthLabelingTool.h.

◆ nbRecoHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::nbRecoHandle

Definition at line 86 of file JetTruthLabelingTool.h.

◆ split12Handle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::split12Handle

Definition at line 98 of file JetTruthLabelingTool.h.

◆ split23Handle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::split23Handle

Definition at line 97 of file JetTruthLabelingTool.h.


The documentation for this struct was generated from the following files: