CbmRoot
|
#include <CbmL1TrdTrackFinderSts.h>
Public Member Functions | |
CbmL1TrdTrackFinderSts () | |
CbmL1TrdTrackFinderSts (Int_t verbose) | |
virtual | ~CbmL1TrdTrackFinderSts () |
void | Init () |
Int_t | DoFind (TClonesArray *hitArray, TClonesArray *trackArray) |
void | WriteHistogramms () |
void | SetVerbose (Int_t verbose) |
ClassDef (CbmL1TrdTrackFinderSts, 1) | |
ClassDef (CbmTrdTrackFinder, 1) | |
Static Public Member Functions | |
static Bool_t | CompareChi2 (const CbmTrdTrack *a, const CbmTrdTrack *b) |
Private Member Functions | |
CbmL1TrdTrackFinderSts (const CbmL1TrdTrackFinderSts &) | |
CbmL1TrdTrackFinderSts | operator= (const CbmL1TrdTrackFinderSts &) |
void | CreateHistogramms () |
void | DataBranches () |
void | TrdLayout () |
void | SortTrdHits () |
void | Process () |
void | Sts2Trd (Double_t pmin, Double_t pmax, Double_t chi2min, Double_t chi2max) |
void | ProcessAllStations () |
void | MoveOut () |
void | ProcessStation (CbmTrdTrack *pTrack, const Int_t &station) |
void | UpdateTrack (Int_t station, CbmTrdTrack *track) |
virtual void | Clear (const Option_t *a=0) |
void | RemoveFakes () |
Bool_t | Overlap (CbmKFTrack &track, CbmTrdHit *pHit) |
Double_t | GetChi2Hit (CbmKFTrack &track, CbmTrdHit *pHit) |
Private Attributes | |
Int_t | fEvents |
Int_t | fVerbose |
TClonesArray * | fArrayTrdPoint |
TClonesArray * | fArrayTrdHit |
TClonesArray * | fArrayStsTrack |
TClonesArray * | fArrayStsTrackM |
TClonesArray * | fArrayKFTrdHit |
std::vector< CbmTrdTrack * > | fvTrdTrack |
TClonesArray * | fArrayTrdTrack |
Int_t | fPid |
Int_t | fNoTrdStations |
Int_t | fNoTrdPerStation |
Int_t | fNoTrdHits [12] |
Int_t | fTrdHitIndex [12][10000] |
std::map< Int_t, Bool_t > | fmapHitUsed |
TH1F * | fh_chi2hit |
TH2F * | fh_chi2hit_plane |
TH2F * | fh_resx_plane_true |
TH2F * | fh_resy_plane_true |
TH2F * | fh_resx_plane_fake |
TH2F * | fh_resy_plane_fake |
TH2F * | fh_resx_mom_true |
TH2F * | fh_resy_mom_true |
TH2F * | fh_pullx_plane_true |
TH2F * | fh_pully_plane_true |
TH2F * | fh_pullx_plane_fake |
TH2F * | fh_pully_plane_fake |
std::map< Int_t, Bool_t > | fLostTracks |
Definition at line 23 of file CbmL1TrdTrackFinderSts.h.
|
private |
CbmL1TrdTrackFinderSts::CbmL1TrdTrackFinderSts | ( | ) |
Definition at line 52 of file CbmL1TrdTrackFinderSts.cxx.
CbmL1TrdTrackFinderSts::CbmL1TrdTrackFinderSts | ( | Int_t | verbose | ) |
Definition at line 106 of file CbmL1TrdTrackFinderSts.cxx.
|
virtual |
Definition at line 160 of file CbmL1TrdTrackFinderSts.cxx.
References fArrayKFTrdHit, and fArrayTrdTrack.
CbmL1TrdTrackFinderSts::ClassDef | ( | CbmL1TrdTrackFinderSts | , |
1 | |||
) |
|
inherited |
|
privatevirtual |
Definition at line 570 of file CbmL1TrdTrackFinderSts.cxx.
References fvTrdTrack, and CbmTrack::GetFlag().
Referenced by ProcessAllStations().
|
inlinestatic |
Definition at line 85 of file CbmL1TrdTrackFinderSts.h.
References CbmTrack::GetChiSq(), and CbmTrack::GetNDF().
Referenced by RemoveFakes().
|
private |
Definition at line 745 of file CbmL1TrdTrackFinderSts.cxx.
References fh_chi2hit, fh_chi2hit_plane, fh_pullx_plane_fake, fh_pullx_plane_true, fh_pully_plane_fake, fh_pully_plane_true, fh_resx_mom_true, fh_resx_plane_fake, fh_resx_plane_true, fh_resy_mom_true, fh_resy_plane_fake, and fh_resy_plane_true.
Referenced by Init().
|
private |
Definition at line 786 of file CbmL1TrdTrackFinderSts.cxx.
References fArrayStsTrack, fArrayStsTrackM, fArrayTrdPoint, and rootMgr.
Referenced by Init().
|
virtual |
Abstract method DoFind. To be implemented in the concrete class. Task: Read the hit array and fill the track array, pointers to which are given as arguments
hitArray | Array of TRD hits |
trackArray | Array of CbmTrdTrack |
@value Number of tracks created
Implements CbmTrdTrackFinder.
Definition at line 190 of file CbmL1TrdTrackFinderSts.cxx.
References fArrayKFTrdHit, fArrayStsTrack, fArrayTrdHit, fArrayTrdTrack, fEvents, fLostTracks, fmapHitUsed, fVerbose, Process(), and SortTrdHits().
|
private |
Definition at line 717 of file CbmL1TrdTrackFinderSts.cxx.
References CbmKFTrack::GetCovMatrix(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmKFTrack::GetTrack(), CbmPixelHit::GetX(), and CbmPixelHit::GetY().
Referenced by ProcessStation().
|
virtual |
Virtual method Init. If needed, to be implemented in the concrete class. Else no action.
Reimplemented from CbmTrdTrackFinder.
Definition at line 174 of file CbmL1TrdTrackFinderSts.cxx.
References CreateHistogramms(), DataBranches(), and TrdLayout().
|
private |
Definition at line 362 of file CbmL1TrdTrackFinderSts.cxx.
References fArrayTrdTrack, fvTrdTrack, and CbmTrack::GetFlag().
Referenced by Process().
|
private |
|
private |
Definition at line 652 of file CbmL1TrdTrackFinderSts.cxx.
References CbmKFTrack::GetCovMatrix(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmKFTrack::GetTrack(), CbmPixelHit::GetX(), and CbmPixelHit::GetY().
Referenced by ProcessStation().
|
private |
Definition at line 243 of file CbmL1TrdTrackFinderSts.cxx.
References MoveOut(), ProcessAllStations(), and Sts2Trd().
Referenced by DoFind().
|
private |
Definition at line 338 of file CbmL1TrdTrackFinderSts.cxx.
References Clear(), fNoTrdStations, fVerbose, fvTrdTrack, ProcessStation(), and UpdateTrack().
Referenced by Process().
|
private |
Definition at line 381 of file CbmL1TrdTrackFinderSts.cxx.
References CbmTrack::AddHit(), CbmKFTrackInterface::Extrapolate(), fArrayStsTrackM, fArrayTrdHit, fArrayTrdPoint, fh_chi2hit, fh_chi2hit_plane, fh_pullx_plane_fake, fh_pullx_plane_true, fh_pully_plane_fake, fh_pully_plane_true, fh_resx_plane_fake, fh_resx_plane_true, fh_resy_plane_fake, fh_resy_plane_true, finite(), fLostTracks, fmapHitUsed, fNoTrdHits, fNoTrdPerStation, fPid, fTrdHitIndex, fVerbose, GetChi2Hit(), CbmKFTrack::GetCovMatrix(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmTrack::GetFlag(), CbmTrackMatch::GetMCTrackId(), CbmTrack::GetParamLast(), CbmTrack::GetPreviousTrackId(), CbmHit::GetRefId(), CbmKFTrack::GetTrack(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), kTRDHIT, Overlap(), pos, CbmTrack::SetFlag(), CbmKFTrack::SetPID(), and CbmKFTrack::SetTrackParam().
Referenced by ProcessAllStations().
|
private |
Map from sts track index to boolean flag
Definition at line 588 of file CbmL1TrdTrackFinderSts.cxx.
References CompareChi2(), fmapHitUsed, fvTrdTrack, CbmTrack::GetFlag(), CbmTrack::GetHitIndex(), CbmTrack::GetNofHits(), CbmTrack::GetPreviousTrackId(), and CbmTrack::SetFlag().
|
inline |
Definition at line 83 of file CbmL1TrdTrackFinderSts.h.
References fVerbose.
|
private |
Definition at line 890 of file CbmL1TrdTrackFinderSts.cxx.
References CbmKFTrdHit::Create(), fArrayKFTrdHit, fArrayTrdHit, fNoTrdHits, fNoTrdPerStation, fNoTrdStations, fTrdHitIndex, CbmTrdHit::GetPlaneId(), and i.
Referenced by DoFind().
|
private |
Definition at line 291 of file CbmL1TrdTrackFinderSts.cxx.
References fArrayStsTrack, fVerbose, fvTrdTrack, CbmTrack::GetChiSq(), CbmTrack::GetNDF(), CbmTrack::GetParamLast(), CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamLast(), and CbmTrack::SetPreviousTrackId().
Referenced by Process().
|
private |
Definition at line 822 of file CbmL1TrdTrackFinderSts.cxx.
References fNoTrdPerStation, and fNoTrdStations.
Referenced by Init().
|
private |
Definition at line 523 of file CbmL1TrdTrackFinderSts.cxx.
References CbmKFTrackInterface::Extrapolate(), fArrayKFTrdHit, fArrayTrdHit, CbmKFTrdHit::Filter(), fNoTrdPerStation, fNoTrdStations, fPid, CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmTrack::GetNDF(), CbmTrack::GetNofHits(), CbmTrack::GetParamLast(), CbmKFTrack::GetRefChi2(), CbmKFTrack::GetRefNDF(), CbmKFTrack::GetTrackParam(), CbmHit::GetZ(), CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmKFTrack::SetPID(), and CbmKFTrack::SetTrackParam().
Referenced by ProcessAllStations().
void CbmL1TrdTrackFinderSts::WriteHistogramms | ( | ) |
Definition at line 932 of file CbmL1TrdTrackFinderSts.cxx.
References fh_chi2hit, fh_chi2hit_plane, fh_pullx_plane_fake, fh_pullx_plane_true, fh_pully_plane_fake, fh_pully_plane_true, fh_resx_mom_true, fh_resx_plane_fake, fh_resx_plane_true, fh_resy_mom_true, fh_resy_plane_fake, and fh_resy_plane_true.
|
private |
Definition at line 35 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), SortTrdHits(), UpdateTrack(), and ~CbmL1TrdTrackFinderSts().
|
private |
Definition at line 33 of file CbmL1TrdTrackFinderSts.h.
Referenced by DataBranches(), DoFind(), and Sts2Trd().
|
private |
Definition at line 34 of file CbmL1TrdTrackFinderSts.h.
Referenced by DataBranches(), and ProcessStation().
|
private |
Definition at line 32 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), ProcessStation(), SortTrdHits(), and UpdateTrack().
|
private |
Definition at line 31 of file CbmL1TrdTrackFinderSts.h.
Referenced by DataBranches(), and ProcessStation().
|
private |
Definition at line 37 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), MoveOut(), and ~CbmL1TrdTrackFinderSts().
|
private |
Definition at line 29 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind().
|
private |
Definition at line 44 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 45 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 54 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 52 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 55 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 53 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 50 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), and WriteHistogramms().
|
private |
Definition at line 48 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 46 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 51 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), and WriteHistogramms().
|
private |
Definition at line 49 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 47 of file CbmL1TrdTrackFinderSts.h.
Referenced by CreateHistogramms(), ProcessStation(), and WriteHistogramms().
|
private |
Definition at line 56 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), and ProcessStation().
|
private |
Definition at line 43 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), ProcessStation(), and RemoveFakes().
|
private |
Definition at line 41 of file CbmL1TrdTrackFinderSts.h.
Referenced by ProcessStation(), and SortTrdHits().
|
private |
Definition at line 40 of file CbmL1TrdTrackFinderSts.h.
Referenced by ProcessStation(), SortTrdHits(), TrdLayout(), and UpdateTrack().
|
private |
Definition at line 39 of file CbmL1TrdTrackFinderSts.h.
Referenced by ProcessAllStations(), SortTrdHits(), TrdLayout(), and UpdateTrack().
|
private |
Definition at line 38 of file CbmL1TrdTrackFinderSts.h.
Referenced by ProcessStation(), and UpdateTrack().
|
private |
Definition at line 42 of file CbmL1TrdTrackFinderSts.h.
Referenced by ProcessStation(), and SortTrdHits().
|
private |
Definition at line 30 of file CbmL1TrdTrackFinderSts.h.
Referenced by DoFind(), ProcessAllStations(), ProcessStation(), SetVerbose(), and Sts2Trd().
|
private |
Definition at line 36 of file CbmL1TrdTrackFinderSts.h.
Referenced by Clear(), MoveOut(), ProcessAllStations(), RemoveFakes(), and Sts2Trd().