Project
Loading...
Searching...
No Matches
o2::trd::TrackSegment Class Reference

#include <CoordinateTransformer.h>

Public Member Functions

 TrackSegment ()
 
 TrackSegment (ChamberSpacePoint start, ChamberSpacePoint end, int id)
 
bool isValid () const
 check if the space point has been initialized
 
float getPadColAtTimeBin (float timebin=0) const
 position of track segment at timebin 0
 
float getSlope () const
 
int getDetector () const
 detector number
 
ChamberSpacePointgetStartPoint ()
 
ChamberSpacePointgetEndPoint ()
 

Protected Attributes

ChamberSpacePoint mStartPoint
 
ChamberSpacePoint mEndPoint
 
int mTrackID
 

Detailed Description

A track segment: a straight line connecting two points. The points are generally given in spatial coordinates, which are then converted to pad row / column / timebin coordinates. These are then used to calculate the position and slope of the track segment in a given pad row, which should correspond to the reconstructed tracklet.

Definition at line 118 of file CoordinateTransformer.h.

Constructor & Destructor Documentation

◆ TrackSegment() [1/2]

o2::trd::TrackSegment::TrackSegment ( )
inline

Definition at line 121 of file CoordinateTransformer.h.

◆ TrackSegment() [2/2]

o2::trd::TrackSegment::TrackSegment ( ChamberSpacePoint  start,
ChamberSpacePoint  end,
int  id 
)
inline

Definition at line 122 of file CoordinateTransformer.h.

Member Function Documentation

◆ getDetector()

int o2::trd::TrackSegment::getDetector ( ) const
inline

detector number

Definition at line 143 of file CoordinateTransformer.h.

◆ getEndPoint()

ChamberSpacePoint & o2::trd::TrackSegment::getEndPoint ( )
inline

Definition at line 146 of file CoordinateTransformer.h.

◆ getPadColAtTimeBin()

float o2::trd::TrackSegment::getPadColAtTimeBin ( float  timebin = 0) const
inline

position of track segment at timebin 0

Definition at line 132 of file CoordinateTransformer.h.

◆ getSlope()

float o2::trd::TrackSegment::getSlope ( ) const
inline

Definition at line 137 of file CoordinateTransformer.h.

◆ getStartPoint()

ChamberSpacePoint & o2::trd::TrackSegment::getStartPoint ( )
inline

Definition at line 145 of file CoordinateTransformer.h.

◆ isValid()

bool o2::trd::TrackSegment::isValid ( ) const
inline

check if the space point has been initialized

Definition at line 129 of file CoordinateTransformer.h.

Member Data Documentation

◆ mEndPoint

ChamberSpacePoint o2::trd::TrackSegment::mEndPoint
protected

Definition at line 149 of file CoordinateTransformer.h.

◆ mStartPoint

ChamberSpacePoint o2::trd::TrackSegment::mStartPoint
protected

Definition at line 149 of file CoordinateTransformer.h.

◆ mTrackID

int o2::trd::TrackSegment::mTrackID
protected

Definition at line 150 of file CoordinateTransformer.h.


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