CbmRoot
CbmTrdToTofVector Class Reference

#include <CbmTrdToTofVector.h>

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

Public Member Functions

 CbmTrdToTofVector ()
 
virtual ~CbmTrdToTofVector ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Finish ()
 
virtual void SetParContainers ()
 
Int_t GetNofTracks ()
 

Private Member Functions

void GetHits ()
 
void MakeVectors ()
 
void MatchTofToTrd ()
 
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)
 
 CbmTrdToTofVector (const CbmTrdToTofVector &)
 
CbmTrdToTofVectoroperator= (const CbmTrdToTofVector &)
 

Private Attributes

TClonesArray * fTrackArray
 
Int_t fNofTracks
 
TClonesArray * fHits
 
TClonesArray * fHitMatches
 
CbmMCDataArrayfPoints
 
TClonesArray * fDigis
 
TClonesArray * fDigiMatches
 
TClonesArray * fTrdTracks
 
Double_t fZ [2]
 
Double_t fErrX
 
Double_t fErrY
 
Double_t fCutChi2
 
std::multimap< Double_t, Int_t > fHitX
 
std::multimap< Double_t, Int_t > fHitY
 
std::map< Int_t, Double_t > fHitTime
 
std::map< Int_t, std::set< Int_t > > fHitIds
 
std::vector< CbmMuchTrack * > fVectors
 
std::multimap< Double_t, TLine > fLineX
 
Double_t fXy [fgkPlanes][5]
 
Double_t fXyi [fgkPlanes][3]
 

Static Private Attributes

static const Int_t fgkPlanes = 4
 

Detailed Description

Definition at line 24 of file CbmTrdToTofVector.h.

Constructor & Destructor Documentation

◆ CbmTrdToTofVector() [1/2]

CbmTrdToTofVector::CbmTrdToTofVector ( )

Default constructor

Definition at line 36 of file CbmTrdToTofVector.cxx.

◆ ~CbmTrdToTofVector()

CbmTrdToTofVector::~CbmTrdToTofVector ( )
virtual

Destructor

Definition at line 53 of file CbmTrdToTofVector.cxx.

◆ CbmTrdToTofVector() [2/2]

CbmTrdToTofVector::CbmTrdToTofVector ( const CbmTrdToTofVector )
private

Member Function Documentation

◆ AddVector()

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

Definition at line 613 of file CbmTrdToTofVector.cxx.

◆ CheckParams()

void CbmTrdToTofVector::CheckParams ( )
private

◆ Exec()

void CbmTrdToTofVector::Exec ( Option_t *  opt)
virtual

Task execution

Definition at line 110 of file CbmTrdToTofVector.cxx.

References fTrackArray, GetHits(), MakeVectors(), MatchTofToTrd(), and StoreVectors().

◆ FindChi2()

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

Definition at line 589 of file CbmTrdToTofVector.cxx.

References x, and y.

◆ FindLine()

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

Definition at line 559 of file CbmTrdToTofVector.cxx.

◆ Finish()

void CbmTrdToTofVector::Finish ( )
virtual

Finish at the end

Definition at line 138 of file CbmTrdToTofVector.cxx.

◆ GetHits()

void CbmTrdToTofVector::GetHits ( )
private

◆ GetNofTracks()

Int_t CbmTrdToTofVector::GetNofTracks ( )
inline

Accessors

Definition at line 45 of file CbmTrdToTofVector.h.

References fNofTracks.

◆ Init()

InitStatus CbmTrdToTofVector::Init ( )
virtual

◆ MakeVectors()

void CbmTrdToTofVector::MakeVectors ( )
private

Definition at line 191 of file CbmTrdToTofVector.cxx.

References fLineX, fTrdTracks, fVectors, fZ, CbmTrack::GetParamLast(), and i.

Referenced by Exec().

◆ MatchTofToTrd()

◆ operator=()

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

◆ ProcessPlane()

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

Definition at line 485 of file CbmTrdToTofVector.cxx.

◆ RemoveClones()

void CbmTrdToTofVector::RemoveClones ( )
private

◆ SetParContainers()

void CbmTrdToTofVector::SetParContainers ( )
virtual

SetParContainers

Definition at line 100 of file CbmTrdToTofVector.cxx.

◆ SetTrackId()

void CbmTrdToTofVector::SetTrackId ( CbmMuchTrack vec)
private

Definition at line 654 of file CbmTrdToTofVector.cxx.

References CbmTrack::GetNofHits().

◆ StoreVectors()

void CbmTrdToTofVector::StoreVectors ( )
private

Definition at line 455 of file CbmTrdToTofVector.cxx.

References CbmMatch::AddLink(), fHitIds, fHits, fTrackArray, fVectors, and CbmTrack::SetMatch().

Referenced by Exec().

Member Data Documentation

◆ fCutChi2

Double_t CbmTrdToTofVector::fCutChi2
private

Definition at line 64 of file CbmTrdToTofVector.h.

◆ fDigiMatches

TClonesArray* CbmTrdToTofVector::fDigiMatches
private

Definition at line 59 of file CbmTrdToTofVector.h.

Referenced by Init().

◆ fDigis

TClonesArray* CbmTrdToTofVector::fDigis
private

Definition at line 58 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and Init().

◆ fErrX

Double_t CbmTrdToTofVector::fErrX
private

Definition at line 62 of file CbmTrdToTofVector.h.

◆ fErrY

Double_t CbmTrdToTofVector::fErrY
private

Definition at line 63 of file CbmTrdToTofVector.h.

◆ fgkPlanes

const Int_t CbmTrdToTofVector::fgkPlanes = 4
staticprivate

Definition at line 49 of file CbmTrdToTofVector.h.

Referenced by RemoveClones().

◆ fHitIds

std::map<Int_t, std::set<Int_t> > CbmTrdToTofVector::fHitIds
private

Definition at line 70 of file CbmTrdToTofVector.h.

Referenced by GetHits(), MatchTofToTrd(), and StoreVectors().

◆ fHitMatches

TClonesArray* CbmTrdToTofVector::fHitMatches
private

Definition at line 55 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and Init().

◆ fHits

TClonesArray* CbmTrdToTofVector::fHits
private

Definition at line 54 of file CbmTrdToTofVector.h.

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

◆ fHitTime

std::map<Int_t, Double_t> CbmTrdToTofVector::fHitTime
private

Definition at line 68 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and MatchTofToTrd().

◆ fHitX

std::multimap<Double_t, Int_t> CbmTrdToTofVector::fHitX
private

Definition at line 65 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and MatchTofToTrd().

◆ fHitY

std::multimap<Double_t, Int_t> CbmTrdToTofVector::fHitY
private

Definition at line 66 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and MatchTofToTrd().

◆ fLineX

std::multimap<Double_t, TLine> CbmTrdToTofVector::fLineX
private

Definition at line 72 of file CbmTrdToTofVector.h.

Referenced by MakeVectors(), and MatchTofToTrd().

◆ fNofTracks

Int_t CbmTrdToTofVector::fNofTracks
private

Definition at line 53 of file CbmTrdToTofVector.h.

Referenced by GetNofTracks().

◆ fPoints

CbmMCDataArray* CbmTrdToTofVector::fPoints
private

Definition at line 57 of file CbmTrdToTofVector.h.

Referenced by GetHits(), and Init().

◆ fTrackArray

TClonesArray* CbmTrdToTofVector::fTrackArray
private

Definition at line 52 of file CbmTrdToTofVector.h.

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

◆ fTrdTracks

TClonesArray* CbmTrdToTofVector::fTrdTracks
private

Definition at line 60 of file CbmTrdToTofVector.h.

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

◆ fVectors

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

◆ fXy

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

Definition at line 73 of file CbmTrdToTofVector.h.

◆ fXyi

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

Definition at line 74 of file CbmTrdToTofVector.h.

◆ fZ

Double_t CbmTrdToTofVector::fZ[2]
private

Definition at line 61 of file CbmTrdToTofVector.h.

Referenced by Init(), and MakeVectors().


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