CbmRoot
|
#include <CbmLitTrackSelectionSharedHits.h>
Public Member Functions | |
CbmLitTrackSelectionSharedHits () | |
virtual | ~CbmLitTrackSelectionSharedHits () |
virtual LitStatus | DoSelect (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Main function to be implemented for concrete track selection algorithm. | |
virtual LitStatus | DoSelect (TrackPtrVector &tracks) |
Main function to be implemented for concrete track selection algorithm. | |
int | GetNofSharedHits () const |
void | SetNofSharedHits (int nofHits) |
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). | |
Private Member Functions | |
void | CheckSharedHits (TrackPtrIterator itBegin, TrackPtrIterator itEnd) |
Private Attributes | |
int | fNofSharedHits |
Definition at line 17 of file CbmLitTrackSelectionSharedHits.h.
CbmLitTrackSelectionSharedHits::CbmLitTrackSelectionSharedHits | ( | ) |
Definition at line 13 of file CbmLitTrackSelectionSharedHits.cxx.
|
virtual |
Definition at line 15 of file CbmLitTrackSelectionSharedHits.cxx.
|
private |
Definition at line 34 of file CbmLitTrackSelectionSharedHits.cxx.
References fNofSharedHits, CbmLitTrack::GetHit(), CbmLitTrack::GetNofHits(), CbmLitTrack::GetQuality(), CbmLitHit::GetRefId(), CbmLitHit::GetSystem(), CbmLitHit::GetType(), kLITBAD, kLITSTRIPHIT, kLITTRD, and CbmLitTrack::SetQuality().
Referenced by DoSelect().
|
virtual |
Main function to be implemented for concrete track selection algorithm.
[in] | itBegin | Iterator to first track. |
[in] | itEnd | Iterator to last track. |
Implements CbmLitTrackSelection.
Definition at line 17 of file CbmLitTrackSelectionSharedHits.cxx.
References CheckSharedHits(), CbmLitQualitySort::DoSortNofHits(), and kLITSUCCESS.
Referenced by DoSelect().
|
virtual |
Main function to be implemented for concrete track selection algorithm.
tracks | Input track array. |
Implements CbmLitTrackSelection.
Definition at line 29 of file CbmLitTrackSelectionSharedHits.cxx.
References DoSelect(), and tracks.
|
staticinherited |
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().
|
staticinherited |
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().
|
staticinherited |
Sort array of tracks by quality.
[in] | itBegin | Iterator to first track in array. \paran[in] itEnd Iterator to last track in array. |
Sort array of tracks by quality.
[in,out] | tracks | Array 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 DoSelect().
|
inline |
Definition at line 32 of file CbmLitTrackSelectionSharedHits.h.
References fNofSharedHits.
|
inline |
Definition at line 35 of file CbmLitTrackSelectionSharedHits.h.
References fNofSharedHits.
|
private |
Definition at line 39 of file CbmLitTrackSelectionSharedHits.h.
Referenced by CheckSharedHits(), GetNofSharedHits(), and SetNofSharedHits().