ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
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

Definition at line 85 of file JetTruthLabelingTool.h.

◆ FloatHandleOp_t

Definition at line 86 of file JetTruthLabelingTool.h.

◆ IntHandle_t

Definition at line 79 of file JetTruthLabelingTool.h.

◆ 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 179 of file JetTruthLabelingTool.cxx.

181 {
182  auto maybeInit = [&] (auto& h,
184  {
185  if (!k.key().empty()) h.emplace (k, ctx);
186  };
187  maybeInit (labelHandle, tool.m_label_truthKey);
188  maybeInit (nbHandle, tool.m_NB_truthKey);
189  maybeInit (labelRecoHandle, tool.m_label_recoKey);
190  maybeInit (nbRecoHandle, tool.m_NB_recoKey);
191  maybeInit (dRWHandle, tool.m_dR_W_truthKey);
192  maybeInit (dRZHandle, tool.m_dR_Z_truthKey);
193  maybeInit (dRHHandle, tool.m_dR_H_truthKey);
194  maybeInit (dRTopHandle, tool.m_dR_Top_truthKey);
195  maybeInit (dRWRecoHandle, tool.m_dR_W_recoKey);
196  maybeInit (dRZRecoHandle, tool.m_dR_Z_recoKey);
197  maybeInit (dRHRecoHandle, tool.m_dR_H_recoKey);
198  maybeInit (dRTopRecoHandle, tool.m_dR_Top_recoKey);
199  maybeInit (split23Handle, tool.m_truthSplit23_recoKey);
200  maybeInit (split12Handle, tool.m_truthSplit12_recoKey);
201  maybeInit (truthMassHandle, tool.m_truthJetMass_recoKey);
202  maybeInit (truthPtHandle, tool.m_truthJetPt_recoKey);
203  maybeInit (truthGroomedMassHandle, tool.m_truthGroomedJetMass_recoKey);
204  maybeInit (truthGroomedPtHandle, tool.m_truthGroomedJetPt_recoKey);
205 }

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:
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
JetTruthLabelingTool::DecorHandles::dRTopHandle
FloatHandleOp_t dRTopHandle
Definition: JetTruthLabelingTool.h:90
JetTruthLabelingTool::DecorHandles::split12Handle
FloatHandleOp_t split12Handle
Definition: JetTruthLabelingTool.h:96
JetTruthLabelingTool::DecorHandles::dRWRecoHandle
FloatHandleOp_t dRWRecoHandle
Definition: JetTruthLabelingTool.h:91
JetTruthLabelingTool::DecorHandles::split23Handle
FloatHandleOp_t split23Handle
Definition: JetTruthLabelingTool.h:95
JetTruthLabelingTool::DecorHandles::dRHRecoHandle
FloatHandleOp_t dRHRecoHandle
Definition: JetTruthLabelingTool.h:93
JetTruthLabelingTool::DecorHandles::labelRecoHandle
IntHandleOp_t labelRecoHandle
Definition: JetTruthLabelingTool.h:83
JetTruthLabelingTool::DecorHandles::dRZHandle
FloatHandleOp_t dRZHandle
Definition: JetTruthLabelingTool.h:88
JetTruthLabelingTool::DecorHandles::truthGroomedPtHandle
FloatHandleOp_t truthGroomedPtHandle
Definition: JetTruthLabelingTool.h:100
JetTruthLabelingTool::DecorHandles::truthGroomedMassHandle
FloatHandleOp_t truthGroomedMassHandle
Definition: JetTruthLabelingTool.h:99
extractSporadic.h
list h
Definition: extractSporadic.py:97
JetTruthLabelingTool::DecorHandles::dRHHandle
FloatHandleOp_t dRHHandle
Definition: JetTruthLabelingTool.h:89
JetTruthLabelingTool::DecorHandles::labelHandle
IntHandleOp_t labelHandle
Definition: JetTruthLabelingTool.h:81
JetTruthLabelingTool::DecorHandles::truthMassHandle
FloatHandleOp_t truthMassHandle
Definition: JetTruthLabelingTool.h:97
JetTruthLabelingTool::DecorHandles::nbHandle
IntHandleOp_t nbHandle
Definition: JetTruthLabelingTool.h:82
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
JetTruthLabelingTool::DecorHandles::truthPtHandle
FloatHandleOp_t truthPtHandle
Definition: JetTruthLabelingTool.h:98
JetTruthLabelingTool::DecorHandles::dRWHandle
FloatHandleOp_t dRWHandle
Definition: JetTruthLabelingTool.h:87
h
JetTruthLabelingTool::DecorHandles::dRZRecoHandle
FloatHandleOp_t dRZRecoHandle
Definition: JetTruthLabelingTool.h:92
JetTruthLabelingTool::DecorHandles::dRTopRecoHandle
FloatHandleOp_t dRTopRecoHandle
Definition: JetTruthLabelingTool.h:94
fitman.k
k
Definition: fitman.py:528
JetTruthLabelingTool::DecorHandles::nbRecoHandle
IntHandleOp_t nbRecoHandle
Definition: JetTruthLabelingTool.h:84