 |
Belle II Software
release-05-01-25
|
10 #include <tracking/ckf/cdc/filters/states/RoughCDCfromEclStateFilter.h>
12 #include <tracking/ckf/cdc/entities/CDCCKFState.h>
13 #include <tracking/ckf/cdc/entities/CDCCKFPath.h>
15 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
16 #include <framework/core/ModuleParamList.h>
28 if (!lastState.
isSeed() and (arcLength >= 0 or arcLength < -20)) {
31 if (lastState.
isSeed() and (arcLength >= 0 or arcLength < -75)) {
51 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalHitDistance"),
53 "Maximal allowed hit distance",
55 moduleParamList->
addParameter(TrackFindingCDC::prefixed(prefix,
"maximalHitDistanceEclSeed"),
57 "Maximal allowed hit distance",
double m_maximalHitDistanceSeed
maximal distance from track to trajectory (in XY) for first hit (ECL -> CDC)
double getArcLength() const
Return the arc-length along the tracjectory to the hit.
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.
std::vector< CDCCKFState > CDCCKFPath
Shortcut for the collection of CDC CKF-algorithm states.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
double getHitDistance() const
Return hit distance to the trajectory.
Define states for CKF algorithm, which can be seed track or CDC wire hit.
The Module parameter list class.
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
return 1 if distance < m_maximalHitDistance, NAN otherwise
double m_maximalHitDistance
maximal distance from track to trajectory (in XY)
bool isSeed() const
Returns true if the state corresponds to the seed track.
AObject Object
Type of the object to be analysed.