10#include <tracking/trackFindingCDC/varsets/VarSet.h>
11#include <tracking/trackFindingCDC/varsets/VarNames.h>
18 namespace TrackFindingCDC {
19 class CDCWireHitCluster;
23 static char const*
const bkgTruthClusterNames[] = {
24 "n_background_hits_truth",
25 "background_fraction_truth",
37 static const size_t nVars = size(bkgTruthClusterNames);
40 static constexpr char const*
getName(
int iName)
42 return bkgTruthClusterNames[iName];
Class to compute floating point variables from a wire hit cluster which can be recorded as a flat TNt...
void initialize() override
Signal the initialisation of the event processing - requires the Monte Carlo information.
void beginEvent() override
Signal the beginning of a new event - loads the Monte Carlo information.
bool extract(const CDCWireHitCluster *ptrCluster) final
Generate and assign the contained variables.
An aggregation of CDCWireHits.
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.