 |
Belle II Software
release-05-01-25
|
26 class PXDClusterShapeIndexPar:
public TObject {
34 void addShape(
const std::string& name,
int index)
43 if (it->second == name)
55 const std::map<int, std::string>&
getIndexMap()
const
void addShape(const std::string &name, int index)
Add shape with name and index
The class for PXD cluster shape index payload.
std::map< int, std::string > m_shapeIndexMap
Map of shape names and indexes.
ClassDef(PXDClusterShapeIndexPar, 1)
ClassDef, must be the last term before the closing {}.
Abstract base class for different kinds of events.
const std::string & getShapeName(int index) const
Returns shape name from index.
PXDClusterShapeIndexPar()
Default constructor.
const std::map< int, std::string > & getIndexMap() const
Returns shape index from shape string.
~PXDClusterShapeIndexPar()
Destructor.
int getShapeIndex(const std::string &name) const
Returns shape index from name.