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. | |
CDCHit to color map by their associated CDCSimHit::getFlightTime.
Definition at line 98 of file HitColorMapping.h.
|
inlinevirtualinherited |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented in RLColorMap, PosFlagColorMap, BackgroundTagColorMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, and SimHitPDGCodeColorMap.
Definition at line 37 of file Mapping.h.
|
overridevirtual |
Function call to map the CDCHit id and object to a color.
Reimplemented from Mapping< const CDCHit >.
Definition at line 200 of file HitColorMapping.cc.
std::string timeOfFlightToColor | ( | const double | timeOfFlight | ) |
Translates the given floating point time of flight to a color.
Definition at line 207 of file HitColorMapping.cc.