![]() |
Belle II Software
release-08-02-04
|
CDCHit to color map by their assoziated MCParticle::getArrayId() property. More...
#include <HitColorMapping.h>


Public Member Functions | |
| MCParticleColorMap () | |
| Constructor setting up a Monte Carlo id to color map which is continously filled as new during the event. | |
| std::string | map (int index, const CDCHit &hit) override |
| Function call to map the CDCHit id and object to a color. | |
| std::string | info () override |
| Informal string summarizing the translation from CDCSimHit::getBackgroundTag. | |
Private Attributes | |
| std::vector< std::string > | m_colors |
| List of colors to be cycled. | |
| int | m_iColor |
| Index of the color to be used next. | |
| std::map< int, std::string > | m_usedColors |
| Mapping of the already used colors by the MCParticle::getArrayId to map later CDCHits to the same color. | |
CDCHit to color map by their assoziated MCParticle::getArrayId() property.
Definition at line 115 of file HitColorMapping.h.