CbmRoot
CbmRichRingTrackAssignClosestD Class Reference

Ring-Track Assignment according to the closest distance criterion. More...

#include <CbmRichRingTrackAssignClosestD.h>

Inheritance diagram for CbmRichRingTrackAssignClosestD:
[legend]
Collaboration diagram for CbmRichRingTrackAssignClosestD:
[legend]

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...
 
CbmRichRingTrackAssignClosestDoperator= (const CbmRichRingTrackAssignClosestD &)
 Assignment operator. More...
 

Private Attributes

TClonesArray * fGlobalTracks
 
TClonesArray * fTrdTracks
 
double fTrdAnnCut
 
bool fUseTrd
 
CbmRichRingTrackAssignClosestDAlgorithmEnum fAlgorithmType
 

Detailed Description

Ring-Track Assignment according to the closest distance criterion.

Author
Claudia Hoehne and Semen Lebedev
Date
2007

Definition at line 31 of file CbmRichRingTrackAssignClosestD.h.

Constructor & Destructor Documentation

◆ CbmRichRingTrackAssignClosestD() [1/2]

CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD ( )

Default constructor.

Definition at line 28 of file CbmRichRingTrackAssignClosestD.cxx.

◆ ~CbmRichRingTrackAssignClosestD()

CbmRichRingTrackAssignClosestD::~CbmRichRingTrackAssignClosestD ( )
virtual

Destructor.

Definition at line 35 of file CbmRichRingTrackAssignClosestD.cxx.

◆ CbmRichRingTrackAssignClosestD() [2/2]

CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD ( const CbmRichRingTrackAssignClosestD )
private

Copy constructor.

Member Function Documentation

◆ DoAssign()

void CbmRichRingTrackAssignClosestD::DoAssign ( TClonesArray *  rings,
TClonesArray *  richProj 
)
virtual

◆ DoAssignRingTrack()

void CbmRichRingTrackAssignClosestD::DoAssignRingTrack ( TClonesArray *  rings,
TClonesArray *  richProj 
)

◆ DoAssignTrackRing()

void CbmRichRingTrackAssignClosestD::DoAssignTrackRing ( TClonesArray *  rings,
TClonesArray *  richProj 
)

◆ Init()

void CbmRichRingTrackAssignClosestD::Init ( )
virtual

Inherited from CbmRichRingTrackAssignBase.

Reimplemented from CbmRichRingTrackAssignBase.

Definition at line 37 of file CbmRichRingTrackAssignClosestD.cxx.

References fGlobalTracks, and fTrdTracks.

◆ IsTrdElectron()

Bool_t CbmRichRingTrackAssignClosestD::IsTrdElectron ( int  iTrack)
private

Check if global track was identified as electron in the TRD detector.

Parameters
[in]iTrackIndex of global track.
Returns
true if track is identified as electron, else return false.

Definition at line 182 of file CbmRichRingTrackAssignClosestD.cxx.

References fGlobalTracks, fTrdAnnCut, fTrdTracks, CbmTrdTrack::GetPidANN(), and CbmGlobalTrack::GetTrdTrackIndex().

Referenced by DoAssignRingTrack(), and DoAssignTrackRing().

◆ operator=()

CbmRichRingTrackAssignClosestD& CbmRichRingTrackAssignClosestD::operator= ( const CbmRichRingTrackAssignClosestD )
private

Assignment operator.

Member Data Documentation

◆ fAlgorithmType

CbmRichRingTrackAssignClosestDAlgorithmEnum CbmRichRingTrackAssignClosestD::fAlgorithmType
private

Definition at line 69 of file CbmRichRingTrackAssignClosestD.h.

Referenced by DoAssign().

◆ fGlobalTracks

TClonesArray* CbmRichRingTrackAssignClosestD::fGlobalTracks
private

◆ fMaxDistance

double CbmRichRingTrackAssignBase::fMaxDistance
protectedinherited

Definition at line 50 of file CbmRichRingTrackAssignBase.h.

◆ fMinNofHitsInRing

int CbmRichRingTrackAssignBase::fMinNofHitsInRing
protectedinherited

◆ fTrdAnnCut

double CbmRichRingTrackAssignClosestD::fTrdAnnCut
private

Definition at line 67 of file CbmRichRingTrackAssignClosestD.h.

Referenced by IsTrdElectron().

◆ fTrdTracks

TClonesArray* CbmRichRingTrackAssignClosestD::fTrdTracks
private

◆ fUseTrd

bool CbmRichRingTrackAssignClosestD::fUseTrd
private

Definition at line 68 of file CbmRichRingTrackAssignClosestD.h.

Referenced by DoAssignRingTrack(), and DoAssignTrackRing().


The documentation for this class was generated from the following files: