10#include <tracking/trackingUtilities/varsets/VarSet.h>
11#include <tracking/trackingUtilities/varsets/VarNames.h>
18 namespace TrackingUtilities {
21 namespace TrackFindingCDC {
25 static char const*
const truthAxialSegmentPairVarNames[] = {
32 "truth_track_fraction",
43 static const size_t nVars = TrackingUtilities::size(truthAxialSegmentPairVarNames);
46 static constexpr char const*
getName(
int iName)
48 return truthAxialSegmentPairVarNames[iName];
69 bool extract(const TrackingUtilities::CDCAxialSegmentPair* ptrAxialSegmentPair) final;
Class to compute floating point variables from an axial stereo segment pair which can be recorded as ...
bool extract(const TrackingUtilities::CDCAxialSegmentPair *ptrAxialSegmentPair) final
Generate and assign the contained variables.
void initialize() final
Require the Monte Carlo information before the event processing starts.
void beginEvent() final
Signal the begin of a new event.
TrackingUtilities::VarSet< TruthAxialSegmentPairVarNames > Super
Type of the base class.
Class representing a pair of reconstructed axial segments in adjacent superlayer.
Class that specifies the names of the variables.
Generic class that generates some named float values from a given object.
Abstract base class for different kinds of events.
Vehicle class to transport the variable names.
static const size_t nVars
Number of variables to be generated.
static constexpr char const * getName(int iName)
Getter for the name at the given index.