10#include <tracking/trackFindingCDC/eventdata/trajectories/CDCTrajectory2D.h>
12#include <tracking/trackFindingCDC/topology/ISuperLayer.h>
13#include <tracking/trackFindingCDC/topology/EStereoKind.h>
22 namespace TrackFindingCDC {
63 const std::vector<T>&
items()
const
84 std::stable_sort(this->begin(), this->end(), [](
const T & recoHit,
const T & otherRecoHit) {
85 return recoHit.getArcLength2D() < otherRecoHit.getArcLength2D();
A sequence of hits limited to one superlayer.
void setTrajectory2D(const CDCTrajectory2D &trajectory2D) const
Setter for the two dimensional trajectory fitted to the segment.
ISuperLayer getISuperLayer() const
Returns the common super layer id of all stored tracking hits.
CDCSegment()=default
Default constructor for ROOT.
bool isAxial() const
Indicator if the underlying wires are axial.
CDCTrajectory2D & getTrajectory2D() const
Getter for the two dimensional trajectory fitted to the segment.
CDCTrajectory2D m_trajectory2D
Memory for the two dimensional trajectory fitted to this segment.
void sortByArcLength2D()
Sort the recoHits according to their perpS information.
EStereoKind getStereoKind() const
Returns the common stereo type of all hits.
void setAliasScore(double aliasScore)
Setter for the flag that this segment may have an aliased version.
const std::vector< T > & items() const
Legacy accessor for the items of the segments, still used in some corners.
double m_aliasScore
Boolean flag to indicate that this segment has a valid alias version.
double getAliasScore() const
Getter for the flag that this segment may have an aliased version.
Particle trajectory as it is seen in xy projection represented as a circle.
Abstract base class for different kinds of events.
static EStereoKind getStereoKind(ISuperLayer iSuperLayer)
Returns the stereo kind of the super layer.
static ISuperLayer getFrom(const T &t)
Returns the superlayer of an object.