8#include <tracking/trackFindingCDC/filters/trackRelation/PhiTrackRelationFilter.h>
10#include <tracking/trackingUtilities/eventdata/tracks/CDCTrack.h>
12#include <tracking/trackingUtilities/numerics/Angle.h>
14#include <tracking/trackingUtilities/utilities/StringManipulation.h>
16#include <framework/core/ModuleParamList.templateDetails.h>
19using namespace TrackFindingCDC;
20using namespace TrackingUtilities;
23 const std::string& prefix)
25 moduleParamList->
addParameter(prefixed(prefix,
"maximalPhiDistance"),
27 "Maximal Phi distance below to tracks should be merged.",
The Module parameter list class.
double m_param_maximalPhiDistance
Parameter : The maximal deviation in phi between the trajectories of the track.
TrackingUtilities::Weight operator()(const TrackingUtilities::CDCTrack &fromTrack, const TrackingUtilities::CDCTrack &toTrack) final
Implementation of the phi calculation.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Export all parameters.
Class representing a sequence of three dimensional reconstructed hits.
const CDCTrajectory3D & getStartTrajectory3D() const
Getter for the two dimensional trajectory.
const ROOT::Math::XYZVector & getStartRecoPos3D() const
Getter for the position of the first reconstructed hit.
ROOT::Math::XYZVector getFlightDirection3DAtSupport() const
Get the unit momentum at the start point of the trajectory.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
Abstract base class for different kinds of events.
static double normalised(const double angle)
Normalise an angle to lie in the range from [-pi, pi].