#include <LabelIndex.h>
|  | 
| typedef std::string | Label | 
|  | 
| typedef unsigned int | Index | 
|  | 
Definition at line 22 of file LabelIndex.h.
 
◆ Index
◆ Label
◆ LabelIndex() [1/2]
  
  | 
        
          | LabelIndex::LabelIndex | ( | Label | nam | ) |  |  | explicit | 
 
 
◆ LabelIndex() [2/2]
◆ addLabel()
Add a label and get its index. 
Current index is returned if the label is already indexed. Return 0 for error. 
Definition at line 23 of file LabelIndex.cxx.
 
 
◆ constitScale()
Fetch the constit scale corresponding to the index. 
Definition at line 49 of file LabelIndex.cxx.
 
 
◆ index()
Fetch the index for a label. 
Returns "" for error, e.g. unknown label. 
Definition at line 57 of file LabelIndex.cxx.
   59     if ( 
m_labs[jdx] == lab ) 
return jdx + 1;
 
 
 
 
◆ label()
Fetch the label for an index. 
Returns "" for error, e.g. unused index. 
Definition at line 41 of file LabelIndex.cxx.
   42   if ( 
idx < 1 ) 
return "";
 
 
 
 
◆ name()
◆ operator=()
◆ size()
      
        
          | Index LabelIndex::size | ( |  | ) | const | 
      
 
Number of label stored in this map. WARNING the index starts at 1, so range is [1...size()+1]. 
Definition at line 76 of file LabelIndex.cxx.
 
 
◆ m_constitScales
◆ m_labs
  
  | 
        
          | std::vector<Label> jet::LabelIndex::m_labs |  | private | 
 
 
◆ m_name
  
  | 
        
          | Label jet::LabelIndex::m_name |  | private | 
 
 
The documentation for this class was generated from the following files: