Belle II Software development
|
Segment to color map based on the matched MCTrackId. More...
#include <SegmentColorMapping.h>
Public Member Functions | |
SegmentMCTrackIdColorMap () | |
Constructor. | |
std::string | map (int index, const CDCSegment2D &segment) override |
Function call to map a segments object from the local finder to a color. | |
virtual std::string | map (int index, T &t) |
Main function returning an attribute value for an object at the given index. | |
virtual std::string | info () |
Informal string summarizing the translation from the object to the attribute value. | |
Private Attributes | |
std::vector< std::string > | m_colors |
List of colors to be cycled through. | |
Segment to color map based on the matched MCTrackId.
Definition at line 31 of file SegmentColorMapping.h.
Constructor.
Definition at line 28 of file SegmentColorMapping.cc.
|
inlinevirtualinherited |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented in RLColorMap, PosFlagColorMap, BackgroundTagColorMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, SimHitPDGCodeColorMap, ConstantMapping< T >, CycleMapping< T >, CycleMapping< AObject >, RecoTrackMatchingStatusColorMap, and MCRecoTrackMatchingStatusColorMap.
Definition at line 37 of file Mapping.h.
|
override |
Function call to map a segments object from the local finder to a color.
Definition at line 33 of file SegmentColorMapping.cc.
|
inlinevirtualinherited |
Main function returning an attribute value for an object at the given index.
Reimplemented in ZeroDriftLengthStrokeWidthMap, ZeroDriftLengthColorMap, TakenFlagColorMap, RLColorMap, PosFlagColorMap, BackgroundTagColorMap, MCSegmentIdColorMap, TOFColorMap, ReassignedSecondaryMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, SimHitPDGCodeColorMap, SimHitIsBkgColorMap, NLoopsColorMap, ConstantMapping< T >, and CycleMapping< T >.
Definition at line 30 of file Mapping.h.
|
private |
List of colors to be cycled through.
Definition at line 42 of file SegmentColorMapping.h.