10#include <tracking/trackFindingCDC/varsets/VarSet.h>
11#include <tracking/trackFindingCDC/varsets/VarNames.h>
13#include <framework/dataobjects/EventMetaData.h>
14#include <framework/datastore/StoreObjPtr.h>
21 namespace TrackFindingCDC {
25 constexpr static char const*
const bestMatchedTruthVarNames[] = {
29 "truth_track_is_fake",
30 "truth_track_is_matched",
32 "truth_track_is_clone",
45 static const size_t nVars = size(bestMatchedTruthVarNames);
48 static constexpr char const*
getName(
int iName)
50 return bestMatchedTruthVarNames[iName];
Type-safe access to single objects in the data store.
Class to compute floating point variables from a track which can be recorded as a flat TNtuple or ser...
VarSet< BestMatchedTruthVarNames > Super
Type of the base class.
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.
StoreObjPtr< EventMetaData > m_eventMetaData
Pointer to the store array object with the EventMetaData.
bool extract(const CDCTrack *ptrCDCTrack) override
Generate and assign the contained variables.
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.