CbmRoot
|
#include <CbmTrdTrackFinderIdeal.h>
Public Member Functions | |
CbmTrdTrackFinderIdeal () | |
virtual | ~CbmTrdTrackFinderIdeal () |
virtual void | Init () |
virtual Int_t | DoFind (TClonesArray *hitArray, TClonesArray *trackArray) |
ClassDef (CbmTrdTrackFinder, 1) | |
Private Member Functions | |
CbmTrdTrackFinderIdeal & | operator= (const CbmTrdTrackFinderIdeal &) |
CbmTrdTrackFinderIdeal (const CbmTrdTrackFinderIdeal &) | |
ClassDef (CbmTrdTrackFinderIdeal, 1) | |
Private Attributes | |
TClonesArray * | fMcTracks |
TClonesArray * | fTrdPoints |
TClonesArray * | fTrdHitMatches |
std::string | fTrdHitProducerType |
Int_t | fEventNum |
Definition at line 27 of file CbmTrdTrackFinderIdeal.h.
CbmTrdTrackFinderIdeal::CbmTrdTrackFinderIdeal | ( | ) |
Default constructor
Definition at line 34 of file CbmTrdTrackFinderIdeal.cxx.
|
virtual |
Destructor
Definition at line 43 of file CbmTrdTrackFinderIdeal.cxx.
|
private |
|
inherited |
|
private |
|
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
hitArray | Array of TRD hits |
trackArray | Array 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.
|
virtual |
Initialisation
Reimplemented from CbmTrdTrackFinder.
Definition at line 46 of file CbmTrdTrackFinderIdeal.cxx.
References fEventNum, fMcTracks, fTrdHitMatches, fTrdHitProducerType, and fTrdPoints.
|
private |
|
private |
Definition at line 64 of file CbmTrdTrackFinderIdeal.h.
|
private |
Definition at line 58 of file CbmTrdTrackFinderIdeal.h.
Referenced by Init().
|
private |
Definition at line 60 of file CbmTrdTrackFinderIdeal.h.
|
private |
Definition at line 62 of file CbmTrdTrackFinderIdeal.h.
|
private |
Definition at line 59 of file CbmTrdTrackFinderIdeal.h.