Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 using LIMap = std::map<std::string, LabelIndex *>;
19 LabelIndex::LabelIndex(
Label nam) : m_name(std::move(nam)) { }
42 if (
idx < 1 )
return "";
59 if (
m_labs[jdx] == lab )
return jdx + 1;
xAOD::JetConstitScale constitScale(Index idx) const
Fetch the constit scale corresponding to the index.
IndexedConstituentUserInfo::Label Label
std::map< std::string, LabelIndex * > LIMap
const Label & name() const
Return the name of this map.
Label label(Index idx) const
Fetch the label for an index.
LabelIndex(Label nam)
Ctor.
std::vector< Label > m_labs
IndexedConstituentUserInfo::Index Index
Index addLabel(const Label &lab)
Add a label and get its index.
std::vector< xAOD::JetConstitScale > m_constitScales
Index index(const Label &lab) const
Fetch the index for a label.
@ CalibratedJetConstituent
@ UncalibratedJetConstituent
Index size() const
Number of label stored in this map. WARNING the index starts at 1, so range is [1....
LabelIndex & operator=(const Label &nam)