Method defining the available mapping names.
54{
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>();
85 } else {
87 }
88}
virtual std::unique_ptr< ObjectMapping > createMapping(const std::string &mappingName)
Create a mapping for the object from a name.