10#include <tracking/trackFindingCDC/display/Mapping.h>
12#include <tracking/trackingUtilities/rootification/StoreWrappedObjPtr.h>
25 namespace TrackingUtilities {
29 namespace TrackFindingCDC {
35 std::string
map(
int index,
const CDCHit& hit)
override;
45 std::string
map(
int index,
const CDCHit& hit)
override;
55 std::string
map(
int index,
const CDCHit& hit)
override;
66 std::string
map(
int index,
const CDCHit& hit)
override;
69 std::string
info()
override;
76 std::string
map(
int index,
const CDCHit& hit)
override;
79 std::string
info()
override;
86 std::string
map(
int index,
const CDCHit& hit)
override;
89 std::string
info()
override;
96 std::string
map(
int index,
const CDCHit& hit)
override;
103 std::string
map(
int index,
const CDCHit& hit)
override;
113 std::string
map(
int index,
const CDCHit& hit)
override;
123 std::string
map(
int index,
const CDCHit& hit)
override;
126 std::string
info()
override;
145 std::string
map(
int index,
const CDCHit& hit)
override;
148 std::string
info()
override;
155 std::string
map(
int index,
const CDCHit& hit)
override;
158 std::string
info()
override;
165 std::string
map(
int index,
const CDCHit& hit)
override;
168 std::string
info()
override;
175 std::string
map(
int index,
const CDCHit& hit)
override;
182 std::string
map(
int index,
const CDCHit& hit)
override;
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
CDCHit to color map by their associated CDCSimHit::getBackgroundTag property.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from CDCSimHit::getBackgroundTag.
CDCHit to color map by the associated MCParticle::getPDG()
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from pdg codes to colors.
int m_iColor
Index of the color to be used next.
std::map< int, std::string > m_usedColors
Mapping of the already used colors by the MCParticle::getArrayId to map later CDCHits to the same col...
std::vector< std::string > m_colors
List of colors to be cycled.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from CDCSimHit::getBackgroundTag.
MCParticleColorMap()
Constructor setting up a Monte Carlo id to color map which is continuously filled as new during the e...
CDCHit to color map by the isPrimary information as well as the secondary process type in case the pa...
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from secondary process codes to colors.
CDCHit to color map by their Monte Carlo segment id.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
Interface defining a mapping of objects to attribute values e.g. a color.
Segment to color map by the number of passed loops.
std::string map(int index, const CDCHit &hit) override
Function call to map a segments object from the local finder to a color.
CDCHit to color map by their associated CDCSimHit::getPosFlag property.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from CDCSimHit::getPosFlag variable to colors.
CDCHit to color map by their local right left passage information from Monte Carlo truth.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from right left passage variable to colors.
CDCHit to color map indicating the reassignment to a different MCParticle.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
CDCHit to color map by CDCSimHit::getBackgroundTag().
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
CDCHit to color map by the associated CDCSimHit::getPDG().
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
std::string info() override
Informal string summarizing the translation from pdg codes to colors.
CDCHit to color map by their associated CDCSimHit::getFlightTime.
std::string timeOfFlightToColor(const double timeOfFlight)
Translates the given floating point time of flight to a color.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
TakenFlagColorMap()
Constructor checking if the CDCWireHits caring the taken flag are accessible.
TrackingUtilities::StoreWrappedObjPtr< std::vector< TrackingUtilities::CDCWireHit > > m_storedWireHits
Memory of the handle to the CDCWireHits on the DataStore.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
CDCHit to color map highlighting the CDCHits with 0 drift length.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a color.
CDCHit to stroke width map highlighting the CDCHits with 0 drift length.
std::string map(int index, const CDCHit &hit) override
Function call to map the CDCHit id and object to a stroke width.
Class representing a hit wire in the central drift chamber.
This class is for convenience access and registration of objects, that are stored inside the StoreWra...
Abstract base class for different kinds of events.