10#include <tracking/trackingUtilities/findlets/base/Findlet.h>
12#include <tracking/trackFindingCDC/fitting/CDCRiemannFitter.h>
14#include <tracking/trackFindingCDC/eventdata/utils/DriftLengthEstimator.h>
25 namespace TrackingUtilities {
28 namespace TrackFindingCDC {
49 void apply(
std::
vector<TrackingUtilities::CDCSegment2D>& outputSegments) final;
53 void refit(TrackingUtilities::CDCSegment2D& segment,
bool reestimate);
The Module parameter list class.
Class implementing the Riemann fit for two dimensional trajectory circle.
Resolves between the potential alias versions of the segments and contained hits.
DriftLengthEstimator m_driftLengthEstimator
Instance of the drift length estimator to be used.
TrackingUtilities::Findlet< TrackingUtilities::CDCSegment2D & > Super
Type of the base class.
bool m_middleAliases
Switch whether the hits in the middle with lowest drift radius should be aliased.
void apply(std::vector< TrackingUtilities::CDCSegment2D > &outputSegments) final
Main algorithm applying the fit to each segment.
void initialize() final
Signals the beginning of the event processing.
bool m_param_reestimatePositions
Parameter : Switch to restimate the reconstructed positions with a pass of facets.
std::vector< std::string > m_param_investigateAlias
Parameter : Which alias resolutions should be applied.
bool m_param_reestimateDriftLength
Parameter : Switch to reestimate the drift length before each fit.
void refit(TrackingUtilities::CDCSegment2D &segment, bool reestimate)
Fit the alias segment.
bool m_fullAlias
Switch whether the complete segment should be aliased.
std::string getDescription() final
Short description of the findlet.
bool m_borderAliases
Switch whether the border hits at the beginning and the end should be aliased.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
CDCRiemannFitter m_riemannFitter
Instance of the riemann fitter to be used.
bool m_crossAliases
Switch whether the segment should be aliased at the waist where an rl side switch was missed.
A reconstructed sequence of two dimensional hits in one super layer.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Abstract base class for different kinds of events.
Helper construct implementing the (re)estimation of the drift length for various hit objects.