8#include <tracking/trackFindingCDC/filters/segmentPairRelation/FitSegmentPairRelationVarSet.h>
10#include <tracking/trackingUtilities/eventdata/tracks/CDCSegmentPair.h>
13using namespace TrackFindingCDC;
14using namespace TrackingUtilities;
18 if (not ptrSegmentPairRelation)
return false;
20 const CDCSegmentPair* fromSegmentPair = ptrSegmentPairRelation->first;
21 const CDCSegmentPair* toSegmentPair = ptrSegmentPairRelation->second;
47 finitevar<
named(
"chi2_per_ndf")>() = std::fabs(commonHelix.chi2()) / commonHelix.ndf();
48 finitevar<
named(
"p_value")>() = TMath::Prob(commonHelix.chi2(), commonHelix.ndf());
bool extract(const TrackingUtilities::Relation< const TrackingUtilities::CDCSegmentPair > *ptrSegmentPairRelation) final
Generate and assign the contained variables.
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.
Type for two related objects.
static UncertainHelix average(const UncertainHelix &fromHelix, const UncertainHelix &toHelix)
Construct the averages of the two given helices by properly considering their covariance matrix.
AssignFinite< Float_t > finitevar()
static constexpr int named(const char *name)
double z() const
Getter for the z coordinate.
This class represents an ideal helix in perigee parameterization including the covariance matrix of t...
HepGeom::Vector3D< double > Vector3D
3D Vector
Namespace to hide the contained enum constants.
Abstract base class for different kinds of events.