CbmRoot
|
Ring-Track Assignment according to the closest distance criterion. More...
#include <CbmRichRingTrackAssignClosestD.h>
Public Member Functions | |
CbmRichRingTrackAssignClosestD () | |
Default constructor. More... | |
virtual | ~CbmRichRingTrackAssignClosestD () |
Destructor. More... | |
void | Init () |
Inherited from CbmRichRingTrackAssignBase. More... | |
void | DoAssign (TClonesArray *rings, TClonesArray *richProj) |
Inherited from CbmRichRingTrackAssignBase. More... | |
void | DoAssignRingTrack (TClonesArray *rings, TClonesArray *richProj) |
Implementation of the ring-track version of the algorithm. More... | |
void | DoAssignTrackRing (TClonesArray *rings, TClonesArray *richProj) |
Implementation of the track-ring version of the algorithm. More... | |
Protected Attributes | |
double | fMaxDistance |
int | fMinNofHitsInRing |
Private Member Functions | |
bool | IsTrdElectron (int iTrack) |
Check if global track was identified as electron in the TRD detector. More... | |
CbmRichRingTrackAssignClosestD (const CbmRichRingTrackAssignClosestD &) | |
Copy constructor. More... | |
CbmRichRingTrackAssignClosestD & | operator= (const CbmRichRingTrackAssignClosestD &) |
Assignment operator. More... | |
Private Attributes | |
TClonesArray * | fGlobalTracks |
TClonesArray * | fTrdTracks |
double | fTrdAnnCut |
bool | fUseTrd |
CbmRichRingTrackAssignClosestDAlgorithmEnum | fAlgorithmType |
Ring-Track Assignment according to the closest distance criterion.
Definition at line 31 of file CbmRichRingTrackAssignClosestD.h.
CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD | ( | ) |
Default constructor.
Definition at line 28 of file CbmRichRingTrackAssignClosestD.cxx.
|
virtual |
Destructor.
Definition at line 35 of file CbmRichRingTrackAssignClosestD.cxx.
|
private |
Copy constructor.
|
virtual |
Inherited from CbmRichRingTrackAssignBase.
Implements CbmRichRingTrackAssignBase.
Definition at line 53 of file CbmRichRingTrackAssignClosestD.cxx.
References Combined, DoAssignRingTrack(), DoAssignTrackRing(), fAlgorithmType, richProj, rings, RingTrack, and TrackRing.
void CbmRichRingTrackAssignClosestD::DoAssignRingTrack | ( | TClonesArray * | rings, |
TClonesArray * | richProj | ||
) |
Implementation of the ring-track version of the algorithm.
Definition at line 69 of file CbmRichRingTrackAssignClosestD.cxx.
References fGlobalTracks, CbmRichRingTrackAssignBase::fMinNofHitsInRing, fTrdTracks, fUseTrd, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetNofHits(), i, IsTrdElectron(), richProj, rings, and CbmGlobalTrack::SetRichRingIndex().
Referenced by DoAssign().
void CbmRichRingTrackAssignClosestD::DoAssignTrackRing | ( | TClonesArray * | rings, |
TClonesArray * | richProj | ||
) |
Implementation of the track-ring version of the algorithm.
Definition at line 145 of file CbmRichRingTrackAssignClosestD.cxx.
References fGlobalTracks, CbmRichRingTrackAssignBase::fMinNofHitsInRing, fTrdTracks, fUseTrd, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetNofHits(), CbmGlobalTrack::GetRichRingIndex(), IsTrdElectron(), richProj, rings, and CbmGlobalTrack::SetRichRingIndex().
Referenced by DoAssign().
|
virtual |
Inherited from CbmRichRingTrackAssignBase.
Reimplemented from CbmRichRingTrackAssignBase.
Definition at line 37 of file CbmRichRingTrackAssignClosestD.cxx.
References fGlobalTracks, and fTrdTracks.
|
private |
Check if global track was identified as electron in the TRD detector.
[in] | iTrack | Index of global track. |
Definition at line 182 of file CbmRichRingTrackAssignClosestD.cxx.
References fGlobalTracks, fTrdAnnCut, fTrdTracks, CbmTrdTrack::GetPidANN(), and CbmGlobalTrack::GetTrdTrackIndex().
Referenced by DoAssignRingTrack(), and DoAssignTrackRing().
|
private |
Assignment operator.
|
private |
Definition at line 69 of file CbmRichRingTrackAssignClosestD.h.
Referenced by DoAssign().
|
private |
Definition at line 64 of file CbmRichRingTrackAssignClosestD.h.
Referenced by DoAssignRingTrack(), DoAssignTrackRing(), Init(), and IsTrdElectron().
|
protectedinherited |
Definition at line 50 of file CbmRichRingTrackAssignBase.h.
|
protectedinherited |
Definition at line 51 of file CbmRichRingTrackAssignBase.h.
Referenced by CbmRichRingTrackAssignIdeal::DoAssign(), DoAssignRingTrack(), and DoAssignTrackRing().
|
private |
Definition at line 67 of file CbmRichRingTrackAssignClosestD.h.
Referenced by IsTrdElectron().
|
private |
Definition at line 65 of file CbmRichRingTrackAssignClosestD.h.
Referenced by DoAssignRingTrack(), DoAssignTrackRing(), Init(), and IsTrdElectron().
|
private |
Definition at line 68 of file CbmRichRingTrackAssignClosestD.h.
Referenced by DoAssignRingTrack(), and DoAssignTrackRing().