 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/filters/segmentPair/FitSegmentPairVarSet.h>
12 #include <tracking/trackFindingCDC/fitting/CDCAxialStereoFusion.h>
14 #include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
15 #include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectory3D.h>
16 #include <tracking/trackFindingCDC/geometry/HelixParameters.h>
17 #include <tracking/trackFindingCDC/geometry/Vector3D.h>
20 using namespace TrackFindingCDC;
24 , m_preliminaryFit(preliminaryFit)
30 if (not ptrSegmentPair)
return false;
41 Vector3D support3D = fit.getSupport();
47 finitevar<
named(
"curv")>() = fit.isFitted() ? fit.getCurvatureXY() : NAN;
51 using namespace NHelixParameterIndices;
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
void reconstructFuseTrajectories(const CDCSegmentPair &segmentPair)
Combine the two trajectories of the segments in the pair and assign the resulting three dimensional t...
AssignFinite< Float_t > finitevar()
Reference getter for the value of the ith variable. Transforms non-finite values to finite value.
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.
A three dimensional vector.
Utility class implementing the Kalmanesk combination of to two dimensional trajectories to one three ...
bool m_preliminaryFit
Indicator that only the prelimiary fit should be used.
bool extract(const CDCSegmentPair *ptrSegmentPair) final
Generate and assign the contained variables.
CDCTrajectory3D & getTrajectory3D() const
Getter for the three dimensional trajectory.
constexpr static int named(const char *name)
Getter for the index from the name.
void fusePreliminary(const CDCSegmentPair &segmentPair)
Fit the given segment pair using the preliminary helix fit without proper covariance matrix.
double z() const
Getter for the z coordinate.
Particle full three dimensional trajectory.