 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/varsets/VarSet.h>
13 #include <tracking/trackFindingCDC/varsets/VarNames.h>
20 namespace TrackFindingCDC {
25 static char const*
const fitSegmentPairVarNames[] = {
38 struct FitSegmentPairVarNames :
public VarNames<CDCSegmentPair> {
41 static const size_t nVars = size(fitSegmentPairVarNames);
44 static constexpr
char const*
getName(
int iName)
46 return fitSegmentPairVarNames[iName];
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
static constexpr char const * getName(int iName)
Getter for the name at the given index.
Class to compute floating point variables from an axial stereo segment pair which can be recorded as ...
VarSet< FitSegmentPairVarNames > Super
Type of the base class.
std::vector< Named< Float_t * > > getNamedVariables()
Getter for the named references to the individual variables.
Abstract base class for different kinds of events.
FitSegmentPairVarSet(bool preliminaryFit=false)
Construct the varset with a switch to only do the prelimiary axial stereo fusion fit.
static const size_t nVars
Number of variables to be generated.
bool m_preliminaryFit
Indicator that only the prelimiary fit should be used.
bool extract(const CDCSegmentPair *ptrSegmentPair) final
Generate and assign the contained variables.
Generic class that generates some named float values from a given object.