CbmRoot
CbmTrdFindVectors Class Reference

#include <CbmTrdFindVectors.h>

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

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 &)
 
CbmTrdFindVectorsoperator= (const CbmTrdFindVectors &)
 

Private Attributes

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

Detailed Description

Definition at line 29 of file CbmTrdFindVectors.h.

Constructor & Destructor Documentation

◆ CbmTrdFindVectors() [1/2]

CbmTrdFindVectors::CbmTrdFindVectors ( )

Default constructor

Definition at line 36 of file CbmTrdFindVectors.cxx.

◆ ~CbmTrdFindVectors()

CbmTrdFindVectors::~CbmTrdFindVectors ( )
virtual

Destructor

Definition at line 52 of file CbmTrdFindVectors.cxx.

◆ CbmTrdFindVectors() [2/2]

CbmTrdFindVectors::CbmTrdFindVectors ( const CbmTrdFindVectors )
private

Member Function Documentation

◆ AddVector()

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

◆ CheckParams()

void CbmTrdFindVectors::CheckParams ( )
private

Definition at line 353 of file CbmTrdFindVectors.cxx.

References fVectors, CbmTrack::GetChiSq(), CbmTrack::GetParamFirst(), and CbmTrack::SetChiSq().

Referenced by Exec().

◆ ComputeMatrix()

void CbmTrdFindVectors::ComputeMatrix ( )
private

Definition at line 196 of file CbmTrdFindVectors.cxx.

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

Referenced by Init().

◆ Exec()

void CbmTrdFindVectors::Exec ( Option_t *  opt)
virtual

Task execution

Definition at line 159 of file CbmTrdFindVectors.cxx.

References CheckParams(), fTrackArray, fVectors, GetHits(), MakeVectors(), RemoveClones(), and StoreVectors().

◆ FindChi2()

Double_t CbmTrdFindVectors::FindChi2 ( Int_t  patt,
Double_t *  pars 
)
private

Definition at line 613 of file CbmTrdFindVectors.cxx.

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

Referenced by ProcessPlane().

◆ FindLine()

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

Definition at line 584 of file CbmTrdFindVectors.cxx.

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

Referenced by ProcessPlane().

◆ Finish()

void CbmTrdFindVectors::Finish ( )
virtual

Finish at the end

Definition at line 192 of file CbmTrdFindVectors.cxx.

◆ GetHits()

void CbmTrdFindVectors::GetHits ( )
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().

◆ GetNofTracks()

Int_t CbmTrdFindVectors::GetNofTracks ( )
inline

Accessors

Definition at line 50 of file CbmTrdFindVectors.h.

References fNofTracks.

◆ Init()

InitStatus CbmTrdFindVectors::Init ( )
virtual

◆ MakeVectors()

void CbmTrdFindVectors::MakeVectors ( )
private

◆ operator=()

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

◆ ProcessPlane()

void CbmTrdFindVectors::ProcessPlane ( Int_t  lay,
Int_t  patt,
Int_t  flag 
)
private

◆ RemoveClones()

void CbmTrdFindVectors::RemoveClones ( )
private

◆ SetParContainers()

void CbmTrdFindVectors::SetParContainers ( )
virtual

SetParContainers

Definition at line 149 of file CbmTrdFindVectors.cxx.

◆ SetTrackId()

◆ StoreVectors()

void CbmTrdFindVectors::StoreVectors ( )
private

Definition at line 464 of file CbmTrdFindVectors.cxx.

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

Referenced by Exec().

Member Data Documentation

◆ fClusters

TClonesArray* CbmTrdFindVectors::fClusters
private

Definition at line 115 of file CbmTrdFindVectors.h.

Referenced by Init(), and SetTrackId().

◆ fCutChi2

Double_t CbmTrdFindVectors::fCutChi2
private

Definition at line 127 of file CbmTrdFindVectors.h.

Referenced by ProcessPlane().

◆ fDigiMatches

TClonesArray* CbmTrdFindVectors::fDigiMatches
private

Definition at line 116 of file CbmTrdFindVectors.h.

Referenced by Init(), and SetTrackId().

◆ fDz

Double_t CbmTrdFindVectors::fDz[fgkPlanes]
private

Definition at line 121 of file CbmTrdFindVectors.h.

Referenced by AddVector(), ComputeMatrix(), FindChi2(), FindLine(), and Init().

◆ fErrX

Double_t CbmTrdFindVectors::fErrX
private

Definition at line 125 of file CbmTrdFindVectors.h.

Referenced by AddVector(), and FindChi2().

◆ fErrY

Double_t CbmTrdFindVectors::fErrY
private

Definition at line 126 of file CbmTrdFindVectors.h.

Referenced by FindChi2().

◆ fgkPlanes

const Int_t CbmTrdFindVectors::fgkPlanes = 4
staticprivate

◆ fHitPl

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

Definition at line 131 of file CbmTrdFindVectors.h.

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

◆ fHits

TClonesArray* CbmTrdFindVectors::fHits
private

◆ fHitX

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

Definition at line 133 of file CbmTrdFindVectors.h.

Referenced by GetHits().

◆ fLus

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

Definition at line 123 of file CbmTrdFindVectors.h.

Referenced by ComputeMatrix(), and FindLine().

◆ fMatr

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

Definition at line 129 of file CbmTrdFindVectors.h.

Referenced by AddVector(), and ComputeMatrix().

◆ fNofTracks

Int_t CbmTrdFindVectors::fNofTracks
private

Definition at line 113 of file CbmTrdFindVectors.h.

Referenced by GetNofTracks().

◆ fPoints

CbmMCDataArray* CbmTrdFindVectors::fPoints
private

Definition at line 118 of file CbmTrdFindVectors.h.

Referenced by Init(), and SetTrackId().

◆ fTrackArray

TClonesArray* CbmTrdFindVectors::fTrackArray
private

Definition at line 112 of file CbmTrdFindVectors.h.

Referenced by Exec(), Init(), and StoreVectors().

◆ fVectors

std::vector<CbmMuchTrack*> CbmTrdFindVectors::fVectors
private

◆ fXy

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

Definition at line 119 of file CbmTrdFindVectors.h.

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

◆ fXyi

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

Definition at line 120 of file CbmTrdFindVectors.h.

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

◆ fZ0

Double_t CbmTrdFindVectors::fZ0
private

Definition at line 124 of file CbmTrdFindVectors.h.

Referenced by AddVector(), and Init().


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