![]() |
Belle II Software development
|
CDCHit to color map by their associated CDCSimHit::getFlightTime. More...
#include <HitColorMapping.h>
Public Member Functions | |
| std::string | map (int index, const CDCHit &hit) override |
| Function call to map the CDCHit id and object to a color. | |
| std::string | timeOfFlightToColor (const double timeOfFlight) |
| Translates the given floating point time of flight to a color. | |
| virtual std::string | info () |
| Informal string summarizing the translation from the object to the attribute value. | |
| virtual std::string | info () |
| Informal string summarizing the translation from the object to the attribute value. | |
CDCHit to color map by their associated CDCSimHit::getFlightTime.
Definition at line 100 of file HitColorMapping.h.
|
inlinevirtualinherited |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented in BackgroundTagColorMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, PosFlagColorMap, RLColorMap, and SimHitPDGCodeColorMap.
Definition at line 37 of file Mapping.h.
|
inlinevirtualinherited |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented in BackgroundTagColorMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, PosFlagColorMap, RLColorMap, and SimHitPDGCodeColorMap.
Definition at line 37 of file Mapping.h.
Function call to map the CDCHit id and object to a color.
Reimplemented from Mapping< const CDCHit >.
Definition at line 201 of file HitColorMapping.cc.
| std::string timeOfFlightToColor | ( | const double | timeOfFlight | ) |
Translates the given floating point time of flight to a color.
Definition at line 208 of file HitColorMapping.cc.