![]() |
Belle II Software development
|
Interface defining a mapping of objects to attribute values e.g. a color. More...
#include <Mapping.h>
Public Member Functions | |
virtual | ~Mapping ()=default |
Destructor of interfaces should be virtual. | |
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. | |
Interface defining a mapping of objects to attribute values e.g. a color.
|
inlinevirtual |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented in BackgroundTagColorMap, ConstantMapping< T >, CycleMapping< T >, CycleMapping< AObject >, CycleMapping< AObject >, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, MCRecoTrackMatchingStatusColorMap, PosFlagColorMap, RecoTrackMatchingStatusColorMap, RLColorMap, and SimHitPDGCodeColorMap.
Definition at line 37 of file Mapping.h.
|
inlinevirtual |
Main function returning an attribute value for an object at the given index.
Reimplemented in BackgroundTagColorMap, ConstantMapping< T >, CycleMapping< T >, CycleMapping< AObject >, CycleMapping< AObject >, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, MCRecoTrackMatchingStatusColorMap, MCSegmentIdColorMap, NLoopsColorMap, PosFlagColorMap, ReassignedSecondaryMap, RecoTrackMatchingStatusColorMap, RLColorMap, SegmentFBInfoColorMap, SegmentFirstInTrackIdColorMap, SegmentFirstNPassedSuperLayersColorMap, SegmentLastInTrackIdColorMap, SegmentLastNPassedSuperLayersColorMap, SegmentMCTrackIdColorMap, SimHitIsBkgColorMap, SimHitPDGCodeColorMap, TakenFlagColorMap, TOFColorMap, ZeroDriftLengthColorMap, and ZeroDriftLengthStrokeWidthMap.
Definition at line 30 of file Mapping.h.