8#include <tracking/trackFindingCDC/filters/trackRelation/FitTrackRelationVarSet.h>
10#include <tracking/trackingUtilities/eventdata/tracks/CDCTrack.h>
13using namespace TrackFindingCDC;
14using namespace TrackingUtilities;
18 if (not ptrTrackRelation)
return false;
20 const CDCTrack* fromTrack = ptrTrackRelation->first;
21 const CDCTrack* toTrack = ptrTrackRelation->second;
47 finitevar<
named(
"chi2_per_ndf")>() = std::fabs(commonHelix.chi2()) / commonHelix.ndf();
48 finitevar<
named(
"p_value")>() = TMath::Prob(commonHelix.chi2(), commonHelix.ndf());
49 finitevar<
named(
"p_value_cut")>() = TMath::Prob(commonHelix.chi2(), commonHelix.ndf()) < 0.02;
bool extract(const TrackingUtilities::Relation< const TrackingUtilities::CDCTrack > *ptrTrackRelation) final
Generate and assign the contained variables.
Class representing a sequence of three dimensional reconstructed hits.
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.