CbmRoot
|
#include <CbmMuchFindVectors.h>
Public Member Functions | |
CbmMuchFindVectors () | |
virtual | ~CbmMuchFindVectors () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
virtual void | SetParContainers () |
Int_t | GetNofTracks () |
Int_t | GetNofStat () const |
Private Member Functions | |
void | ComputeMatrix () |
failed fits More... | |
void | GetHits () |
void | MakeVectors () |
void | ProcessDouble (Int_t ista, Int_t lay2, Int_t patt, Int_t flag, Int_t tube0, Int_t segment0) |
Bool_t | IntersectViews (Int_t ista, Int_t curLay, Int_t indx1, Int_t indx2, Int_t patt) |
void | AddVector (Int_t ista, Int_t patt, Double_t chi2, Double_t *pars, Bool_t lowRes=kTRUE) |
void | SetTrackId (CbmMuchTrack *vec) |
Bool_t | SelDoubleId (Int_t indx1, Int_t indx2) |
void | FindLine (Int_t patt, Double_t *pars) |
Double_t | FindChi2 (Int_t ista, Int_t patt, Double_t *pars) |
void | CheckParams () |
void | HighRes () |
void | ProcessSingleHigh (Int_t ista, Int_t plane, Int_t patt, Int_t flag, Int_t nok, Double_t uu[fgkPlanes][2]) |
void | MoveVectors () |
void | RemoveClones () |
void | RemoveShorts () |
void | StoreVectors () |
Int_t | CountBits (Int_t x) |
void | MatchVectors () |
void | RemoveOutliers (Int_t ista, Int_t patt, Double_t uu[fgkPlanes][2]) |
CbmMuchFindVectors (const CbmMuchFindVectors &) | |
CbmMuchFindVectors & | operator= (const CbmMuchFindVectors &) |
Private Attributes | |
CbmMuchGeoScheme * | fGeoScheme |
TClonesArray * | fTrackArray |
Int_t | fNofTracks |
TClonesArray * | fHits |
TClonesArray * | fPoints |
TClonesArray * | fDigiMatches |
Int_t | fStatFirst |
std::multimap< Int_t, Int_t > | fHitPl [fgkStat][fgkPlanes2] |
std::vector< CbmMuchTrack * > | fVectors [fgkStat] |
std::vector< CbmMuchTrack * > | fVectorsHigh [fgkStat] |
Double_t | fUz [fgkPlanes2][3] |
Double_t | fUzi [fgkPlanes2][3] |
Double_t | fDz [fgkPlanes2] |
Double_t | fCosa [fgkPlanes2] |
Double_t | fSina [fgkPlanes2] |
std::map< Int_t, TDecompLU * > | fLus |
Double_t | fErrU |
Double_t | fDiam |
Double_t | fCutChi2 |
Int_t | fMinHits |
Double_t | fZ0 [fgkStat] |
Double_t | fRmin [fgkStat] |
Double_t | fRmax [fgkStat] |
Double_t | fDtubes [fgkStat][fgkPlanes2] |
std::map< Int_t, TMatrixDSym * > | fMatr |
std::vector< std::pair< Int_t, Int_t > > | fHit2d [fgkStat][fgkPlanes2] |
Double_t | fZabs0 [9][2] |
Double_t | fX0abs [9] |
std::multimap< Double_t, Int_t > | fChi2Map |
std::multimap< Int_t, std::multimap< Double_t, Int_t > > | fFailed |
Static Private Attributes | |
static const Int_t | fgkStat = 2 |
static const Int_t | fgkPlanes = 8 |
static const Int_t | fgkPlanes2 = 16 |
Definition at line 25 of file CbmMuchFindVectors.h.
CbmMuchFindVectors::CbmMuchFindVectors | ( | ) |
Default constructor
Definition at line 36 of file CbmMuchFindVectors.cxx.
|
virtual |
Destructor
Definition at line 54 of file CbmMuchFindVectors.cxx.
References fgkStat, fLus, fTrackArray, fVectors, and i.
|
private |
|
private |
Definition at line 759 of file CbmMuchFindVectors.cxx.
References CbmTrack::AddHit(), fDz, fErrU, fgkPlanes, fHits, fMatr, fStatFirst, fUz, fUzi, fVectors, fVectorsHigh, fZ0, CbmTrack::GetNofHits(), kMUCHSTRAWHIT, CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), and SetTrackId().
Referenced by ProcessDouble(), and ProcessSingleHigh().
|
private |
Definition at line 937 of file CbmMuchFindVectors.cxx.
References fgkStat, fVectors, CbmTrack::GetChiSq(), CbmTrack::GetParamFirst(), and CbmTrack::SetChiSq().
Referenced by Exec().
|
private |
|
private |
Definition at line 1306 of file CbmMuchFindVectors.cxx.
References x.
|
virtual |
Task execution
Definition at line 182 of file CbmMuchFindVectors.cxx.
References CheckParams(), fErrU, fgkStat, fStatFirst, fTrackArray, fVectors, fVectorsHigh, GetHits(), HighRes(), i, MakeVectors(), MatchVectors(), RemoveShorts(), and StoreVectors().
|
private |
Definition at line 876 of file CbmMuchFindVectors.cxx.
References fChi2Map, fCosa, fDz, fErrU, fgkPlanes, first, fRmin, fSina, fUz, fUzi, i, Cbm::Sign(), v, x, and y.
Referenced by ProcessDouble(), and ProcessSingleHigh().
|
private |
Definition at line 847 of file CbmMuchFindVectors.cxx.
References fCosa, fDz, fgkPlanes, fLus, fSina, fUz, and i.
Referenced by ProcessDouble(), and ProcessSingleHigh().
|
virtual |
Finish at the end
Definition at line 234 of file CbmMuchFindVectors.cxx.
References fgkStat, fLus, fTrackArray, fVectors, and i.
|
private |
!! For debug - select hits with certain track IDs
Definition at line 341 of file CbmMuchFindVectors.cxx.
References fErrU, fGeoScheme, fgkPlanes, fgkStat, fHit2d, fHitPl, fHits, fStatFirst, CbmMuchModule::GetDetectorType(), CbmMuchAddress::GetElementAddress(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchGeoScheme::GetModuleByDetId(), CbmMuchAddress::GetStationIndex(), i, kMuchModule, and SelDoubleId().
Referenced by Exec().
|
inline |
Definition at line 47 of file CbmMuchFindVectors.h.
References fgkStat.
|
inline |
|
private |
Definition at line 969 of file CbmMuchFindVectors.cxx.
References fFailed, fGeoScheme, fgkPlanes, fgkStat, fHits, fUz, fUzi, fVectors, fVectorsHigh, CbmTrack::GetHitIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMuchGeoScheme::GetLayerSideIndex(), CbmTrack::GetNofHits(), MoveVectors(), ProcessSingleHigh(), and RemoveOutliers().
Referenced by Exec().
|
virtual |
Initialisation
Definition at line 70 of file CbmMuchFindVectors.cxx.
References ComputeMatrix(), fCosa, fDiam, fDigiMatches, fDtubes, fDz, fGeoScheme, fgkPlanes, fHits, fPoints, fRmax, fRmin, fSina, fStatFirst, fTrackArray, fX0abs, fZ0, fZabs0, CbmMuchStation::GetDetectorId(), CbmMuchModule::GetDetectorType(), CbmMuchStation::GetLayer(), CbmMuchGeoScheme::GetModule(), CbmMuchStation::GetNLayers(), CbmMuchGeoScheme::GetNStations(), CbmMuchStation::GetRmax(), CbmMuchStation::GetRmin(), CbmMuchLayer::GetSide(), CbmMuchGeoScheme::GetStation(), CbmMuchAddress::GetStationIndex(), CbmMuchLayerSide::GetZ(), and i.
|
private |
|
private |
Definition at line 564 of file CbmMuchFindVectors.cxx.
References fgkStat, fHit2d, fHits, fUz, fUzi, fVectors, and ProcessDouble().
Referenced by Exec().
|
private |
Definition at line 1316 of file CbmMuchFindVectors.cxx.
References fCutChi2, fgkStat, fVectors, fX0abs, fZabs0, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmMuchMergeVectors::PassAbsorber(), and CbmTrack::SetParamLast().
Referenced by Exec().
|
private |
Definition at line 1085 of file CbmMuchFindVectors.cxx.
References fgkStat, fVectors, and fVectorsHigh.
Referenced by HighRes().
|
private |
|
private |
Definition at line 608 of file CbmMuchFindVectors.cxx.
References AddVector(), fCutChi2, fDtubes, fDz, fgkPlanes, fHit2d, fHits, FindChi2(), FindLine(), fSina, fUz, fUzi, and fZ0.
Referenced by MakeVectors().
|
private |
Definition at line 1015 of file CbmMuchFindVectors.cxx.
References AddVector(), fChi2Map, fCutChi2, fFailed, fgkPlanes, FindChi2(), FindLine(), fMinHits, and fUz.
Referenced by HighRes(), and RemoveOutliers().
|
private |
Definition at line 1102 of file CbmMuchFindVectors.cxx.
References fGeoScheme, fgkPlanes, fgkStat, fHits, fVectors, CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMuchGeoScheme::GetLayerSideIndex(), CbmTrack::GetNofHits(), and CbmTrack::SetChiSq().
|
private |
Definition at line 1433 of file CbmMuchFindVectors.cxx.
References fFailed, fgkPlanes, fUz, and ProcessSingleHigh().
Referenced by HighRes().
|
private |
Definition at line 1200 of file CbmMuchFindVectors.cxx.
References fGeoScheme, fgkPlanes, fgkStat, fHits, fVectors, CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMuchGeoScheme::GetLayerSideIndex(), CbmTrack::GetNofHits(), and CbmTrack::SetChiSq().
Referenced by Exec().
|
private |
Definition at line 517 of file CbmMuchFindVectors.cxx.
References fDigiMatches, fHits, fPoints, CbmLink::GetIndex(), CbmMatch::GetLink(), CbmMatch::GetNofLinks(), and i.
Referenced by GetHits().
|
virtual |
SetParContainers
Definition at line 178 of file CbmMuchFindVectors.cxx.
|
private |
Definition at line 799 of file CbmMuchFindVectors.cxx.
References fDigiMatches, fHits, fPoints, CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmTrack::GetNofHits(), CbmMatch::GetNofLinks(), and CbmTrack::SetFlag().
Referenced by AddVector().
|
private |
Definition at line 1266 of file CbmMuchFindVectors.cxx.
References fgkStat, fHits, fTrackArray, fVectors, and CbmTrack::GetNofHits().
Referenced by Exec().
|
private |
Definition at line 89 of file CbmMuchFindVectors.h.
Referenced by FindChi2(), and ProcessSingleHigh().
|
private |
Definition at line 71 of file CbmMuchFindVectors.h.
Referenced by ComputeMatrix(), FindChi2(), FindLine(), Init(), and IntersectViews().
|
private |
Definition at line 77 of file CbmMuchFindVectors.h.
Referenced by MatchVectors(), ProcessDouble(), and ProcessSingleHigh().
|
private |
Definition at line 76 of file CbmMuchFindVectors.h.
Referenced by Init().
|
private |
Definition at line 61 of file CbmMuchFindVectors.h.
Referenced by Init(), SelDoubleId(), and SetTrackId().
|
private |
Definition at line 82 of file CbmMuchFindVectors.h.
Referenced by Init(), and ProcessDouble().
|
private |
Definition at line 70 of file CbmMuchFindVectors.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), Init(), and ProcessDouble().
|
private |
Definition at line 75 of file CbmMuchFindVectors.h.
Referenced by AddVector(), Exec(), FindChi2(), and GetHits().
|
private |
Definition at line 90 of file CbmMuchFindVectors.h.
Referenced by HighRes(), ProcessSingleHigh(), and RemoveOutliers().
|
private |
Definition at line 56 of file CbmMuchFindVectors.h.
Referenced by GetHits(), HighRes(), Init(), RemoveClones(), and RemoveShorts().
|
staticprivate |
Definition at line 52 of file CbmMuchFindVectors.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), GetHits(), HighRes(), Init(), ProcessDouble(), ProcessSingleHigh(), RemoveClones(), RemoveOutliers(), and RemoveShorts().
|
staticprivate |
Definition at line 53 of file CbmMuchFindVectors.h.
|
staticprivate |
Definition at line 51 of file CbmMuchFindVectors.h.
Referenced by CheckParams(), Exec(), Finish(), GetHits(), GetNofStat(), HighRes(), MakeVectors(), MatchVectors(), MoveVectors(), RemoveClones(), RemoveShorts(), StoreVectors(), and ~CbmMuchFindVectors().
|
private |
Definition at line 86 of file CbmMuchFindVectors.h.
Referenced by GetHits(), MakeVectors(), and ProcessDouble().
|
private |
Definition at line 64 of file CbmMuchFindVectors.h.
Referenced by GetHits().
|
private |
Definition at line 59 of file CbmMuchFindVectors.h.
Referenced by AddVector(), GetHits(), HighRes(), Init(), MakeVectors(), ProcessDouble(), RemoveClones(), RemoveShorts(), SelDoubleId(), SetTrackId(), and StoreVectors().
|
private |
Definition at line 74 of file CbmMuchFindVectors.h.
Referenced by ComputeMatrix(), FindLine(), Finish(), and ~CbmMuchFindVectors().
|
private |
Definition at line 84 of file CbmMuchFindVectors.h.
Referenced by AddVector(), and ComputeMatrix().
|
private |
Definition at line 78 of file CbmMuchFindVectors.h.
Referenced by ProcessSingleHigh().
|
private |
Definition at line 58 of file CbmMuchFindVectors.h.
Referenced by GetNofTracks().
|
private |
Definition at line 60 of file CbmMuchFindVectors.h.
Referenced by Init(), SelDoubleId(), and SetTrackId().
|
private |
Definition at line 81 of file CbmMuchFindVectors.h.
Referenced by Init(), and IntersectViews().
|
private |
Definition at line 80 of file CbmMuchFindVectors.h.
Referenced by FindChi2(), and Init().
|
private |
Definition at line 72 of file CbmMuchFindVectors.h.
Referenced by ComputeMatrix(), FindChi2(), FindLine(), Init(), IntersectViews(), and ProcessDouble().
|
private |
Definition at line 62 of file CbmMuchFindVectors.h.
Referenced by AddVector(), Exec(), GetHits(), and Init().
|
private |
Definition at line 57 of file CbmMuchFindVectors.h.
Referenced by Exec(), Finish(), Init(), StoreVectors(), and ~CbmMuchFindVectors().
|
private |
Definition at line 68 of file CbmMuchFindVectors.h.
Referenced by AddVector(), FindChi2(), FindLine(), HighRes(), IntersectViews(), MakeVectors(), ProcessDouble(), ProcessSingleHigh(), and RemoveOutliers().
|
private |
Definition at line 69 of file CbmMuchFindVectors.h.
Referenced by AddVector(), FindChi2(), HighRes(), IntersectViews(), MakeVectors(), and ProcessDouble().
|
private |
Definition at line 65 of file CbmMuchFindVectors.h.
Referenced by AddVector(), CheckParams(), Exec(), Finish(), HighRes(), MakeVectors(), MatchVectors(), MoveVectors(), RemoveClones(), RemoveShorts(), StoreVectors(), and ~CbmMuchFindVectors().
|
private |
Definition at line 67 of file CbmMuchFindVectors.h.
Referenced by AddVector(), Exec(), HighRes(), and MoveVectors().
|
private |
Definition at line 88 of file CbmMuchFindVectors.h.
Referenced by Init(), and MatchVectors().
|
private |
Definition at line 79 of file CbmMuchFindVectors.h.
Referenced by AddVector(), Init(), and ProcessDouble().
|
private |
Definition at line 87 of file CbmMuchFindVectors.h.
Referenced by Init(), and MatchVectors().