8#include <tracking/ckf/cdc/filters/states/DistanceCDCStateFilter.h>
10#include <tracking/ckf/cdc/entities/CDCCKFState.h>
11#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
17 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalDistance"),
26 double dist = std::abs(state.getHitDistance());
Define states for CKF algorithm, which can be seed track or CDC wire hit.
double m_maximalDistance
Cut value for maximal distance.
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
Return the weight based on the distance.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
The Module parameter list class.
std::pair< const CDCCKFPath *, CDCCKFState * > Object
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.