10#include <tracking/trackFindingCDC/display/ColorMapping.h>
11#include <tracking/trackFindingCDC/display/Mapping.h>
21 namespace TrackFindingCDC {
25 using SegmentColorMapping = Mapping<const CDCSegment2D>;
28 using SegmentListColorsColorMap = DefaultColorCycleMapping<const CDCSegment2D>;
A reconstructed sequence of two dimensional hits in one super layer.
Interface defining a mapping of objects to attribute values e.g. a color.
Segment to color map based on the forward or backward alignment relative to the match Monte Carlo tra...
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Segment to color map by the in track id of the first hit.
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Segment to color map by the number of passed superlayers of the first hit.
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Segment to color map by the in track id of the last hit.
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Segment to color map by the number of passed superlayers of the last hit.
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Segment to color map based on the matched MCTrackId.
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.
std::vector< std::string > m_colors
List of colors to be cycled through.
Abstract base class for different kinds of events.