8#include <tracking/trackFindingCDC/filters/segmentPairRelation/FitSegmentPairRelationVarSet.h>
10#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
13using namespace TrackFindingCDC;
17 if (not ptrSegmentPairRelation)
return false;
19 const CDCSegmentPair* fromSegmentPair = ptrSegmentPairRelation->first;
20 const CDCSegmentPair* toSegmentPair = ptrSegmentPairRelation->second;
39 using namespace NHelixParameterIndices;
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.
const UncertainHelix & getLocalHelix() const
Getter for the helix in local coordinates.
double setLocalOrigin(const Vector3D &localOrigin)
Setter for the origin of the local coordinate system.
Vector3D getSupport() const
Getter for the support point of the trajectory in global coordinates, where arcLength2D = 0.
bool extract(const Relation< const CDCSegmentPair > *ptrSegmentPairRelation) final
Generate and assign the contained variables.
bool isInvalid() const
Indicates if the stored parameter combination designates a valid helix.
double tanLambda() const
Getter for the proportinality factor from arc length in xy space to z.
double curvatureXY() const
Getter for the signed curvature in the xy projection.
Type for two related objects.
A general helix class including a covariance matrix.
double variance(const EHelixParameter &i) const
Getter for individual diagonal elements of the covariance matrix.
static UncertainHelix average(const UncertainHelix &fromHelix, const UncertainHelix &toHelix)
Construct the averages of the two given helices by properly considering their covariance matrix.
double chi2() const
Getter for the chi square value of the helix fit.
std::size_t ndf() const
Getter for the number of degrees of freediom used in the helix fit.
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.