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 truthMassHandle
FloatHandleOp_t truthPtHandle
FloatHandleOp_t truthGroomedMassHandle
FloatHandleOp_t truthGroomedPtHandle

Detailed Description

Upper mass cut for Z label.

Definition at line 76 of file JetTruthLabelingTool.h.

Member Typedef Documentation

◆ FloatHandle_t

◆ FloatHandleOp_t

◆ IntHandle_t

◆ IntHandleOp_t

Definition at line 80 of file JetTruthLabelingTool.h.

Constructor & Destructor Documentation

◆ DecorHandles()

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

Definition at line 193 of file JetTruthLabelingTool.cxx.

195{
196 auto maybeInit = [&] (auto& h,
197 const SG::WriteDecorHandleKey<xAOD::JetContainer>& k)
198 {
199 if (!k.key().empty()) h.emplace (k, ctx);
200 };
201 maybeInit (labelHandle, tool.m_label_truthKey);
202 maybeInit (nbHandle, tool.m_NB_truthKey);
203 maybeInit (labelRecoHandle, tool.m_label_recoKey);
204 maybeInit (nbRecoHandle, tool.m_NB_recoKey);
205 maybeInit (dRWHandle, tool.m_dR_W_truthKey);
206 maybeInit (dRZHandle, tool.m_dR_Z_truthKey);
207 maybeInit (dRHHandle, tool.m_dR_H_truthKey);
208 maybeInit (dRTopHandle, tool.m_dR_Top_truthKey);
209 maybeInit (dRWRecoHandle, tool.m_dR_W_recoKey);
210 maybeInit (dRZRecoHandle, tool.m_dR_Z_recoKey);
211 maybeInit (dRHRecoHandle, tool.m_dR_H_recoKey);
212 maybeInit (dRTopRecoHandle, tool.m_dR_Top_recoKey);
213 maybeInit (split23Handle, tool.m_truthSplit23_recoKey);
214 maybeInit (split12Handle, tool.m_truthSplit12_recoKey);
215 maybeInit (truthMassHandle, tool.m_truthJetMass_recoKey);
216 maybeInit (truthPtHandle, tool.m_truthJetPt_recoKey);
217 maybeInit (truthGroomedMassHandle, tool.m_truthGroomedJetMass_recoKey);
218 maybeInit (truthGroomedPtHandle, tool.m_truthGroomedJetPt_recoKey);
219}

Member Data Documentation

◆ dRHHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRHHandle

Definition at line 89 of file JetTruthLabelingTool.h.

◆ dRHRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRHRecoHandle

Definition at line 93 of file JetTruthLabelingTool.h.

◆ dRTopHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRTopHandle

Definition at line 90 of file JetTruthLabelingTool.h.

◆ dRTopRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRTopRecoHandle

Definition at line 94 of file JetTruthLabelingTool.h.

◆ dRWHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRWHandle

Definition at line 87 of file JetTruthLabelingTool.h.

◆ dRWRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRWRecoHandle

Definition at line 91 of file JetTruthLabelingTool.h.

◆ dRZHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRZHandle

Definition at line 88 of file JetTruthLabelingTool.h.

◆ dRZRecoHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::dRZRecoHandle

Definition at line 92 of file JetTruthLabelingTool.h.

◆ labelHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::labelHandle

Definition at line 81 of file JetTruthLabelingTool.h.

◆ labelRecoHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::labelRecoHandle

Definition at line 83 of file JetTruthLabelingTool.h.

◆ nbHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::nbHandle

Definition at line 82 of file JetTruthLabelingTool.h.

◆ nbRecoHandle

IntHandleOp_t JetTruthLabelingTool::DecorHandles::nbRecoHandle

Definition at line 84 of file JetTruthLabelingTool.h.

◆ split12Handle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::split12Handle

Definition at line 96 of file JetTruthLabelingTool.h.

◆ split23Handle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::split23Handle

Definition at line 95 of file JetTruthLabelingTool.h.

◆ truthGroomedMassHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::truthGroomedMassHandle

Definition at line 99 of file JetTruthLabelingTool.h.

◆ truthGroomedPtHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::truthGroomedPtHandle

Definition at line 100 of file JetTruthLabelingTool.h.

◆ truthMassHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::truthMassHandle

Definition at line 97 of file JetTruthLabelingTool.h.

◆ truthPtHandle

FloatHandleOp_t JetTruthLabelingTool::DecorHandles::truthPtHandle

Definition at line 98 of file JetTruthLabelingTool.h.


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