CbmRoot
|
#include <CbmTrdFindVectors.h>
Public Member Functions | |
CbmTrdFindVectors () | |
virtual | ~CbmTrdFindVectors () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
virtual void | SetParContainers () |
Int_t | GetNofTracks () |
Private Member Functions | |
void | ComputeMatrix () |
void | GetHits () |
void | MakeVectors () |
void | CheckParams () |
void | RemoveClones () |
void | StoreVectors () |
void | ProcessPlane (Int_t lay, Int_t patt, Int_t flag) |
void | FindLine (Int_t patt, Double_t *pars) |
Double_t | FindChi2 (Int_t patt, Double_t *pars) |
void | AddVector (Int_t patt, Double_t chi2, Double_t *pars) |
void | SetTrackId (CbmMuchTrack *vec) |
CbmTrdFindVectors (const CbmTrdFindVectors &) | |
CbmTrdFindVectors & | operator= (const CbmTrdFindVectors &) |
Private Attributes | |
TClonesArray * | fTrackArray |
Int_t | fNofTracks |
TClonesArray * | fHits |
TClonesArray * | fClusters |
TClonesArray * | fDigiMatches |
CbmMCDataArray * | fPoints |
Double_t | fXy [fgkPlanes][5] |
Double_t | fXyi [fgkPlanes][3] |
Double_t | fDz [fgkPlanes] |
std::map< Int_t, TDecompLU * > | fLus |
Double_t | fZ0 |
Double_t | fErrX |
Double_t | fErrY |
Double_t | fCutChi2 |
std::map< Int_t, TMatrixDSym * > | fMatr |
std::multimap< Int_t, Int_t > | fHitPl [fgkPlanes] |
std::multimap< Double_t, Int_t > | fHitX [fgkPlanes] |
std::vector< CbmMuchTrack * > | fVectors |
Static Private Attributes | |
static const Int_t | fgkPlanes = 4 |
Definition at line 29 of file CbmTrdFindVectors.h.
CbmTrdFindVectors::CbmTrdFindVectors | ( | ) |
Default constructor
Definition at line 36 of file CbmTrdFindVectors.cxx.
|
virtual |
Destructor
Definition at line 52 of file CbmTrdFindVectors.cxx.
|
private |
|
private |
Definition at line 637 of file CbmTrdFindVectors.cxx.
References CbmTrack::AddHit(), fDz, fErrX, fgkPlanes, fMatr, fVectors, fXyi, fZ0, CbmTrack::GetNofHits(), kTRDHIT, CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), and SetTrackId().
Referenced by ProcessPlane().
|
private |
Definition at line 353 of file CbmTrdFindVectors.cxx.
References fVectors, CbmTrack::GetChiSq(), CbmTrack::GetParamFirst(), and CbmTrack::SetChiSq().
Referenced by Exec().
|
private |
|
virtual |
Task execution
Definition at line 159 of file CbmTrdFindVectors.cxx.
References CheckParams(), fTrackArray, fVectors, GetHits(), MakeVectors(), RemoveClones(), and StoreVectors().
|
private |
|
private |
Definition at line 584 of file CbmTrdFindVectors.cxx.
References fDz, fgkPlanes, fLus, fXy, and i.
Referenced by ProcessPlane().
|
virtual |
Finish at the end
Definition at line 192 of file CbmTrdFindVectors.cxx.
|
private |
!! For debug - select hits with certain track IDs
Definition at line 286 of file CbmTrdFindVectors.cxx.
References fgkPlanes, fHitPl, fHits, fHitX, CbmTrdHit::GetPlaneId(), CbmPixelHit::GetX(), and i.
Referenced by Exec().
|
inline |
|
virtual |
Initialisation
Definition at line 56 of file CbmTrdFindVectors.cxx.
References ComputeMatrix(), fClusters, fDigiMatches, fDz, fHits, fPoints, fTrackArray, fZ0, CbmSetup::GetGeoTag(), CbmMCDataManager::GetObject(), i, CbmMCDataManager::InitBranch(), CbmSetup::Instance(), and kTrd.
|
private |
Definition at line 317 of file CbmTrdFindVectors.cxx.
References fHitPl, fHits, fVectors, fXy, fXyi, CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), and ProcessPlane().
Referenced by Exec().
|
private |
|
private |
Definition at line 485 of file CbmTrdFindVectors.cxx.
References AddVector(), fCutChi2, fgkPlanes, fHitPl, fHits, FindChi2(), FindLine(), fXy, fXyi, CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
Referenced by MakeVectors().
|
private |
Definition at line 386 of file CbmTrdFindVectors.cxx.
References fgkPlanes, fHits, fVectors, CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmTrack::GetNofHits(), CbmTrdHit::GetPlaneId(), i, and CbmTrack::SetChiSq().
Referenced by Exec().
|
virtual |
SetParContainers
Definition at line 149 of file CbmTrdFindVectors.cxx.
|
private |
Definition at line 677 of file CbmTrdFindVectors.cxx.
References fClusters, fDigiMatches, fHits, fPoints, CbmMCDataArray::Get(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmLink::GetFile(), CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), and CbmTrack::SetFlag().
Referenced by AddVector().
|
private |
Definition at line 464 of file CbmTrdFindVectors.cxx.
References fHits, fTrackArray, fVectors, and CbmTrack::GetNofHits().
Referenced by Exec().
|
private |
Definition at line 115 of file CbmTrdFindVectors.h.
Referenced by Init(), and SetTrackId().
|
private |
Definition at line 127 of file CbmTrdFindVectors.h.
Referenced by ProcessPlane().
|
private |
Definition at line 116 of file CbmTrdFindVectors.h.
Referenced by Init(), and SetTrackId().
|
private |
Definition at line 121 of file CbmTrdFindVectors.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), and Init().
|
private |
Definition at line 125 of file CbmTrdFindVectors.h.
Referenced by AddVector(), and FindChi2().
|
private |
Definition at line 126 of file CbmTrdFindVectors.h.
Referenced by FindChi2().
|
staticprivate |
Definition at line 56 of file CbmTrdFindVectors.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), GetHits(), ProcessPlane(), and RemoveClones().
|
private |
Definition at line 131 of file CbmTrdFindVectors.h.
Referenced by GetHits(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 114 of file CbmTrdFindVectors.h.
Referenced by GetHits(), Init(), MakeVectors(), ProcessPlane(), RemoveClones(), SetTrackId(), and StoreVectors().
|
private |
Definition at line 133 of file CbmTrdFindVectors.h.
Referenced by GetHits().
|
private |
Definition at line 123 of file CbmTrdFindVectors.h.
Referenced by ComputeMatrix(), and FindLine().
|
private |
Definition at line 129 of file CbmTrdFindVectors.h.
Referenced by AddVector(), and ComputeMatrix().
|
private |
Definition at line 113 of file CbmTrdFindVectors.h.
Referenced by GetNofTracks().
|
private |
Definition at line 118 of file CbmTrdFindVectors.h.
Referenced by Init(), and SetTrackId().
|
private |
Definition at line 112 of file CbmTrdFindVectors.h.
Referenced by Exec(), Init(), and StoreVectors().
|
private |
Definition at line 134 of file CbmTrdFindVectors.h.
Referenced by AddVector(), CheckParams(), Exec(), MakeVectors(), RemoveClones(), and StoreVectors().
|
private |
Definition at line 119 of file CbmTrdFindVectors.h.
Referenced by FindChi2(), FindLine(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 120 of file CbmTrdFindVectors.h.
Referenced by AddVector(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 124 of file CbmTrdFindVectors.h.
Referenced by AddVector(), and Init().