13using LIMap = std::map<std::string, LabelIndex *>;
25 if ( idx )
return idx;
42 if ( idx < 1 )
return "";
43 if ( idx-1 >
m_labs.size() )
return "";
59 if (
m_labs[jdx] == lab )
return jdx + 1;
IndexedConstituentUserInfo::Index Index
IndexedConstituentUserInfo::Label Label
std::map< std::string, LabelIndex * > LIMap
LabelIndex(Label nam)
Ctor.
Index addLabel(const Label &lab)
Add a label and get its index.
std::vector< xAOD::JetConstitScale > m_constitScales
const Label & name() const
Return the name of this map.
Index size() const
Number of label stored in this map. WARNING the index starts at 1, so range is [1....
Index index(const Label &lab) const
Fetch the index for a label.
LabelIndex(Label nam)
Ctor.
Label label(Index idx) const
Fetch the label for an index.
LabelIndex & operator=(const Label &nam)
xAOD::JetConstitScale constitScale(Index idx) const
Fetch the constit scale corresponding to the index.
std::vector< Label > m_labs
@ UncalibratedJetConstituent
@ CalibratedJetConstituent