8#include <tracking/ckf/cdc/filters/states/RoughCDCfromEclStateFilter.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 (!lastState.
isSeed() and (arcLength >= 0 or arcLength < -20)) {
29 if (lastState.
isSeed() and (arcLength >= 0 or arcLength < -75)) {
49 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalHitDistance"),
51 "Maximal allowed hit distance",
53 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalHitDistanceEclSeed"),
55 "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.
bool isSeed() const
Returns true if the state corresponds to the seed track.
The Module parameter list class.
double m_maximalHitDistance
maximal distance from track to trajectory (in XY)
double m_maximalHitDistanceSeed
maximal distance from track to trajectory (in XY) for first hit (ECL -> CDC)
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.