10#include <tracking/trackFindingCDC/varsets/VarSet.h>
11#include <tracking/trackFindingCDC/varsets/VarNames.h>
18 namespace TrackFindingCDC {
23 static char const*
const truthTrackTruthVarNames[] = {
24 "track_is_fake_truth",
35 static const size_t nVars = size(truthTrackTruthVarNames);
38 static constexpr char const*
getName(
int iName)
40 return truthTrackTruthVarNames[iName];
Class representing a sequence of three dimensional reconstructed hits.
Class to compute floating point variables from a track which can be recorded as a flat TNtuple or ser...
void initialize() final
Require the Monte Carlo truth information at initialisation.
void beginEvent() final
Prepare the Monte Carlo truth information at start of the event.
VarSet< TruthTrackVarNames > Super
Type of the base class.
bool extract(const CDCTrack *track) override
Generate and assign the contained variables.
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.