CbmRoot
CbmMuchFindVectorsGem Class Reference

#include <CbmMuchFindVectorsGem.h>

Inheritance diagram for CbmMuchFindVectorsGem:
[legend]
Collaboration diagram for CbmMuchFindVectorsGem:
[legend]

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 &)
 
CbmMuchFindVectorsGemoperator= (const CbmMuchFindVectorsGem &)
 

Private Attributes

CbmMuchGeoSchemefGeoScheme
 
TClonesArray * fTrackArray
 
TClonesArray * fVecPool
 
Int_t fNofTracks
 
TClonesArray * fHits
 
TClonesArray * fClusters
 
TClonesArray * fDigiMatches
 
TClonesArray * fTrdVectors
 
CbmMCDataArrayfPoints
 
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
 

Detailed Description

Definition at line 27 of file CbmMuchFindVectorsGem.h.

Constructor & Destructor Documentation

◆ CbmMuchFindVectorsGem() [1/2]

CbmMuchFindVectorsGem::CbmMuchFindVectorsGem ( )

Default constructor

Definition at line 42 of file CbmMuchFindVectorsGem.cxx.

References fCutChi2, and i.

◆ ~CbmMuchFindVectorsGem()

CbmMuchFindVectorsGem::~CbmMuchFindVectorsGem ( )
virtual

Destructor

Definition at line 64 of file CbmMuchFindVectorsGem.cxx.

References fLus, fTrackArray, and fVecPool.

◆ CbmMuchFindVectorsGem() [2/2]

CbmMuchFindVectorsGem::CbmMuchFindVectorsGem ( const CbmMuchFindVectorsGem )
private

Member Function Documentation

◆ AddVector()

void CbmMuchFindVectorsGem::AddVector ( Int_t  ista,
Int_t  patt,
Double_t  chi2,
Double_t *  pars 
)
private

◆ CheckParams()

void CbmMuchFindVectorsGem::CheckParams ( Int_t  ista)
private

◆ ComputeMatrix()

void CbmMuchFindVectorsGem::ComputeMatrix ( )
private

Definition at line 292 of file CbmMuchFindVectorsGem.cxx.

References fDz, fgkPlanes, fLus, fMatr, and i.

Referenced by Init().

◆ CountBits()

Int_t CbmMuchFindVectorsGem::CountBits ( Int_t  x)
private

Definition at line 1127 of file CbmMuchFindVectorsGem.cxx.

References x.

◆ Exec()

void CbmMuchFindVectorsGem::Exec ( Option_t *  opt)
virtual

◆ FindChi2()

Double_t CbmMuchFindVectorsGem::FindChi2 ( Int_t  ista,
Int_t  patt,
Double_t *  pars 
)
private

Definition at line 847 of file CbmMuchFindVectorsGem.cxx.

References fDz, fErrX, fErrY, fgkPlanes, fXy, i, x, and y.

Referenced by ProcessPlane().

◆ FindLine()

void CbmMuchFindVectorsGem::FindLine ( Int_t  patt,
Double_t *  pars 
)
private

Definition at line 817 of file CbmMuchFindVectorsGem.cxx.

References fDz, fgkPlanes, fLus, fXy, and i.

Referenced by ProcessPlane().

◆ Finish()

void CbmMuchFindVectorsGem::Finish ( )
virtual

Finish at the end

Definition at line 281 of file CbmMuchFindVectorsGem.cxx.

References fLus, fTrackArray, and fVecPool.

◆ GetAbsorbers()

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().

◆ GetDowns()

Int_t CbmMuchFindVectorsGem::GetDowns ( Int_t  ista,
std::vector< std::pair< Double_t, Double_t >> &  vecDowns 
)
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().

◆ GetHits()

◆ GetNofStat()

Int_t CbmMuchFindVectorsGem::GetNofStat ( ) const
inline

Definition at line 49 of file CbmMuchFindVectorsGem.h.

References fgkStat.

◆ GetNofTracks()

Int_t CbmMuchFindVectorsGem::GetNofTracks ( )
inline

Accessors

Definition at line 48 of file CbmMuchFindVectorsGem.h.

References fNofTracks.

◆ GetTrdVectors()

Int_t CbmMuchFindVectorsGem::GetTrdVectors ( std::vector< std::pair< Double_t, Double_t >> &  vecDowns)
private

Definition at line 620 of file CbmMuchFindVectorsGem.cxx.

References fDz, fgkPlanes, fgkStat, fTrdVectors, fZ0, CbmTrack::GetParamFirst(), i, x, and y.

Referenced by MakeVectors().

◆ Init()

◆ MakeVectors()

◆ MatchVectors()

void CbmMuchFindVectorsGem::MatchVectors ( )
private

◆ operator=()

CbmMuchFindVectorsGem& CbmMuchFindVectorsGem::operator= ( const CbmMuchFindVectorsGem )
private

◆ ProcessPlane()

void CbmMuchFindVectorsGem::ProcessPlane ( Int_t  ista,
Int_t  lay2,
Int_t  patt,
Int_t  flag 
)
private

◆ Refit()

void CbmMuchFindVectorsGem::Refit ( Int_t  patt,
Double_t &  chi2,
Double_t *  pars,
TMatrixDSym &  cov 
)
private

Definition at line 1137 of file CbmMuchFindVectorsGem.cxx.

References fDz, fgkPlanes, fXy, i, x, and y.

Referenced by AddVector().

◆ RemoveClones()

◆ SelectHitId()

◆ SetParContainers()

void CbmMuchFindVectorsGem::SetParContainers ( )
virtual

SetParContainers

Definition at line 238 of file CbmMuchFindVectorsGem.cxx.

◆ SetTrackId()

◆ StoreVectors()

void CbmMuchFindVectorsGem::StoreVectors ( )
private

Definition at line 1087 of file CbmMuchFindVectorsGem.cxx.

References fgkStat, fHits, fTrackArray, fVectors, and CbmTrack::GetNofHits().

Referenced by Exec().

Member Data Documentation

◆ fClusters

TClonesArray* CbmMuchFindVectorsGem::fClusters
private

Definition at line 67 of file CbmMuchFindVectorsGem.h.

Referenced by Init(), and SetTrackId().

◆ fCutChi2

Double_t CbmMuchFindVectorsGem::fCutChi2[9]
private

Definition at line 85 of file CbmMuchFindVectorsGem.h.

Referenced by CbmMuchFindVectorsGem(), MatchVectors(), and ProcessPlane().

◆ fDigiMatches

TClonesArray* CbmMuchFindVectorsGem::fDigiMatches
private

Definition at line 68 of file CbmMuchFindVectorsGem.h.

Referenced by Init(), SelectHitId(), and SetTrackId().

◆ fDz

Double_t CbmMuchFindVectorsGem::fDz[fgkPlanes]
private

◆ fErrX

Double_t CbmMuchFindVectorsGem::fErrX[9]
private

Definition at line 83 of file CbmMuchFindVectorsGem.h.

Referenced by AddVector(), FindChi2(), Init(), MakeVectors(), and ProcessPlane().

◆ fErrY

Double_t CbmMuchFindVectorsGem::fErrY[9]
private

Definition at line 84 of file CbmMuchFindVectorsGem.h.

Referenced by FindChi2(), Init(), MakeVectors(), and ProcessPlane().

◆ fGeoScheme

CbmMuchGeoScheme* CbmMuchFindVectorsGem::fGeoScheme
private

Definition at line 61 of file CbmMuchFindVectorsGem.h.

Referenced by GetHits(), Init(), and RemoveClones().

◆ fgkPlanes

const Int_t CbmMuchFindVectorsGem::fgkPlanes = 6
staticprivate

◆ fgkStat

const Int_t CbmMuchFindVectorsGem::fgkStat = 4
staticprivate

◆ fHitPl

std::multimap<Int_t, Int_t> CbmMuchFindVectorsGem::fHitPl[fgkStat][fgkPlanes]
private

Definition at line 73 of file CbmMuchFindVectorsGem.h.

Referenced by GetHits(), MakeVectors(), and ProcessPlane().

◆ fHits

TClonesArray* CbmMuchFindVectorsGem::fHits
private

◆ fHitX

std::multimap<Double_t, Int_t> CbmMuchFindVectorsGem::fHitX[fgkStat][fgkPlanes]
private

Definition at line 75 of file CbmMuchFindVectorsGem.h.

Referenced by GetHits(), and MakeVectors().

◆ fLus

std::map<Int_t, TDecompLU*> CbmMuchFindVectorsGem::fLus
private

Definition at line 82 of file CbmMuchFindVectorsGem.h.

Referenced by ComputeMatrix(), FindLine(), Finish(), and ~CbmMuchFindVectorsGem().

◆ fMatr

std::map<Int_t, TMatrixDSym*> CbmMuchFindVectorsGem::fMatr
private

Definition at line 92 of file CbmMuchFindVectorsGem.h.

Referenced by AddVector(), and ComputeMatrix().

◆ fNofTracks

Int_t CbmMuchFindVectorsGem::fNofTracks
private

Definition at line 65 of file CbmMuchFindVectorsGem.h.

Referenced by GetNofTracks().

◆ fNsect

Int_t CbmMuchFindVectorsGem::fNsect[fgkStat]
private

Definition at line 89 of file CbmMuchFindVectorsGem.h.

Referenced by Init(), ProcessPlane(), and RemoveClones().

◆ fPoints

CbmMCDataArray* CbmMuchFindVectorsGem::fPoints
private

Definition at line 70 of file CbmMuchFindVectorsGem.h.

Referenced by Init(), SelectHitId(), and SetTrackId().

◆ fRmax

Double_t CbmMuchFindVectorsGem::fRmax[fgkStat]
private

Definition at line 88 of file CbmMuchFindVectorsGem.h.

Referenced by GetDowns(), Init(), and MakeVectors().

◆ fRmin

Double_t CbmMuchFindVectorsGem::fRmin[fgkStat]
private

Definition at line 87 of file CbmMuchFindVectorsGem.h.

Referenced by Init().

◆ fSecVec

std::multimap<Int_t, CbmMuchTrack*> CbmMuchFindVectorsGem::fSecVec[fgkStat]
private

Definition at line 94 of file CbmMuchFindVectorsGem.h.

Referenced by CheckParams(), Exec(), and RemoveClones().

◆ fStatFirst

Int_t CbmMuchFindVectorsGem::fStatFirst
private

Definition at line 71 of file CbmMuchFindVectorsGem.h.

Referenced by GetHits(), and Init().

◆ fTrackArray

TClonesArray* CbmMuchFindVectorsGem::fTrackArray
private

◆ fTrdVectors

TClonesArray* CbmMuchFindVectorsGem::fTrdVectors
private

Definition at line 69 of file CbmMuchFindVectorsGem.h.

Referenced by GetTrdVectors(), and Init().

◆ fVecPool

TClonesArray* CbmMuchFindVectorsGem::fVecPool
private

Definition at line 64 of file CbmMuchFindVectorsGem.h.

Referenced by AddVector(), Exec(), Finish(), Init(), and ~CbmMuchFindVectorsGem().

◆ fVectors

std::vector<CbmMuchTrack*> CbmMuchFindVectorsGem::fVectors[fgkStat]
private

◆ fX0abs

Double_t CbmMuchFindVectorsGem::fX0abs[9]
private

Definition at line 96 of file CbmMuchFindVectorsGem.h.

Referenced by GetAbsorbers(), Init(), and MatchVectors().

◆ fXy

Double_t CbmMuchFindVectorsGem::fXy[fgkPlanes][5]
private

Definition at line 78 of file CbmMuchFindVectorsGem.h.

Referenced by FindChi2(), FindLine(), MakeVectors(), ProcessPlane(), and Refit().

◆ fXyi

Double_t CbmMuchFindVectorsGem::fXyi[fgkPlanes][3]
private

Definition at line 79 of file CbmMuchFindVectorsGem.h.

Referenced by AddVector(), MakeVectors(), and ProcessPlane().

◆ fZ0

Double_t CbmMuchFindVectorsGem::fZ0[fgkStat]
private

Definition at line 86 of file CbmMuchFindVectorsGem.h.

Referenced by AddVector(), GetDowns(), GetTrdVectors(), and Init().

◆ fZabs0

Double_t CbmMuchFindVectorsGem::fZabs0[9][2]
private

Definition at line 95 of file CbmMuchFindVectorsGem.h.

Referenced by GetAbsorbers(), Init(), and MatchVectors().


The documentation for this class was generated from the following files: