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 advancedSegmentVarNames[] = {
30 "number_of_hit_layers",
32 "total_number_of_neighbors",
33 "mean_number_of_neighbors",
37 "variance_drift_length",
39 "total_inner_distance",
40 "mean_inner_distance",
41 "distance_to_superlayer_center",
47 "number_of_taken_hits",
60 static const size_t nVars = TrackingUtilities::size(advancedSegmentVarNames);
63 static constexpr char const*
getName(
int iName)
65 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 TrackingUtilities::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.