CbmRoot
CbmLitTrackSelectionSharedHits.h
Go to the documentation of this file.
1
/* CbmLitTrackSelectionSharedHits.h
2
* @author Andrey Lebedev <andrey.lebedev@gsi.de>
3
* @since 2008
4
* @version 1.0
5
*
6
* Track selection removes clones and ghosts
7
* sorting by quality and checking shared hits.
8
*/
9
10
#ifndef CBMLITTRACKSELECTIONSHAREDHITS_H_
11
#define CBMLITTRACKSELECTIONSHAREDHITS_H_
12
13
#include "
base/CbmLitTypes.h
"
14
#include "
interface/CbmLitTrackSelection.h
"
15
#include "
selection/CbmLitQualitySort.h
"
16
17
class
CbmLitTrackSelectionSharedHits
:
18
public
CbmLitTrackSelection
,
19
public
CbmLitQualitySort
{
20
public
:
21
/* Constructor */
22
CbmLitTrackSelectionSharedHits
();
23
24
/* Destructor */
25
virtual
~CbmLitTrackSelectionSharedHits
();
26
27
/* Derived from CbmLitTrackSelection */
28
virtual
LitStatus
DoSelect
(
TrackPtrIterator
itBegin,
TrackPtrIterator
itEnd);
29
30
/* Derived from CbmLitTrackSelection */
31
virtual
LitStatus
DoSelect
(
TrackPtrVector
&
tracks
);
32
33
/* Returns number of shared hits */
34
int
GetNofSharedHits
()
const
{
return
fNofSharedHits
; }
35
36
/* Sets number of shared hits */
37
void
SetNofSharedHits
(
int
nofHits) {
fNofSharedHits
= nofHits; }
38
39
private
:
40
/* Number of shared hits */
41
int
fNofSharedHits
;
42
43
/* Checks shared hits in the track array sorted by quality */
44
void
CheckSharedHits
(
TrackPtrIterator
itBegin,
TrackPtrIterator
itEnd);
45
};
46
47
#endif
/*CBMLITTRACKSELECTIONSHAREDHITS_H_*/
CbmLitTrackSelectionSharedHits::GetNofSharedHits
int GetNofSharedHits() const
Definition:
CbmLitTrackSelectionSharedHits.h:34
CbmLitTrackSelectionSharedHits
Definition:
CbmLitTrackSelectionSharedHits.h:19
CbmLitTrackSelectionSharedHits::CbmLitTrackSelectionSharedHits
CbmLitTrackSelectionSharedHits()
Definition:
CbmLitTrackSelectionSharedHits.cxx:15
CbmLitTrackSelectionSharedHits::CheckSharedHits
void CheckSharedHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Definition:
CbmLitTrackSelectionSharedHits.cxx:34
CbmLitQualitySort
Definition:
CbmLitQualitySort.h:14
CbmLitTrackSelectionSharedHits::SetNofSharedHits
void SetNofSharedHits(int nofHits)
Definition:
CbmLitTrackSelectionSharedHits.h:37
CbmLitTrackSelection.h
Interface for track selection algorithm.
CbmLitQualitySort.h
TrackPtrIterator
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
Definition:
CbmTofTypes.h:21
TrackPtrVector
std::vector< CbmTofTrack * > TrackPtrVector
Definition:
CbmTofTypes.h:22
tracks
TClonesArray * tracks
Definition:
Analyze_matching.h:17
CbmLitTrackSelectionSharedHits::~CbmLitTrackSelectionSharedHits
virtual ~CbmLitTrackSelectionSharedHits()
Definition:
CbmLitTrackSelectionSharedHits.cxx:18
CbmLitTrackSelectionSharedHits::fNofSharedHits
int fNofSharedHits
Definition:
CbmLitTrackSelectionSharedHits.h:41
CbmLitTrackSelection
Interface for track selection algorithm.
Definition:
CbmLitTrackSelection.h:20
CbmLitTrackSelectionSharedHits::DoSelect
virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Main function to be implemented for concrete track selection algorithm.
Definition:
CbmLitTrackSelectionSharedHits.cxx:20
CbmLitTypes.h
Typedefs for data structures used in littrack.
LitStatus
LitStatus
Definition:
CbmLitEnums.h:23
reco
littrack
std
selection
CbmLitTrackSelectionSharedHits.h
Generated on Wed Oct 28 2020 15:11:40 for CbmRoot by
1.8.18