CbmRoot
Loading...
Searching...
No Matches
CbmLitQualitySort.h
Go to the documentation of this file.
1/* Copyright (C) 2011-2013 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
5/*
6 * \brief Sort array of tracks by the quality criterion.
7 */
8
9#ifndef CBMLITQUALITYSORT_H_
10#define CBMLITQUALITYSORT_H_
11
12#include "base/CbmLitEnums.h"
13#include "base/CbmLitTypes.h"
14
16 public:
21
25 virtual ~CbmLitQualitySort();
26 //
27 // /**
28 // * \brief Sort array of tracks by quality.
29 // * \param[in] itBegin Iterator to first track in array.
30 // * \paran[in] itEnd Iterator to last track in array.
31 // */
32 // virtual LitStatus DoSort(
33 // TrackPtrIterator itBegin,
34 // TrackPtrIterator itEnd);
35 //
36 // /**
37 // * \brief Sort array of tracks by quality.
38 // * \param[in,out] tracks Array of tracks.
39 // */
40 // virtual LitStatus DoSort(
41 // TrackPtrVector& tracks);
42 //
43 //private:
44
49
54
59};
60
61#endif /* CBMLITQUALITYSORT_H_ */
Define enumerations used in littrack.
LitStatus
Definition CbmLitEnums.h:29
Typedefs for data structures used in littrack.
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
Definition CbmTofTypes.h:25
CbmLitQualitySort()
Constructor.
static LitStatus DoSortNofHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Sort array of tracks by quality.
virtual ~CbmLitQualitySort()
Destructor.
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).