Belle II Software  release-08-01-10
CDCSegment< T > Class Template Reference

A sequence of hits limited to one superlayer. More...

#include <CDCSegment.h>

Inheritance diagram for CDCSegment< T >:
Collaboration diagram for CDCSegment< T >:

Public Member Functions

 CDCSegment ()=default
 Default constructor for ROOT.
 
EStereoKind getStereoKind () const
 Returns the common stereo type of all hits. More...
 
bool isAxial () const
 Indicator if the underlying wires are axial.
 
ISuperLayer getISuperLayer () const
 Returns the common super layer id of all stored tracking hits. More...
 
const std::vector< T > & items () const
 Legacy accessor for the items of the segments, still used in some corners.
 
CDCTrajectory2DgetTrajectory2D () const
 Getter for the two dimensional trajectory fitted to the segment.
 
void setTrajectory2D (const CDCTrajectory2D &trajectory2D) const
 Setter for the two dimensional trajectory fitted to the segment.
 
void sortByArcLength2D ()
 Sort the recoHits according to their perpS information.
 
double getAliasScore () const
 Getter for the flag that this segment may have an aliased version.
 
void setAliasScore (double aliasScore)
 Setter for the flag that this segment may have an aliased version.
 

Public Attributes

elements
 STL member.
 

Private Attributes

CDCTrajectory2D m_trajectory2D
 Memory for the two dimensional trajectory fitted to this segment.
 
double m_aliasScore
 Boolean flag to indicate that this segment has a valid alias version.
 

Detailed Description

template<class T>
class Belle2::TrackFindingCDC::CDCSegment< T >

A sequence of hits limited to one superlayer.

Definition at line 26 of file CDCSegment.h.

Member Function Documentation

◆ getISuperLayer()

ISuperLayer getISuperLayer ( ) const
inline

Returns the common super layer id of all stored tracking hits.

This checks if all items are located in the same superlayer and returns the superlayer id of the later. Returns ISuperLayerUtil::c_Invalid, if the superlayer is not shared among the hits.

Definition at line 57 of file CDCSegment.h.

◆ getStereoKind()

EStereoKind getStereoKind ( ) const
inline

Returns the common stereo type of all hits.

This checks if all tracking hits are located in the same superlayer and
returns the stereo type of the later. Returns EStereoKind::c_Invalid if the superlayer
is not shared among the tracking hits.

Definition at line 39 of file CDCSegment.h.


The documentation for this class was generated from the following file: