8#include <tracking/ckf/cdc/filters/states/RoughCDCStateFilter.h>
10#include <tracking/ckf/cdc/entities/CDCCKFState.h>
11#include <tracking/ckf/cdc/entities/CDCCKFPath.h>
13#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
14#include <framework/core/ModuleParamList.h>
26 if (arcLength <= 0 or arcLength > 20) {
41 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalHitDistance"),
43 "Maximal allowed hit distance",
Define states for CKF algorithm, which can be seed track or CDC wire hit.
double getHitDistance() const
Return hit distance to the trajectory.
double getArcLength() const
Return the arc-length along the tracjectory to the hit.
The Module parameter list class.
double m_maximalHitDistance
maximal distance from track to trajectory (in XY)
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
return 1 if distance < m_maximalHitDistance, NAN otherwise
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
AObject Object
Type of the object to be analysed.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
std::vector< CDCCKFState > CDCCKFPath
Shortcut for the collection of CDC CKF-algorithm states.
Abstract base class for different kinds of events.