CbmRoot
CbmRichRingTrackAssignClosestD.h
Go to the documentation of this file.
1 
10 #ifndef CBM_RICH_RING_TRACK_ASSIGN_CLOSEST_D
11 #define CBM_RICH_RING_TRACK_ASSIGN_CLOSEST_D
12 
14 
15 class TClonesArray;
16 
20  Combined
21 };
22 
32 public:
37 
42 
46  void Init();
47 
51  void DoAssign(TClonesArray* rings, TClonesArray* richProj);
52 
56  void DoAssignRingTrack(TClonesArray* rings, TClonesArray* richProj);
57 
61  void DoAssignTrackRing(TClonesArray* rings, TClonesArray* richProj);
62 
63 private:
64  TClonesArray* fGlobalTracks;
65  TClonesArray* fTrdTracks;
66 
67  double fTrdAnnCut; // ANN cut for electron identification in TRD
68  bool fUseTrd; // if true electron identification in TRD will be performed
70 
76  bool IsTrdElectron(int iTrack);
77 
82 
88 };
89 
90 #endif
TrackRing
@ TrackRing
Definition: CbmRichRingTrackAssignClosestD.h:18
CbmRichRingTrackAssignClosestDAlgorithmEnum
CbmRichRingTrackAssignClosestDAlgorithmEnum
Definition: CbmRichRingTrackAssignClosestD.h:17
CbmRichRingTrackAssignClosestD::IsTrdElectron
bool IsTrdElectron(int iTrack)
Check if global track was identified as electron in the TRD detector.
Definition: CbmRichRingTrackAssignClosestD.cxx:182
CbmRichRingTrackAssignClosestD::fTrdTracks
TClonesArray * fTrdTracks
Definition: CbmRichRingTrackAssignClosestD.h:65
CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD
CbmRichRingTrackAssignClosestD()
Default constructor.
Definition: CbmRichRingTrackAssignClosestD.cxx:28
CbmRichRingTrackAssignBase
Base class for RICH rings - STS tracks matching algorithms.
Definition: CbmRichRingTrackAssignBase.h:23
CbmRichRingTrackAssignClosestD::fTrdAnnCut
double fTrdAnnCut
Definition: CbmRichRingTrackAssignClosestD.h:67
RingTrack
@ RingTrack
Definition: CbmRichRingTrackAssignClosestD.h:19
CbmRichRingTrackAssignClosestD::~CbmRichRingTrackAssignClosestD
virtual ~CbmRichRingTrackAssignClosestD()
Destructor.
Definition: CbmRichRingTrackAssignClosestD.cxx:35
CbmRichRingTrackAssignClosestD::DoAssignTrackRing
void DoAssignTrackRing(TClonesArray *rings, TClonesArray *richProj)
Implementation of the track-ring version of the algorithm.
Definition: CbmRichRingTrackAssignClosestD.cxx:145
CbmRichRingTrackAssignClosestD::fAlgorithmType
CbmRichRingTrackAssignClosestDAlgorithmEnum fAlgorithmType
Definition: CbmRichRingTrackAssignClosestD.h:69
CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD
CbmRichRingTrackAssignClosestD(const CbmRichRingTrackAssignClosestD &)
Copy constructor.
CbmRichRingTrackAssignClosestD::fUseTrd
bool fUseTrd
Definition: CbmRichRingTrackAssignClosestD.h:68
CbmRichRingTrackAssignClosestD::DoAssignRingTrack
void DoAssignRingTrack(TClonesArray *rings, TClonesArray *richProj)
Implementation of the ring-track version of the algorithm.
Definition: CbmRichRingTrackAssignClosestD.cxx:69
CbmRichRingTrackAssignClosestD::DoAssign
void DoAssign(TClonesArray *rings, TClonesArray *richProj)
Inherited from CbmRichRingTrackAssignBase.
Definition: CbmRichRingTrackAssignClosestD.cxx:53
richProj
TClonesArray * richProj
Definition: Compute_distance.h:18
CbmRichRingTrackAssignClosestD
Ring-Track Assignment according to the closest distance criterion.
Definition: CbmRichRingTrackAssignClosestD.h:31
CbmRichRingTrackAssignClosestD::Init
void Init()
Inherited from CbmRichRingTrackAssignBase.
Definition: CbmRichRingTrackAssignClosestD.cxx:37
CbmRichRingTrackAssignClosestD::operator=
CbmRichRingTrackAssignClosestD & operator=(const CbmRichRingTrackAssignClosestD &)
Assignment operator.
CbmRichRingTrackAssignClosestD::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmRichRingTrackAssignClosestD.h:64
CbmRichRingTrackAssignBase.h
Base class for RICH rings - STS tracks matching algorithms.
Combined
@ Combined
Definition: CbmRichRingTrackAssignClosestD.h:20
rings
TClonesArray * rings
Definition: Analyze_matching.h:21