 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/display/ColorMapping.h>
13 #include <tracking/trackFindingCDC/display/Mapping.h>
23 namespace TrackFindingCDC {
27 using SegmentColorMapping = Mapping<const CDCSegment2D>;
30 using SegmentListColorsColorMap = DefaultColorCycleMapping<const CDCSegment2D>;
33 class SegmentMCTrackIdColorMap :
public SegmentColorMapping {
40 std::string
map(
int index,
const CDCSegment2D& segment)
override;
std::vector< std::string > m_colors
List of colors to be cycled through.
Segment to color map by the number of passed superlayers of the first hit.
Segment to color map by the in track id of the last hit.
Segment to color map by the number of passed superlayers of the last hit.
Interface defining a mapping of objects to attribute values e.g. a color.
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::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
Abstract base class for different kinds of events.
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.
std::string map(int index, const CDCSegment2D &segment) override
Function call to map a segments object from the local finder to a color.
A reconstructed sequence of two dimensional hits in one super layer.
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.