10#include <tracking/trackFindingCDC/filters/base/RelationFilter.dcl.h>
11#include <tracking/ckf/pxd/entities/CKFToPXDState.h>
12#include <framework/database/DBObjPtr.h>
13#include <tracking/dbobjects/CKFParameters.h>
21 template <
class AFilter,
class APrefilter = AFilter>
27 using Super::operator();
37 const std::vector<CKFToPXDState*>& states)
const override;
Specialized CKF State for extrapolating into the PXD.
Base filter for CKF PXD states.
double m_layerJumpPtThreshold
This are values that are actually used ('m_param_hitJumping==-1' means parameter is read from DB).
std::string m_prefix
Used to get correct payload.
int m_layerJumpLowPt
This are values that are actually used ('m_param_hitJumping==-1' means parameter is read from DB).
int m_layerJumpHighPt
This are values that are actually used ('m_param_hitJumping==-1' means parameter is read from DB).
int m_param_hitJumping
Parameter: Make it possible to jump over N layers (if set to -1, read from DB).
APrefilter m_prefilter
Loose pre-filter to reject possibleTos.
AFilter m_filter
Filter for rejecting the states.
std::unique_ptr< DBObjPtr< CKFParameters > > m_ckfParameters
LayerJump parameter can be read from DB (use pointer as payload name contains 'prefix')
The Module parameter list class.
Base class for filtering the neighborhood of objects.
TrackFindingCDC::Weight operator()(const CKFToPXDState &from, const CKFToPXDState &to) override
Give a final weight to the possibilities by asking the filter.
void initialize() override
Receive signal before the start of the event processing.
LayerPXDRelationFilter()
Add the filter as listener.
void beginRun() override
Receive signal for the beginning of a new run.
std::vector< CKFToPXDState * > getPossibleTos(CKFToPXDState *from, const std::vector< CKFToPXDState * > &states) const override
Return all states the given state is possible related to.
~LayerPXDRelationFilter()
Default destructor.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the filter.
Abstract base class for different kinds of events.