10#include <tracking/trackFindingCDC/varsets/VarSet.h>
11#include <tracking/trackFindingCDC/varsets/VarNames.h>
18 namespace TrackFindingCDC {
23 static char const*
const advancedSegmentVarNames[] = {
28 "number_of_hit_layers",
30 "total_number_of_neighbors",
31 "mean_number_of_neighbors",
35 "variance_drift_length",
37 "total_inner_distance",
38 "mean_inner_distance",
39 "distance_to_superlayer_center",
45 "number_of_taken_hits",
58 static const size_t nVars = size(advancedSegmentVarNames);
61 static constexpr char const*
getName(
int iName)
63 return advancedSegmentVarNames[iName];
Class to compute floating point variables from a segment which can be recorded as a flat TNtuple or s...
bool extract(const CDCSegment2D *segment) final
Generate and assign the contained variables.
A reconstructed sequence of two dimensional hits in one super layer.
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.