CbmRoot
|
#include <CbmL1GlobalTrackFinder.h>
Public Member Functions | |
CbmL1GlobalTrackFinder () | |
virtual | ~CbmL1GlobalTrackFinder () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
void | ProcessEvent (CbmEvent *event) |
virtual Int_t | DoFind () |
virtual Int_t | FindTracks (CbmEvent *event) |
Private Member Functions | |
Int_t | CopyL1Tracks (CbmEvent *event=NULL) |
Int_t | CreateGlobalTrackArray (CbmEvent *event, TClonesArray *globalTracks, TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *muchTracks, TClonesArray *tofTracks) |
ClassDef (CbmL1GlobalTrackFinder, 1) | |
Private Attributes | |
TClonesArray * | fMuchTracks |
TClonesArray * | fTrdTracks |
TClonesArray * | fTofTracks |
TClonesArray * | fGlobalTracks |
TClonesArray * | fMvdHits |
TClonesArray * | fStsHits |
TClonesArray * | fTracks |
TClonesArray * | fEvents |
TStopwatch | fTimer |
Array of CbmEvent objects. More... | |
Int_t | fNofEvents |
Timer. More... | |
Double_t | fNofHits |
Number of hits. More... | |
Double_t | fNofTracks |
Number of tracks created. More... | |
Double_t | fTime |
Total real time used for good events. More... | |
Int_t | fEventNo |
Definition at line 36 of file CbmL1GlobalTrackFinder.h.
CbmL1GlobalTrackFinder::CbmL1GlobalTrackFinder | ( | ) |
Default constructor
|
virtual |
Destructor
Definition at line 50 of file CbmL1GlobalTrackFinder.cxx.
|
private |
|
private |
Copy the tracks from the L1-internal format and array to the output TClonesArray. @value Number of created tracks
Definition at line 326 of file CbmL1GlobalTrackFinder.cxx.
References CbmTrack::AddHit(), CbmStsTrack::AddMvdHit(), CbmL1TrackPar::C, CbmL1TrackPar::chi2, CbmL1Track::CLast, CbmKFMath::CopyTC2TrackParam(), CbmL1Track::Cpv, fTracks, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmL1::Instance(), kSTSHIT, kStsTrack, CbmL1TrackPar::NDF, CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), CbmTrack::SetPidHypo(), CbmTrack::SetTime(), CbmTrack::SetTimeError(), CbmL1TrackPar::T, CbmL1Track::TLast, CbmL1Track::Tpv, CbmL1::vHitStore, and CbmL1::vRTracks.
Referenced by DoFind().
|
private |
Definition at line 150 of file CbmL1GlobalTrackFinder.cxx.
References CbmTrack::AddHit(), CbmL1TrackPar::C, CbmL1Track::CLast, CbmKFMath::CopyTC2TrackParam(), CbmTrack::GetHitIndex(), CbmTrack::GetNofHits(), CbmStsTrack::GetNofHits(), CbmGlobalTrack::GetParamFirst(), CbmTrack::GetParamFirst(), CbmGlobalTrack::GetParamLast(), CbmTrack::GetParamLast(), i, CbmL1::Instance(), kGlobalTrack, kMUCHPIXELHIT, kMuchTrack, kSTSHIT, kStsTrack, kTofHit, kTRDHIT, kTrdTrack, CbmTrack::SetChiSq(), CbmGlobalTrack::SetMuchTrackIndex(), CbmTrack::SetNDF(), CbmGlobalTrack::SetParamFirst(), CbmTrack::SetParamFirst(), CbmGlobalTrack::SetParamLast(), CbmTrack::SetParamLast(), CbmGlobalTrack::SetStsTrackIndex(), CbmGlobalTrack::SetTofHitIndex(), CbmTofTrack::SetTofHitIndex(), CbmTofTrack::SetTrackIndex(), CbmGlobalTrack::SetTrdTrackIndex(), CbmL1TrackPar::T, CbmL1Track::TLast, CbmL1::vHitStore, and CbmL1::vRTracks.
Referenced by FindTracks().
|
virtual |
Track finding algorithm
Definition at line 377 of file CbmL1GlobalTrackFinder.cxx.
References CopyL1Tracks(), fTracks, CbmL1::Instance(), and CbmL1::Reconstruct().
|
virtual |
Definition at line 96 of file CbmL1GlobalTrackFinder.cxx.
References fEventNo, fEvents, fTracks, and ProcessEvent().
|
virtual |
Execute track finding on one event
event | Pointer to event object @value Number of created tracks |
Definition at line 397 of file CbmL1GlobalTrackFinder.cxx.
References CreateGlobalTrackArray(), fGlobalTracks, fMuchTracks, fTofTracks, fTracks, and fTrdTracks.
Referenced by ProcessEvent().
|
virtual |
Definition at line 418 of file CbmL1GlobalTrackFinder.cxx.
References fNofEvents, fNofHits, fNofTracks, and fTime.
|
virtual |
Initialisation
Definition at line 54 of file CbmL1GlobalTrackFinder.cxx.
References fEvents, fGlobalTracks, fMuchTracks, fMvdHits, fStsHits, fTofTracks, and fTrdTracks.
void CbmL1GlobalTrackFinder::ProcessEvent | ( | CbmEvent * | event | ) |
Definition at line 122 of file CbmL1GlobalTrackFinder.cxx.
References eventNumber, fEvents, FindTracks(), fNofEvents, fNofHits, fNofTracks, fStsHits, fTime, fTimer, and kStsHit.
Referenced by Exec().
|
private |
Definition at line 85 of file CbmL1GlobalTrackFinder.h.
Referenced by Exec().
|
private |
Definition at line 78 of file CbmL1GlobalTrackFinder.h.
Referenced by Exec(), Init(), and ProcessEvent().
|
private |
Definition at line 72 of file CbmL1GlobalTrackFinder.h.
Referenced by FindTracks(), and Init().
|
private |
Definition at line 69 of file CbmL1GlobalTrackFinder.h.
Referenced by FindTracks(), and Init().
|
private |
Definition at line 74 of file CbmL1GlobalTrackFinder.h.
Referenced by Init().
|
private |
Timer.
Number of events with success
Definition at line 81 of file CbmL1GlobalTrackFinder.h.
Referenced by Finish(), and ProcessEvent().
|
private |
Number of hits.
Definition at line 82 of file CbmL1GlobalTrackFinder.h.
Referenced by Finish(), and ProcessEvent().
|
private |
Number of tracks created.
Definition at line 83 of file CbmL1GlobalTrackFinder.h.
Referenced by Finish(), and ProcessEvent().
|
private |
Definition at line 75 of file CbmL1GlobalTrackFinder.h.
Referenced by Init(), and ProcessEvent().
|
private |
Total real time used for good events.
Definition at line 84 of file CbmL1GlobalTrackFinder.h.
Referenced by Finish(), and ProcessEvent().
|
private |
Array of CbmEvent objects.
Definition at line 80 of file CbmL1GlobalTrackFinder.h.
Referenced by ProcessEvent().
|
private |
Definition at line 71 of file CbmL1GlobalTrackFinder.h.
Referenced by FindTracks(), and Init().
|
private |
Definition at line 76 of file CbmL1GlobalTrackFinder.h.
Referenced by CopyL1Tracks(), DoFind(), Exec(), and FindTracks().
|
private |
Definition at line 70 of file CbmL1GlobalTrackFinder.h.
Referenced by FindTracks(), and Init().