8#include <tracking/ckf/pxd/filters/states/AllPXDStateFilter.h>
9#include <tracking/ckf/pxd/entities/CKFToPXDState.h>
14using namespace TrackFindingCDC;
19 const std::vector<TrackFindingCDC::WithWeight<const CKFToPXDState*>>& previousStates = pair.first;
22 if (previousStates.size() < 3) {
27 const CKFToPXDState* previousToPreviousState = previousStates[previousStates.size() - 2];
33 if (std::count(previousStates.begin(), previousStates.end(), currentState)) {
34 B2FATAL(
"Have found a cycle!");
TrackFindingCDC::Weight operator()(const BasePXDStateFilter::Object &pair) override
Function to evaluate the object.
Specialized CKF State for extrapolating into the PXD.
unsigned int getGeometricalLayer() const
Extract the real layer this state sits on.
AObject Object
Type of the object to be analysed.
Abstract base class for different kinds of events.