8#include <tracking/trackFindingCDC/filters/axialSegmentPair/AllAxialSegmentPairFilter.h>
10#include <tracking/trackingUtilities/eventdata/tracks/CDCAxialSegmentPair.h>
12#include <tracking/trackingUtilities/eventdata/segments/CDCSegment2D.h>
15using namespace TrackFindingCDC;
16using namespace TrackingUtilities;
20 const CDCAxialSegment2D* ptrStartSegment = axialSegmentPair.
getStartSegment();
21 const CDCAxialSegment2D* ptrEndSegment = axialSegmentPair.
getEndSegment();
23 assert(ptrStartSegment);
24 assert(ptrEndSegment);
26 const CDCAxialSegment2D& startSegment = *ptrStartSegment;
27 const CDCAxialSegment2D& endSegment = *ptrEndSegment;
29 return startSegment.size() + endSegment.size();
TrackingUtilities::Weight operator()(const TrackingUtilities::CDCAxialSegmentPair &axialSegmentPair) final
Checks if a pair of axial segments is a good combination.
Class representing a pair of reconstructed axial segments in adjacent superlayer.
const CDCAxialSegment2D * getEndSegment() const
Getter for the end segment.
const CDCAxialSegment2D * getStartSegment() const
Getter for the start segment.
Abstract base class for different kinds of events.