CbmRoot
CbmLitQualitySort.h
Go to the documentation of this file.
1 /*
2  * \file CbmLitQualitySort.h
3  * \author Andrey Lebedev <andrey.lebedev@gsi.de>
4  * \date 2011
5  * \brief Sort array of tracks by the quality criterion.
6  */
7 
8 #ifndef CBMLITQUALITYSORT_H_
9 #define CBMLITQUALITYSORT_H_
10 
11 #include "base/CbmLitEnums.h"
12 #include "base/CbmLitTypes.h"
13 
15 public:
20 
24  virtual ~CbmLitQualitySort();
25  //
26  // /**
27  // * \brief Sort array of tracks by quality.
28  // * \param[in] itBegin Iterator to first track in array.
29  // * \paran[in] itEnd Iterator to last track in array.
30  // */
31  // virtual LitStatus DoSort(
32  // TrackPtrIterator itBegin,
33  // TrackPtrIterator itEnd);
34  //
35  // /**
36  // * \brief Sort array of tracks by quality.
37  // * \param[in,out] tracks Array of tracks.
38  // */
39  // virtual LitStatus DoSort(
40  // TrackPtrVector& tracks);
41  //
42  //private:
43 
48  TrackPtrIterator itEnd);
49 
54  TrackPtrIterator itEnd);
55 
60  TrackPtrIterator itEnd);
61 };
62 
63 #endif /* CBMLITQUALITYSORT_H_ */
CbmLitQualitySort::DoSortNofHits
static LitStatus DoSortNofHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Sort array of tracks by quality using number of hits and chi square.
Definition: CbmLitQualitySort.cxx:34
CbmLitQualitySort
Definition: CbmLitQualitySort.h:14
CbmLitQualitySort::DoSortChiSqOverNDF
static LitStatus DoSortChiSqOverNDF(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Sort array of tracks by quality using (chi square / NDF).
Definition: CbmLitQualitySort.cxx:78
CbmLitEnums.h
Define enumerations used in littrack.
TrackPtrIterator
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
Definition: CbmTofTypes.h:21
CbmLitQualitySort::DoSortLastStation
static LitStatus DoSortLastStation(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Sort array of tracks by quality using last station id and chi square.
Definition: CbmLitQualitySort.cxx:56
CbmLitTypes.h
Typedefs for data structures used in littrack.
LitStatus
LitStatus
Definition: CbmLitEnums.h:23
CbmLitQualitySort::CbmLitQualitySort
CbmLitQualitySort()
Constructor.
Definition: CbmLitQualitySort.cxx:12
CbmLitQualitySort::~CbmLitQualitySort
virtual ~CbmLitQualitySort()
Destructor.
Definition: CbmLitQualitySort.cxx:14