8#include <tracking/trackFindingCDC/filters/segmentPair/FitlessSegmentPairFilter.h>
10#include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentPair.h>
11#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
13#include <tracking/trackFindingCDC/filters/base/FilterOnVarSet.icc.h>
16using namespace TrackFindingCDC;
25 assert(ptrStartSegment);
26 assert(ptrEndSegment);
31 double weight = startSegment.size() + endSegment.size();
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a pair of one reconstructed axial segment and one stereo segment in adjacent super...
const CDCSegment2D * getToSegment() const
Getter for the to segment.
const CDCSegment2D * getFromSegment() const
Getter for the from segment.
Convenience template to create a filter operating on a specific set of variables.
virtual Weight operator()(const Object &obj)
Function to evaluate the object.
Weight operator()(const CDCSegmentPair &segmentPair) final
Checks if a pair of segments is a good combination.
Abstract base class for different kinds of events.