8#include <tracking/trackFindingCDC/filters/segmentPair/FitSegmentPairVarSet.h>
10#include <tracking/trackFindingCDC/fitting/CDCAxialStereoFusion.h>
12#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
13#include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectory3D.h>
14#include <tracking/trackFindingCDC/geometry/HelixParameters.h>
15#include <tracking/trackFindingCDC/geometry/Vector3D.h>
18using namespace TrackFindingCDC;
22 , m_preliminaryFit(preliminaryFit)
28 if (not ptrSegmentPair)
return false;
39 Vector3D support3D = fit.getSupport();
45 finitevar<
named(
"curv")>() = fit.isFitted() ? fit.getCurvatureXY() : NAN;
49 using namespace NHelixParameterIndices;
std::vector< Named< Float_t * > > getNamedVariables()
Getter for the named references to the individual variables.
Utility class implementing the Kalmanesk combination of to two dimensional trajectories to one three ...
void fusePreliminary(const CDCSegmentPair &segmentPair)
Fit the given segment pair using the preliminary helix fit without proper covariance matrix.
void reconstructFuseTrajectories(const CDCSegmentPair &segmentPair)
Combine the two trajectories of the segments in the pair and assign the resulting three dimensional t...
Class representing a pair of one reconstructed axial segment and one stereo segment in adjacent super...
CDCTrajectory3D & getTrajectory3D() const
Getter for the three dimensional trajectory.
Particle full three dimensional trajectory.
bool extract(const CDCSegmentPair *ptrSegmentPair) final
Generate and assign the contained variables.
FitSegmentPairVarSet(bool preliminaryFit=false)
Construct the varset with a switch to only do the prelimiary axial stereo fusion fit.
bool m_preliminaryFit
Indicator that only the prelimiary fit should be used.
AssignFinite< Float_t > finitevar()
Reference getter for the value of the ith variable. Transforms non-finite values to finite value.
static constexpr int named(const char *name)
Getter for the index from the name.
A three dimensional vector.
double z() const
Getter for the z coordinate.
Abstract base class for different kinds of events.