32 void addShape(
const std::string& name,
int index)
41 if (it->second == name)
The class for PXD cluster shape index payload.
std::map< int, std::string > m_shapeIndexMap
Map of shape names and indexes.
int getShapeIndex(const std::string &name) const
Returns shape index from name.
ClassDef(PXDClusterShapeIndexPar, 1)
ClassDef, must be the last term before the closing {}.
const std::string & getShapeName(int index) const
Returns shape name from index.
~PXDClusterShapeIndexPar()
Destructor.
PXDClusterShapeIndexPar()
Default constructor.
void addShape(const std::string &name, int index)
Add shape with name and index
const std::map< int, std::string > & getIndexMap() const
Returns shape index from shape string.
Abstract base class for different kinds of events.