8#include <tracking/trackFindingCDC/display/Styling.h>
9#include <tracking/trackFindingCDC/display/HitColorMapping.h>
10#include <tracking/trackFindingCDC/display/SegmentColorMapping.h>
11#include <tracking/trackFindingCDC/display/RecoTrackColorMapping.h>
14using namespace TrackFindingCDC;
16std::unique_ptr<ChooseableRecoTrackStyling::ObjectMapping>
19 if (mappingName ==
"ListColors") {
20 return std::make_unique<RecoTrackListColorsColorMap>();
21 }
else if (mappingName ==
"MatchingStatus") {
22 return std::make_unique<RecoTrackMatchingStatusColorMap>();
23 }
else if (mappingName ==
"MCMatchingStatus") {
24 return std::make_unique<MCRecoTrackMatchingStatusColorMap>();
30std::unique_ptr<ChooseableSegmentStyling::ObjectMapping>
33 if (mappingName ==
"SegmentMCTrackIdColorMap") {
34 return std::make_unique<SegmentMCTrackIdColorMap>();
35 }
else if (mappingName ==
"SegmentFBInfoColorMap") {
36 return std::make_unique<SegmentFBInfoColorMap>();
37 }
else if (mappingName ==
"SegmentFirstInTrackIdColorMap") {
38 return std::make_unique<SegmentFirstInTrackIdColorMap>();
39 }
else if (mappingName ==
"SegmentLastInTrackIdColorMap") {
40 return std::make_unique<SegmentLastInTrackIdColorMap>();
41 }
else if (mappingName ==
"SegmentFirstNPassedSuperLayersColorMap") {
42 return std::make_unique<SegmentFirstNPassedSuperLayersColorMap>();
43 }
else if (mappingName ==
"SegmentLastNPassedSuperLayersColorMap") {
44 return std::make_unique<SegmentLastNPassedSuperLayersColorMap>();
45 }
else if (mappingName ==
"ListColors") {
46 return std::make_unique<SegmentListColorsColorMap>();
52std::unique_ptr<ChooseableHitStyling::ObjectMapping>
55 if (mappingName ==
"ZeroDriftLengthColorMap") {
56 return std::make_unique<ZeroDriftLengthColorMap>();
57 }
else if (mappingName ==
"ZeroDriftLengthStrokeWidthMap") {
58 return std::make_unique<ZeroDriftLengthStrokeWidthMap>();
59 }
else if (mappingName ==
"TakenFlagColorMap") {
60 return std::make_unique<TakenFlagColorMap>();
61 }
else if (mappingName ==
"RLColorMap") {
62 return std::make_unique<RLColorMap>();
63 }
else if (mappingName ==
"PosFlagColorMap") {
64 return std::make_unique<PosFlagColorMap>();
65 }
else if (mappingName ==
"BackgroundTagColorMap") {
66 return std::make_unique<BackgroundTagColorMap>();
67 }
else if (mappingName ==
"MCSegmentIdColorMap") {
68 return std::make_unique<MCSegmentIdColorMap>();
69 }
else if (mappingName ==
"TOFColorMap") {
70 return std::make_unique<TOFColorMap>();
71 }
else if (mappingName ==
"ReassignedSecondaryMap") {
72 return std::make_unique<ReassignedSecondaryMap>();
73 }
else if (mappingName ==
"MCParticleColorMap") {
74 return std::make_unique<MCParticleColorMap>();
75 }
else if (mappingName ==
"MCPDGCodeColorMap") {
76 return std::make_unique<MCPDGCodeColorMap>();
77 }
else if (mappingName ==
"MCPrimaryColorMap") {
78 return std::make_unique<MCPrimaryColorMap>();
79 }
else if (mappingName ==
"SimHitPDGCodeColorMap") {
80 return std::make_unique<SimHitPDGCodeColorMap>();
81 }
else if (mappingName ==
"SimHitIsBkgColorMap") {
82 return std::make_unique<SimHitIsBkgColorMap>();
83 }
else if (mappingName ==
"NLoops") {
84 return std::make_unique<NLoopsColorMap>();
std::unique_ptr< ObjectMapping > createMapping(const std::string &mappingName) override
Method defining the available mapping names.
std::unique_ptr< ObjectMapping > createMapping(const std::string &mappingName) override
Method defining the available mapping names.
std::unique_ptr< ObjectMapping > createMapping(const std::string &mappingName) override
Method defining the available mapping names.
virtual std::unique_ptr< ObjectMapping > createMapping(const std::string &mappingName)
Create a mapping for the object from a name.
Abstract base class for different kinds of events.