CbmRoot
Loading...
Searching...
No Matches
CbmLitQualitySort Class Reference

#include <CbmLitQualitySort.h>

Inheritance diagram for CbmLitQualitySort:
[legend]

Public Member Functions

 CbmLitQualitySort ()
 Constructor.
 
virtual ~CbmLitQualitySort ()
 Destructor.
 

Static Public Member Functions

static LitStatus DoSortNofHits (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Sort array of tracks by quality.
 
static LitStatus DoSortLastStation (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Sort array of tracks by quality using last station id and chi square.
 
static LitStatus DoSortChiSqOverNDF (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Sort array of tracks by quality using (chi square / NDF).
 

Detailed Description

Definition at line 15 of file CbmLitQualitySort.h.

Constructor & Destructor Documentation

◆ CbmLitQualitySort()

CbmLitQualitySort::CbmLitQualitySort ( )

Constructor.

Definition at line 11 of file CbmLitQualitySort.cxx.

◆ ~CbmLitQualitySort()

CbmLitQualitySort::~CbmLitQualitySort ( )
virtual

Destructor.

Definition at line 13 of file CbmLitQualitySort.cxx.

Member Function Documentation

◆ DoSortChiSqOverNDF()

LitStatus CbmLitQualitySort::DoSortChiSqOverNDF ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
static

Sort array of tracks by quality using (chi square / NDF).

Definition at line 91 of file CbmLitQualitySort.cxx.

References CbmLitTrack::GetChi2(), CbmLitTrack::GetNDF(), and kLITSUCCESS.

Referenced by CbmLitTrackFinderBranch::FollowTracks().

◆ DoSortLastStation()

LitStatus CbmLitQualitySort::DoSortLastStation ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
static

Sort array of tracks by quality using last station id and chi square.

Definition at line 62 of file CbmLitQualitySort.cxx.

References CbmLitTrack::GetLastStationId(), kLITSUCCESS, and CbmLitTrack::SetLastStationId().

◆ DoSortNofHits()

LitStatus CbmLitQualitySort::DoSortNofHits ( TrackPtrIterator itBegin,
TrackPtrIterator itEnd )
static

Sort array of tracks by quality.

Parameters
[in]itBeginIterator to first track in array. \paran[in] itEnd Iterator to last track in array.

Sort array of tracks by quality.

Parameters
[in,out]tracksArray of tracks.

Sort array of tracks by quality using number of hits and chi square.

Definition at line 33 of file CbmLitQualitySort.cxx.

References CbmLitTrack::GetNofHits(), kLITSUCCESS, and CbmLitTrack::SetNofHits().

Referenced by CbmLitTrackSelectionSharedHits::DoSelect().


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