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 RLColorMap, PosFlagColorMap, BackgroundTagColorMap, MCParticleColorMap, MCPDGCodeColorMap, MCPrimaryColorMap, SimHitPDGCodeColorMap, ConstantMapping< T >, CycleMapping< T >, CycleMapping< AObject >, RecoTrackMatchingStatusColorMap, and MCRecoTrackMatchingStatusColorMap.
Definition at line 37 of file Mapping.h.
|
inlinevirtual |
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.