CbmRoot
CbmLitTrackSelectionSharedHits Class Reference

#include <CbmLitTrackSelectionSharedHits.h>

Inheritance diagram for CbmLitTrackSelectionSharedHits:
[legend]
Collaboration diagram for CbmLitTrackSelectionSharedHits:
[legend]

Public Member Functions

 CbmLitTrackSelectionSharedHits ()
 
virtual ~CbmLitTrackSelectionSharedHits ()
 
virtual LitStatus DoSelect (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 Main function to be implemented for concrete track selection algorithm. More...
 
virtual LitStatus DoSelect (TrackPtrVector &tracks)
 Main function to be implemented for concrete track selection algorithm. More...
 
int GetNofSharedHits () const
 
void SetNofSharedHits (int nofHits)
 

Static Public Member Functions

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

Private Member Functions

void CheckSharedHits (TrackPtrIterator itBegin, TrackPtrIterator itEnd)
 

Private Attributes

int fNofSharedHits
 

Detailed Description

Definition at line 17 of file CbmLitTrackSelectionSharedHits.h.

Constructor & Destructor Documentation

◆ CbmLitTrackSelectionSharedHits()

CbmLitTrackSelectionSharedHits::CbmLitTrackSelectionSharedHits ( )

Definition at line 15 of file CbmLitTrackSelectionSharedHits.cxx.

◆ ~CbmLitTrackSelectionSharedHits()

CbmLitTrackSelectionSharedHits::~CbmLitTrackSelectionSharedHits ( )
virtual

Definition at line 18 of file CbmLitTrackSelectionSharedHits.cxx.

Member Function Documentation

◆ CheckSharedHits()

◆ DoSelect() [1/2]

LitStatus CbmLitTrackSelectionSharedHits::DoSelect ( TrackPtrIterator  itBegin,
TrackPtrIterator  itEnd 
)
virtual

Main function to be implemented for concrete track selection algorithm.

Parameters
[in]itBeginIterator to first track.
[in]itEndIterator to last track.
Returns
Status code.

Implements CbmLitTrackSelection.

Definition at line 20 of file CbmLitTrackSelectionSharedHits.cxx.

References CheckSharedHits(), CbmLitQualitySort::DoSortNofHits(), and kLITSUCCESS.

◆ DoSelect() [2/2]

LitStatus CbmLitTrackSelectionSharedHits::DoSelect ( TrackPtrVector tracks)
virtual

Main function to be implemented for concrete track selection algorithm.

Parameters
tracksInput track array.
Returns
Status code.

Implements CbmLitTrackSelection.

Definition at line 30 of file CbmLitTrackSelectionSharedHits.cxx.

References DoSelect(), and tracks.

Referenced by DoSelect().

◆ DoSortChiSqOverNDF()

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

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

Definition at line 78 of file CbmLitQualitySort.cxx.

References kLITSUCCESS.

Referenced by CbmLitTrackFinderBranch::FollowTracks().

◆ DoSortLastStation()

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

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

Definition at line 56 of file CbmLitQualitySort.cxx.

References kLITSUCCESS, and CbmLitTrack::SetLastStationId().

◆ DoSortNofHits()

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

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

Definition at line 34 of file CbmLitQualitySort.cxx.

References kLITSUCCESS, and CbmLitTrack::SetNofHits().

Referenced by DoSelect().

◆ GetNofSharedHits()

int CbmLitTrackSelectionSharedHits::GetNofSharedHits ( ) const
inline

Definition at line 34 of file CbmLitTrackSelectionSharedHits.h.

References fNofSharedHits.

◆ SetNofSharedHits()

void CbmLitTrackSelectionSharedHits::SetNofSharedHits ( int  nofHits)
inline

Definition at line 37 of file CbmLitTrackSelectionSharedHits.h.

References fNofSharedHits.

Member Data Documentation

◆ fNofSharedHits

int CbmLitTrackSelectionSharedHits::fNofSharedHits
private

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