 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/varsets/VarSet.h>
13 #include <tracking/trackFindingCDC/varsets/VarNames.h>
20 namespace TrackFindingCDC {
21 class CDCWireHitCluster;
24 static constexpr
char const*
const basicClusterNames[] = {
29 "total_number_of_neighbors",
30 "mean_number_of_neighbors",
34 "variance_drift_length",
36 "total_inner_distance",
37 "mean_inner_distance",
38 "distance_to_superlayer_center",
46 struct BasicClusterVarNames :
public VarNames<CDCWireHitCluster> {
49 static const size_t nVars = size(basicClusterNames);
52 static constexpr
char const*
getName(
int iName)
54 return basicClusterNames[iName];
static constexpr char const * getName(int iName)
Getter for the name at the given index.
Abstract base class for different kinds of events.
bool extract(const CDCWireHitCluster *ptrCluster) final
Generate and assign the contained variables.
Class to compute floating point variables from a wire hit cluster which can be recorded as a flat TNt...
An aggregation of CDCWireHits.
Generic class that generates some named float values from a given object.
static const size_t nVars
Number of variables to be generated.