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 truthTrackTruthVarNames[] = {
26 "track_is_fake_truth",
37 static const size_t nVars = TrackingUtilities::size(truthTrackTruthVarNames);
40 static constexpr char const*
getName(
int iName)
42 return truthTrackTruthVarNames[iName];
64 bool extract(const TrackingUtilities::CDCTrack* track) override;
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.
bool extract(const TrackingUtilities::CDCTrack *track) override
Generate and assign the contained variables.
TrackingUtilities::VarSet< TruthTrackVarNames > Super
Type of the base class.
Class representing a sequence of three dimensional reconstructed hits.
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.