CbmRoot
Loading...
Searching...
No Matches
CbmLitTrackSelectionSharedHits.h
Go to the documentation of this file.
1/* Copyright (C) 2008-2011 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
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"
16
18 public:
19 /* Constructor */
21
22 /* Destructor */
24
25 /* Derived from CbmLitTrackSelection */
27
28 /* Derived from CbmLitTrackSelection */
30
31 /* Returns number of shared hits */
32 int GetNofSharedHits() const { return fNofSharedHits; }
33
34 /* Sets number of shared hits */
35 void SetNofSharedHits(int nofHits) { fNofSharedHits = nofHits; }
36
37 private:
38 /* Number of shared hits */
40
41 /* Checks shared hits in the track array sorted by quality */
43};
44
45#endif /*CBMLITTRACKSELECTIONSHAREDHITS_H_*/
TClonesArray * tracks
LitStatus
Definition CbmLitEnums.h:29
Interface for track selection algorithm.
Typedefs for data structures used in littrack.
std::vector< CbmTofTrack * >::iterator TrackPtrIterator
Definition CbmTofTypes.h:25
std::vector< CbmTofTrack * > TrackPtrVector
Definition CbmTofTypes.h:26
void CheckSharedHits(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Main function to be implemented for concrete track selection algorithm.
Interface for track selection algorithm.