CbmRoot
|
#include <CbmMuchFindVectorsGem.h>
Public Member Functions | |
CbmMuchFindVectorsGem () | |
virtual | ~CbmMuchFindVectorsGem () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | Finish () |
virtual void | SetParContainers () |
Int_t | GetNofTracks () |
Int_t | GetNofStat () const |
Int_t | GetAbsorbers (Double_t zabs[9][2], Double_t *x0abs) |
Private Member Functions | |
void | ComputeMatrix () |
void | GetHits () |
Bool_t | SelectHitId (const CbmMuchPixelHit *hit) |
Int_t | GetDowns (Int_t ista, std::vector< std::pair< Double_t, Double_t >> &vecDowns) |
void | MakeVectors (Int_t ista) |
Int_t | GetTrdVectors (std::vector< std::pair< Double_t, Double_t >> &vecDowns) |
void | ProcessPlane (Int_t ista, Int_t lay2, Int_t patt, Int_t flag) |
void | AddVector (Int_t ista, Int_t patt, Double_t chi2, Double_t *pars) |
void | SetTrackId (CbmMuchTrack *vec) |
void | FindLine (Int_t patt, Double_t *pars) |
Double_t | FindChi2 (Int_t ista, Int_t patt, Double_t *pars) |
void | CheckParams (Int_t ista) |
void | RemoveClones (Int_t ista) |
void | StoreVectors () |
Int_t | CountBits (Int_t x) |
void | Refit (Int_t patt, Double_t &chi2, Double_t *pars, TMatrixDSym &cov) |
void | MatchVectors () |
CbmMuchFindVectorsGem (const CbmMuchFindVectorsGem &) | |
CbmMuchFindVectorsGem & | operator= (const CbmMuchFindVectorsGem &) |
Private Attributes | |
CbmMuchGeoScheme * | fGeoScheme |
TClonesArray * | fTrackArray |
TClonesArray * | fVecPool |
Int_t | fNofTracks |
TClonesArray * | fHits |
TClonesArray * | fClusters |
TClonesArray * | fDigiMatches |
TClonesArray * | fTrdVectors |
CbmMCDataArray * | fPoints |
Int_t | fStatFirst |
std::multimap< Int_t, Int_t > | fHitPl [fgkStat][fgkPlanes] |
std::multimap< Double_t, Int_t > | fHitX [fgkStat][fgkPlanes] |
std::vector< CbmMuchTrack * > | fVectors [fgkStat] |
Double_t | fXy [fgkPlanes][5] |
Double_t | fXyi [fgkPlanes][3] |
Double_t | fDz [fgkPlanes] |
std::map< Int_t, TDecompLU * > | fLus |
Double_t | fErrX [9] |
Double_t | fErrY [9] |
Double_t | fCutChi2 [9] |
Double_t | fZ0 [fgkStat] |
Double_t | fRmin [fgkStat] |
Double_t | fRmax [fgkStat] |
Int_t | fNsect [fgkStat] |
std::map< Int_t, TMatrixDSym * > | fMatr |
std::multimap< Int_t, CbmMuchTrack * > | fSecVec [fgkStat] |
Double_t | fZabs0 [9][2] |
Double_t | fX0abs [9] |
Static Private Attributes | |
static const Int_t | fgkStat = 4 |
static const Int_t | fgkPlanes = 6 |
Definition at line 27 of file CbmMuchFindVectorsGem.h.
CbmMuchFindVectorsGem::CbmMuchFindVectorsGem | ( | ) |
Default constructor
Definition at line 42 of file CbmMuchFindVectorsGem.cxx.
|
virtual |
Destructor
Definition at line 64 of file CbmMuchFindVectorsGem.cxx.
References fLus, fTrackArray, and fVecPool.
|
private |
|
private |
Definition at line 725 of file CbmMuchFindVectorsGem.cxx.
References CbmTrack::AddHit(), fDz, fErrX, fgkPlanes, fMatr, fVecPool, fVectors, fXyi, fZ0, CbmTrack::GetNofHits(), kMUCHPIXELHIT, Refit(), CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), and SetTrackId().
Referenced by ProcessPlane().
|
private |
Definition at line 869 of file CbmMuchFindVectorsGem.cxx.
References fHits, fSecVec, fVectors, CbmHit::GetAddress(), CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmMuchAddress::GetModuleIndex(), CbmTrack::GetParamFirst(), and CbmTrack::SetChiSq().
Referenced by Exec().
|
private |
|
private |
Definition at line 1127 of file CbmMuchFindVectorsGem.cxx.
References x.
|
virtual |
Task execution
Definition at line 242 of file CbmMuchFindVectorsGem.cxx.
References CheckParams(), fgkStat, fSecVec, fTrackArray, fVecPool, fVectors, GetHits(), i, MakeVectors(), RemoveClones(), and StoreVectors().
|
private |
|
private |
Definition at line 817 of file CbmMuchFindVectorsGem.cxx.
References fDz, fgkPlanes, fLus, fXy, and i.
Referenced by ProcessPlane().
|
virtual |
Finish at the end
Definition at line 281 of file CbmMuchFindVectorsGem.cxx.
References fLus, fTrackArray, and fVecPool.
Int_t CbmMuchFindVectorsGem::GetAbsorbers | ( | Double_t | zabs[9][2], |
Double_t * | x0abs | ||
) |
Definition at line 1356 of file CbmMuchFindVectorsGem.cxx.
References fX0abs, and fZabs0.
Referenced by CbmMuchMergeVectors::Init().
|
private |
Definition at line 455 of file CbmMuchFindVectorsGem.cxx.
References fDz, fgkPlanes, fgkStat, fRmax, fTrackArray, fVectors, fZ0, CbmTrack::GetParamFirst(), i, x, and y.
Referenced by MakeVectors().
|
private |
!! For debug - select hits with certain track IDs
Definition at line 383 of file CbmMuchFindVectorsGem.cxx.
References fGeoScheme, fgkPlanes, fgkStat, fHitPl, fHits, fHitX, fStatFirst, CbmHit::GetAddress(), CbmMuchModule::GetDetectorType(), CbmMuchAddress::GetElementAddress(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchGeoScheme::GetModuleByDetId(), CbmMuchAddress::GetModuleIndex(), CbmMuchAddress::GetStationIndex(), CbmPixelHit::GetX(), i, and kMuchModule.
Referenced by Exec().
|
inline |
Definition at line 49 of file CbmMuchFindVectorsGem.h.
References fgkStat.
|
inline |
|
private |
Definition at line 620 of file CbmMuchFindVectorsGem.cxx.
References fDz, fgkPlanes, fgkStat, fTrdVectors, fZ0, CbmTrack::GetParamFirst(), i, x, and y.
Referenced by MakeVectors().
|
virtual |
Initialisation
Definition at line 75 of file CbmMuchFindVectorsGem.cxx.
References ComputeMatrix(), fClusters, fDigiMatches, fDz, fErrX, fErrY, fGeoScheme, fgkPlanes, fgkStat, fHits, fNsect, fPoints, fRmax, fRmin, fStatFirst, fTrackArray, fTrdVectors, fVecPool, fX0abs, fZ0, fZabs0, CbmMuchStation::GetDetectorId(), CbmMuchModule::GetDetectorType(), CbmSetup::GetGeoTag(), CbmMuchStation::GetLayer(), CbmMuchGeoScheme::GetModule(), CbmMuchStation::GetNLayers(), CbmMuchLayerSide::GetNModules(), CbmMuchGeoScheme::GetNStations(), CbmMCDataManager::GetObject(), CbmMuchStation::GetRmax(), CbmMuchStation::GetRmin(), CbmMuchLayer::GetSide(), CbmMuchGeoScheme::GetStation(), CbmMuchAddress::GetStationIndex(), CbmMuchLayerSide::GetZ(), i, CbmMCDataManager::InitBranch(), CbmSetup::Instance(), and kMuch.
|
private |
Definition at line 484 of file CbmMuchFindVectorsGem.cxx.
References fErrX, fErrY, fgkPlanes, fgkStat, fHitPl, fHits, fHitX, fRmax, fVectors, fXy, fXyi, CbmHit::GetAddress(), GetDowns(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmMuchAddress::GetModuleIndex(), CbmMuchPixelHit::GetPlaneId(), GetTrdVectors(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), and ProcessPlane().
Referenced by Exec().
|
private |
Definition at line 1239 of file CbmMuchFindVectorsGem.cxx.
References fCutChi2, fgkStat, fVectors, fX0abs, fZabs0, CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmMuchMergeVectors::PassAbsorber(), and CbmTrack::SetParamLast().
|
private |
|
private |
Definition at line 641 of file CbmMuchFindVectorsGem.cxx.
References AddVector(), fCutChi2, fErrX, fErrY, fgkPlanes, fHitPl, fHits, FindChi2(), FindLine(), fNsect, fXy, fXyi, CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmMuchPixelHit::GetPlaneId(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
Referenced by MakeVectors().
|
private |
Definition at line 1137 of file CbmMuchFindVectorsGem.cxx.
References fDz, fgkPlanes, fXy, i, x, and y.
Referenced by AddVector().
|
private |
Definition at line 994 of file CbmMuchFindVectorsGem.cxx.
References fGeoScheme, fgkPlanes, fHits, fNsect, fSecVec, fVectors, CbmHit::GetAddress(), CbmTrack::GetChiSq(), CbmTrack::GetHitIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMuchGeoScheme::GetLayerSideIndex(), CbmTrack::GetNofHits(), and CbmTrack::SetChiSq().
Referenced by Exec().
|
private |
Definition at line 424 of file CbmMuchFindVectorsGem.cxx.
References fDigiMatches, fPoints, CbmMCDataArray::Get(), CbmLink::GetEntry(), CbmMuchPixelHit::GetFlag(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), and i.
|
virtual |
SetParContainers
Definition at line 238 of file CbmMuchFindVectorsGem.cxx.
|
private |
Definition at line 770 of file CbmMuchFindVectorsGem.cxx.
References fClusters, fDigiMatches, fHits, fPoints, CbmMCDataArray::Get(), CbmCluster::GetDigi(), CbmLink::GetEntry(), CbmTrack::GetHitIndex(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmTrack::GetNofHits(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), and CbmTrack::SetFlag().
Referenced by AddVector().
|
private |
Definition at line 1087 of file CbmMuchFindVectorsGem.cxx.
References fgkStat, fHits, fTrackArray, fVectors, and CbmTrack::GetNofHits().
Referenced by Exec().
|
private |
Definition at line 67 of file CbmMuchFindVectorsGem.h.
Referenced by Init(), and SetTrackId().
|
private |
Definition at line 85 of file CbmMuchFindVectorsGem.h.
Referenced by CbmMuchFindVectorsGem(), MatchVectors(), and ProcessPlane().
|
private |
Definition at line 68 of file CbmMuchFindVectorsGem.h.
Referenced by Init(), SelectHitId(), and SetTrackId().
|
private |
Definition at line 80 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), GetDowns(), GetTrdVectors(), Init(), and Refit().
|
private |
Definition at line 83 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), FindChi2(), Init(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 84 of file CbmMuchFindVectorsGem.h.
Referenced by FindChi2(), Init(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 61 of file CbmMuchFindVectorsGem.h.
Referenced by GetHits(), Init(), and RemoveClones().
|
staticprivate |
Definition at line 58 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), GetDowns(), GetHits(), GetTrdVectors(), Init(), MakeVectors(), ProcessPlane(), Refit(), and RemoveClones().
|
staticprivate |
Definition at line 57 of file CbmMuchFindVectorsGem.h.
Referenced by Exec(), GetDowns(), GetHits(), GetNofStat(), GetTrdVectors(), Init(), MakeVectors(), MatchVectors(), and StoreVectors().
Definition at line 73 of file CbmMuchFindVectorsGem.h.
Referenced by GetHits(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 66 of file CbmMuchFindVectorsGem.h.
Referenced by CheckParams(), GetHits(), Init(), MakeVectors(), ProcessPlane(), RemoveClones(), SetTrackId(), and StoreVectors().
Definition at line 75 of file CbmMuchFindVectorsGem.h.
Referenced by GetHits(), and MakeVectors().
|
private |
Definition at line 82 of file CbmMuchFindVectorsGem.h.
Referenced by ComputeMatrix(), FindLine(), Finish(), and ~CbmMuchFindVectorsGem().
|
private |
Definition at line 92 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), and ComputeMatrix().
|
private |
Definition at line 65 of file CbmMuchFindVectorsGem.h.
Referenced by GetNofTracks().
|
private |
Definition at line 89 of file CbmMuchFindVectorsGem.h.
Referenced by Init(), ProcessPlane(), and RemoveClones().
|
private |
Definition at line 70 of file CbmMuchFindVectorsGem.h.
Referenced by Init(), SelectHitId(), and SetTrackId().
|
private |
Definition at line 88 of file CbmMuchFindVectorsGem.h.
Referenced by GetDowns(), Init(), and MakeVectors().
|
private |
Definition at line 87 of file CbmMuchFindVectorsGem.h.
Referenced by Init().
|
private |
Definition at line 94 of file CbmMuchFindVectorsGem.h.
Referenced by CheckParams(), Exec(), and RemoveClones().
|
private |
Definition at line 71 of file CbmMuchFindVectorsGem.h.
|
private |
Definition at line 62 of file CbmMuchFindVectorsGem.h.
Referenced by Exec(), Finish(), GetDowns(), Init(), StoreVectors(), and ~CbmMuchFindVectorsGem().
|
private |
Definition at line 69 of file CbmMuchFindVectorsGem.h.
Referenced by GetTrdVectors(), and Init().
|
private |
Definition at line 64 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), Exec(), Finish(), Init(), and ~CbmMuchFindVectorsGem().
|
private |
Definition at line 76 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), CheckParams(), Exec(), GetDowns(), MakeVectors(), MatchVectors(), RemoveClones(), and StoreVectors().
|
private |
Definition at line 96 of file CbmMuchFindVectorsGem.h.
Referenced by GetAbsorbers(), Init(), and MatchVectors().
|
private |
Definition at line 78 of file CbmMuchFindVectorsGem.h.
Referenced by FindChi2(), FindLine(), MakeVectors(), ProcessPlane(), and Refit().
|
private |
Definition at line 79 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), MakeVectors(), and ProcessPlane().
|
private |
Definition at line 86 of file CbmMuchFindVectorsGem.h.
Referenced by AddVector(), GetDowns(), GetTrdVectors(), and Init().
|
private |
Definition at line 95 of file CbmMuchFindVectorsGem.h.
Referenced by GetAbsorbers(), Init(), and MatchVectors().