CbmRoot
Loading...
Searching...
No Matches
CbmRichRingTrackAssignClosestD.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Claudia Hoehne, Semen Lebedev, Denis Bertini [committer] */
4
14#ifndef CBM_RICH_RING_TRACK_ASSIGN_CLOSEST_D
15#define CBM_RICH_RING_TRACK_ASSIGN_CLOSEST_D
16
18
19class TClonesArray;
20
27
37 public:
42
47
51 void Init();
52
56 void DoAssign(CbmEvent* event, TClonesArray* rings, TClonesArray* richProj);
57
61 void DoAssignRingTrack(CbmEvent* event, TClonesArray* rings, TClonesArray* richProj);
62
66 void DoAssignTrackRing(CbmEvent* event, TClonesArray* rings, TClonesArray* richProj);
67
68 private:
69 TClonesArray* fGlobalTracks = nullptr;
70 TClonesArray* fTrdTracks = nullptr;
71
72 double fTrdAnnCut = -0.5; // ANN cut for electron identification in TRD
73 bool fUseTrd = false; // if true electron identification in TRD will be used
75 int fEventNum = 0;
76
82 bool IsTrdElectron(int iTrack);
83
88
93};
94
95#endif
TClonesArray * rings
Base class for RICH rings - STS tracks matching algorithms.
CbmRichRingTrackAssignClosestDAlgorithmEnum
TClonesArray * richProj
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
Base class for RICH rings - STS tracks matching algorithms.
Ring-Track Assignment according to the closest distance criterion.
bool IsTrdElectron(int iTrack)
Check if global track was identified as electron in the TRD detector.
void DoAssign(CbmEvent *event, TClonesArray *rings, TClonesArray *richProj)
Inherited from CbmRichRingTrackAssignBase.
void DoAssignRingTrack(CbmEvent *event, TClonesArray *rings, TClonesArray *richProj)
Implementation of the ring-track version of the algorithm.
CbmRichRingTrackAssignClosestD(const CbmRichRingTrackAssignClosestD &)
Copy constructor.
CbmRichRingTrackAssignClosestDAlgorithmEnum fAlgorithmType
void DoAssignTrackRing(CbmEvent *event, TClonesArray *rings, TClonesArray *richProj)
Implementation of the track-ring version of the algorithm.
CbmRichRingTrackAssignClosestD & operator=(const CbmRichRingTrackAssignClosestD &)
Assignment operator.
void Init()
Inherited from CbmRichRingTrackAssignBase.