CbmRoot
CbmTrdTrackFinderIdeal Class Reference

#include <CbmTrdTrackFinderIdeal.h>

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

Public Member Functions

 CbmTrdTrackFinderIdeal ()
 
virtual ~CbmTrdTrackFinderIdeal ()
 
virtual void Init ()
 
virtual Int_t DoFind (TClonesArray *hitArray, TClonesArray *trackArray)
 
 ClassDef (CbmTrdTrackFinder, 1)
 

Private Member Functions

CbmTrdTrackFinderIdealoperator= (const CbmTrdTrackFinderIdeal &)
 
 CbmTrdTrackFinderIdeal (const CbmTrdTrackFinderIdeal &)
 
 ClassDef (CbmTrdTrackFinderIdeal, 1)
 

Private Attributes

TClonesArray * fMcTracks
 
TClonesArray * fTrdPoints
 
TClonesArray * fTrdHitMatches
 
std::string fTrdHitProducerType
 
Int_t fEventNum
 

Detailed Description

Definition at line 27 of file CbmTrdTrackFinderIdeal.h.

Constructor & Destructor Documentation

◆ CbmTrdTrackFinderIdeal() [1/2]

CbmTrdTrackFinderIdeal::CbmTrdTrackFinderIdeal ( )

Default constructor

Definition at line 34 of file CbmTrdTrackFinderIdeal.cxx.

◆ ~CbmTrdTrackFinderIdeal()

CbmTrdTrackFinderIdeal::~CbmTrdTrackFinderIdeal ( )
virtual

Destructor

Definition at line 43 of file CbmTrdTrackFinderIdeal.cxx.

◆ CbmTrdTrackFinderIdeal() [2/2]

CbmTrdTrackFinderIdeal::CbmTrdTrackFinderIdeal ( const CbmTrdTrackFinderIdeal )
private

Member Function Documentation

◆ ClassDef() [1/2]

CbmTrdTrackFinder::ClassDef ( CbmTrdTrackFinder  ,
 
)
inherited

◆ ClassDef() [2/2]

CbmTrdTrackFinderIdeal::ClassDef ( CbmTrdTrackFinderIdeal  ,
 
)
private

◆ DoFind()

Int_t CbmTrdTrackFinderIdeal::DoFind ( TClonesArray *  hitArray,
TClonesArray *  trackArray 
)
virtual

Track finding algorithm This just reads MC truth (MCTracks and MCPoints), creates one TrdTrack for each MCTrack and attaches the hits according to the MCTrack of the corresponding MCPoint

Parameters
hitArrayArray of TRD hits
trackArrayArray of CbmTrdTrack

@value Number of tracks created

Implements CbmTrdTrackFinder.

Definition at line 72 of file CbmTrdTrackFinderIdeal.cxx.

References fEventNum, fTrdHitMatches, fTrdHitProducerType, fTrdPoints, CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmHit::GetRefId(), and kTRDHIT.

◆ Init()

void CbmTrdTrackFinderIdeal::Init ( )
virtual

Initialisation

Reimplemented from CbmTrdTrackFinder.

Definition at line 46 of file CbmTrdTrackFinderIdeal.cxx.

References fEventNum, fMcTracks, fTrdHitMatches, fTrdHitProducerType, and fTrdPoints.

◆ operator=()

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

Member Data Documentation

◆ fEventNum

Int_t CbmTrdTrackFinderIdeal::fEventNum
private

Definition at line 64 of file CbmTrdTrackFinderIdeal.h.

Referenced by DoFind(), and Init().

◆ fMcTracks

TClonesArray* CbmTrdTrackFinderIdeal::fMcTracks
private

Definition at line 58 of file CbmTrdTrackFinderIdeal.h.

Referenced by Init().

◆ fTrdHitMatches

TClonesArray* CbmTrdTrackFinderIdeal::fTrdHitMatches
private

Definition at line 60 of file CbmTrdTrackFinderIdeal.h.

Referenced by DoFind(), and Init().

◆ fTrdHitProducerType

std::string CbmTrdTrackFinderIdeal::fTrdHitProducerType
private

Definition at line 62 of file CbmTrdTrackFinderIdeal.h.

Referenced by DoFind(), and Init().

◆ fTrdPoints

TClonesArray* CbmTrdTrackFinderIdeal::fTrdPoints
private

Definition at line 59 of file CbmTrdTrackFinderIdeal.h.

Referenced by DoFind(), and Init().


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