8#include <tracking/ckf/svd/filters/relations/LooseSVDPairFilter.h>
9#include <tracking/trackFindingCDC/filters/base/Filter.icc.h>
11#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
12#include <framework/core/ModuleParamList.templateDetails.h>
15using namespace TrackFindingCDC;
17TrackFindingCDC::Weight
20 const CKFToSVDState::stateCache& currentStateCache = relation.first->getStateCache();
21 const CKFToSVDState::stateCache& nextStateCache = relation.second->getStateCache();
26 if (currentStateCache.geoLayer == nextStateCache.geoLayer) {
32 float phiDiff = currentStateCache.phi - nextStateCache.phi;
33 while (phiDiff > M_PI) phiDiff -= 2. * M_PI;
34 while (phiDiff < -M_PI) phiDiff += 2. * M_PI;
36 if (not currentStateCache.isHitState) {
double m_param_PhiHitHitPrecut
Pre-filter relations in phi between hit states.
double m_param_ThetaOverlayRegionPrecut
Pre-filter relations in theta for overlay.
TrackFindingCDC::Weight operator()(const std::pair< const CKFToSVDState *, const CKFToSVDState * > &relation) override
Return the weight based on azimuthal-angle separation.
double m_param_PhiSeedHitPrecut
Pre-filter relations in phi between seed states and hit states.
double m_param_ThetaHitHitPrecut
Pre-filter relations in theta between hit states.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
The Module parameter list class.
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.