CbmRoot
|
#include <CbmL1TrackMerger.h>
Public Member Functions | |
CbmL1TrackMerger () | |
CbmL1TrackMerger (Int_t verbose) | |
virtual | ~CbmL1TrackMerger () |
void | Init () |
Int_t | DoMerge (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks) |
void | WriteHistogramms () |
Int_t | GetVerbose () const |
Int_t | GetMethod () const |
void | SetVerbose (Int_t verbose) |
void | SetMethod (Int_t method) |
ClassDef (CbmL1TrackMerger, 1) | |
Protected Member Functions | |
ClassDef (CbmTrackMerger, 1) | |
Protected Attributes | |
Int_t | fVerbose |
Private Member Functions | |
CbmL1TrackMerger (const CbmL1TrackMerger &) | |
CbmL1TrackMerger | operator= (const CbmL1TrackMerger &) |
Double_t | GetChi2XY (CbmKFTrack &kfTrack, FairTrackParam *trackParam) |
void | CreateHistogramms () |
Int_t | MergeSimple (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks) |
Int_t | MergeImPlane (TClonesArray *stsTracks, TClonesArray *trdTracks, TClonesArray *glbTracks) |
Private Attributes | |
Int_t | fMethod |
TClonesArray * | fArrayStsTrackM |
TClonesArray * | fArrayTrdTrackM |
TH2F * | fh_dx_true |
TH2F * | fh_dx_false |
TH2F * | fh_dy_true |
TH2F * | fh_dy_false |
TH2F * | fh_dtx_true |
TH2F * | fh_dtx_false |
TH2F * | fh_dty_true |
TH2F * | fh_dty_false |
Definition at line 16 of file CbmL1TrackMerger.h.
|
private |
CbmL1TrackMerger::CbmL1TrackMerger | ( | ) |
Definition at line 42 of file CbmL1TrackMerger.cxx.
References CreateHistogramms(), and CbmTrackMerger::fVerbose.
CbmL1TrackMerger::CbmL1TrackMerger | ( | Int_t | verbose | ) |
Definition at line 73 of file CbmL1TrackMerger.cxx.
References CreateHistogramms(), and CbmTrackMerger::fVerbose.
|
virtual |
Definition at line 104 of file CbmL1TrackMerger.cxx.
CbmL1TrackMerger::ClassDef | ( | CbmL1TrackMerger | , |
1 | |||
) |
|
protectedinherited |
|
private |
Definition at line 425 of file CbmL1TrackMerger.cxx.
References fh_dtx_false, fh_dtx_true, fh_dty_false, fh_dty_true, fh_dx_false, fh_dx_true, fh_dy_false, and fh_dy_true.
Referenced by CbmL1TrackMerger().
|
virtual |
Abstract method DoMerge. To be implemented in the derived classes. Task: Take arrays of StsTracks and TrdTracks and merge them to GlobalTracks. Fill the TClonesArray with CbmGlobalTracks.
stsTracks | Array of CbmStsTrack (input) |
trdTracks | Array of CbmTrdTrack (input) |
glbTracks | Array of CbmGlobalTracks (output) |
@value Number of merged STS+TRD tracks
Implements CbmTrackMerger.
Definition at line 136 of file CbmL1TrackMerger.cxx.
References fMethod, MergeImPlane(), and MergeSimple().
|
private |
Definition at line 408 of file CbmL1TrackMerger.cxx.
References CbmKFTrack::GetCovMatrix(), and CbmKFTrack::GetTrack().
Referenced by MergeImPlane().
|
inline |
Definition at line 56 of file CbmL1TrackMerger.h.
References fMethod.
|
inline |
Definition at line 55 of file CbmL1TrackMerger.h.
References CbmTrackMerger::fVerbose.
|
virtual |
Virtual method Init. If needed, to be implemented in the concrete class. Else no action.
Reimplemented from CbmTrackMerger.
Definition at line 111 of file CbmL1TrackMerger.cxx.
References fArrayStsTrackM, fArrayTrdTrackM, and rootMgr.
|
private |
Definition at line 212 of file CbmL1TrackMerger.cxx.
References CbmKFTrackInterface::Extrapolate(), fArrayStsTrackM, fArrayTrdTrackM, fh_dtx_false, fh_dtx_true, fh_dty_false, fh_dty_true, fh_dx_false, fh_dx_true, fh_dy_false, fh_dy_true, GetChi2XY(), CbmTrackMatch::GetMCTrackId(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmKFTrack::GetTrack(), xMath::Pi(), CbmGlobalTrack::SetStsTrackIndex(), CbmKFTrack::SetTrackParam(), and CbmGlobalTrack::SetTrdTrackIndex().
Referenced by DoMerge().
|
private |
Definition at line 154 of file CbmL1TrackMerger.cxx.
References CbmTrackMerger::fVerbose, CbmTrack::GetPreviousTrackId(), CbmGlobalTrack::SetStsTrackIndex(), and CbmGlobalTrack::SetTrdTrackIndex().
Referenced by DoMerge().
|
private |
|
inline |
Definition at line 59 of file CbmL1TrackMerger.h.
References fMethod.
|
inline |
Definition at line 58 of file CbmL1TrackMerger.h.
References CbmTrackMerger::fVerbose.
void CbmL1TrackMerger::WriteHistogramms | ( | ) |
Definition at line 443 of file CbmL1TrackMerger.cxx.
References fh_dtx_false, fh_dtx_true, fh_dty_false, fh_dty_true, fh_dx_false, fh_dx_true, fh_dy_false, and fh_dy_true.
|
private |
Definition at line 24 of file CbmL1TrackMerger.h.
Referenced by Init(), and MergeImPlane().
|
private |
Definition at line 25 of file CbmL1TrackMerger.h.
Referenced by Init(), and MergeImPlane().
|
private |
Definition at line 31 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 30 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 33 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 32 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 27 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 26 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 29 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 28 of file CbmL1TrackMerger.h.
Referenced by CreateHistogramms(), MergeImPlane(), and WriteHistogramms().
|
private |
Definition at line 22 of file CbmL1TrackMerger.h.
Referenced by DoMerge(), GetMethod(), and SetMethod().
|
protectedinherited |
Definition at line 64 of file CbmTrackMerger.h.
Referenced by CbmL1TrackMerger(), CbmTrackMergerIdeal::CbmTrackMergerIdeal(), CbmTrackMergerIdeal::DoMerge(), GetVerbose(), MergeSimple(), SetVerbose(), and CbmTrackMerger::SetVerbose().