CbmRoot
CbmLitTrackSelectionMuch.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITTRACKSELECTIONMUCH_H_
9 #define CBMLITTRACKSELECTIONMUCH_H_
10 
11 #include "base/CbmLitPtrTypes.h"
13 
15 public:
20 
24  virtual ~CbmLitTrackSelectionMuch();
25 
29  virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd);
30 
35 
36  /* Setters */
37  void SetNofSharedHits(Int_t nofHits) { fNofSharedHits = nofHits; }
38 
39 private:
40  TrackSelectionPtr fSharedHitsSelection; // Shared hits track selection tool.
41  Int_t fNofSharedHits; // Maximum number of shared hits.
42 };
43 
44 #endif /*CBMLITTRACKSELECTIONMUCH_H_*/
TrackSelectionPtr
boost::shared_ptr< CbmLitTrackSelection > TrackSelectionPtr
Definition: CbmTofPtrTypes.h:25
CbmLitTrackSelectionMuch::DoSelect
virtual LitStatus DoSelect(TrackPtrIterator itBegin, TrackPtrIterator itEnd)
Inherited from CbmLitTrackSelection.
Definition: CbmLitTrackSelectionMuch.cxx:19
CbmLitTrackSelectionMuch::CbmLitTrackSelectionMuch
CbmLitTrackSelectionMuch()
Constructor.
Definition: CbmLitTrackSelectionMuch.cxx:12
CbmLitTrackSelection.h
Interface for track selection algorithm.
CbmLitTrackSelectionMuch::fNofSharedHits
Int_t fNofSharedHits
Definition: CbmLitTrackSelectionMuch.h:41
CbmLitTrackSelectionMuch
Definition: CbmLitTrackSelectionMuch.h:14
CbmLitTrackSelectionMuch::~CbmLitTrackSelectionMuch
virtual ~CbmLitTrackSelectionMuch()
Destructor.
Definition: CbmLitTrackSelectionMuch.cxx:17
CbmLitTrackSelectionMuch::fSharedHitsSelection
TrackSelectionPtr fSharedHitsSelection
Definition: CbmLitTrackSelectionMuch.h:40
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
CbmLitTrackSelection
Interface for track selection algorithm.
Definition: CbmLitTrackSelection.h:20
CbmLitTrackSelectionMuch::SetNofSharedHits
void SetNofSharedHits(Int_t nofHits)
Definition: CbmLitTrackSelectionMuch.h:37
CbmLitPtrTypes.h
Typedefs for algorithm interfaces.
LitStatus
LitStatus
Definition: CbmLitEnums.h:23