ATLAS Offline Software
Loading...
Searching...
No Matches
BaseIndexedConstituentUserInfo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// BaseIndexedConstituentUserInfo.cxx
6
8#include "JetEDM/LabelIndex.h"
9
10//**********************************************************************
11
14
15//**********************************************************************
16
20
21//**********************************************************************
22
26
27//**********************************************************************
28
31 if ( m_pli == nullptr ) return "";
32 return m_pli->label(abs(m_idx));
33}
34
35//**********************************************************************
36
41
42//**********************************************************************
43
47
48//**********************************************************************
49
51 // valid m_idx are guaranteed to be != 0 when constructed by LabelIndex
52 return m_idx < 0;
53}
54
55//**********************************************************************
56
58 if ( m_pli == nullptr ) return xAOD::CalibratedJetConstituent;
59 return m_pli->constitScale( abs(m_idx) );
60}
61
62//**********************************************************************
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
const LabelIndex * labelMap() const
Return the index-to-label map.
bool isGhost() const
Returns true if this constituent is a ghost.
const SG::AuxElement * element() const
Return the particle pointer.
xAOD::JetConstitScale constitScale() const
Return the constituent scale used to build the PseudoJet.
virtual const xAOD::IParticle * particle() const =0
JetConstitScale
Definition JetTypes.h:20
@ CalibratedJetConstituent
Definition JetTypes.h:22