8#include <tracking/trackFindingCDC/eventdata/segments/CDCTangentSegment.h>
10#include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
11#include <tracking/trackFindingCDC/eventdata/hits/CDCTangent.h>
14using namespace TrackFindingCDC;
20 tangentSegment.reserve(facetPath.size() + 1);
21 if (not facetPath.empty()) {
22 for (
const CDCFacet* ptrFacet : facetPath) {
23 if (not ptrFacet)
continue;
31 tangentSegment.push_back(facetPath.back()->getMiddleToEnd());
33 return tangentSegment;
Class representing a triple of neighboring oriented wire with additional trajectory information.
CDCTangent getStartToMiddle() const
Getter for the tangential line including the hits from the first to the second hit.
A segment consisting of adjacent tangents.
static CDCTangentSegment condense(const std::vector< const CDCFacet * > &facetPath)
Takes all distinct tangents from the facets in the path - Note! there is no particular order of the t...
Abstract base class for different kinds of events.