 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/filters/segmentTripleRelation/BaseSegmentTripleRelationFilter.h>
12 #include <tracking/trackFindingCDC/eventdata/tracks/CDCSegmentTriple.h>
14 #include <tracking/trackFindingCDC/filters/base/RelationFilter.icc.h>
16 #include <tracking/trackFindingCDC/utilities/VectorRange.h>
17 #include <tracking/trackFindingCDC/utilities/Functional.h>
24 using namespace TrackFindingCDC;
34 const std::vector<const CDCSegmentTriple*>& segmentTriples)
const
36 assert(std::is_sorted(segmentTriples.begin(), segmentTriples.end(),
LessOf<Deref>()) &&
37 "Expected segment triples to be sorted");
42 std::equal_range(segmentTriples.begin(), segmentTriples.end(), &endSegment,
LessOf<Deref>())};
43 return {neighbors.
begin(), neighbors.end()};
Iterator begin() const
Begin of the range for range based for.
~BaseSegmentTripleRelationFilter()
Default destructor.
Functor factory turning a binary functor and two functors into a new functor which executes the binar...
BaseSegmentTripleRelationFilter()
Default constructor.
const CDCAxialSegment2D * getEndSegment() const
Getter for the end axial segment.
Abstract base class for different kinds of events.
A pair of iterators usable with the range base for loop.
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a triple of reconstructed segements in adjacent superlayer.
std::vector< const CDCSegmentTriple * > getPossibleTos(const CDCSegmentTriple *from, const std::vector< const CDCSegmentTriple * > &segmentTriples) const final
Returns the segment triples form the range that continue on the to site of the given segment triple.