CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual ~CbmRichRingTrackAssignClosestD ()
 Destructor.
 
void Init ()
 Inherited from CbmRichRingTrackAssignBase.
 
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.
 
void DoAssignTrackRing (CbmEvent *event, TClonesArray *rings, TClonesArray *richProj)
 Implementation of the track-ring version of the algorithm.
 

Protected Attributes

double fMaxDistance = 999.
 
int fMinNofHitsInRing = 1
 

Private Member Functions

bool IsTrdElectron (int iTrack)
 Check if global track was identified as electron in the TRD detector.
 
 CbmRichRingTrackAssignClosestD (const CbmRichRingTrackAssignClosestD &)
 Copy constructor.
 
CbmRichRingTrackAssignClosestDoperator= (const CbmRichRingTrackAssignClosestD &)
 Assignment operator.
 

Private Attributes

TClonesArray * fGlobalTracks = nullptr
 
TClonesArray * fTrdTracks = nullptr
 
double fTrdAnnCut = -0.5
 
bool fUseTrd = false
 
CbmRichRingTrackAssignClosestDAlgorithmEnum fAlgorithmType = RingTrack
 
int fEventNum = 0
 

Detailed Description

Ring-Track Assignment according to the closest distance criterion.

Author
Claudia Hoehne and Semen Lebedev
Date
2007

Definition at line 36 of file CbmRichRingTrackAssignClosestD.h.

Constructor & Destructor Documentation

◆ CbmRichRingTrackAssignClosestD() [1/2]

CbmRichRingTrackAssignClosestD::CbmRichRingTrackAssignClosestD ( )

Default constructor.

Definition at line 33 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 ( CbmEvent * event,
TClonesArray * rings,
TClonesArray * richProj )
virtual

◆ DoAssignRingTrack()

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

◆ DoAssignTrackRing()

void CbmRichRingTrackAssignClosestD::DoAssignTrackRing ( CbmEvent * event,
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 193 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 = RingTrack
private

Definition at line 74 of file CbmRichRingTrackAssignClosestD.h.

Referenced by DoAssign().

◆ fEventNum

int CbmRichRingTrackAssignClosestD::fEventNum = 0
private

Definition at line 75 of file CbmRichRingTrackAssignClosestD.h.

Referenced by DoAssign().

◆ fGlobalTracks

TClonesArray* CbmRichRingTrackAssignClosestD::fGlobalTracks = nullptr
private

◆ fMaxDistance

double CbmRichRingTrackAssignBase::fMaxDistance = 999.
protectedinherited

Definition at line 54 of file CbmRichRingTrackAssignBase.h.

◆ fMinNofHitsInRing

int CbmRichRingTrackAssignBase::fMinNofHitsInRing = 1
protectedinherited

◆ fTrdAnnCut

double CbmRichRingTrackAssignClosestD::fTrdAnnCut = -0.5
private

Definition at line 72 of file CbmRichRingTrackAssignClosestD.h.

Referenced by IsTrdElectron().

◆ fTrdTracks

TClonesArray* CbmRichRingTrackAssignClosestD::fTrdTracks = nullptr
private

◆ fUseTrd

bool CbmRichRingTrackAssignClosestD::fUseTrd = false
private

Definition at line 73 of file CbmRichRingTrackAssignClosestD.h.

Referenced by DoAssignRingTrack(), and DoAssignTrackRing().


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