CbmRoot
CbmMuchToTofVectors Class Reference

#include <CbmMuchToTofVectors.h>

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

Public Member Functions

 CbmMuchToTofVectors ()
 
virtual ~CbmMuchToTofVectors ()
 
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 MatchTofToMuch ()
 
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)
 
 CbmMuchToTofVectors (const CbmMuchToTofVectors &)
 
CbmMuchToTofVectorsoperator= (const CbmMuchToTofVectors &)
 

Private Attributes

TClonesArray * fTrackArray
 
Int_t fNofTracks
 
TClonesArray * fHits
 
TClonesArray * fHitMatches
 
CbmMCDataArrayfPoints
 
TClonesArray * fDigis
 
TClonesArray * fDigiMatches
 
TClonesArray * fMuchTracks
 
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 CbmMuchToTofVectors.h.

Constructor & Destructor Documentation

◆ CbmMuchToTofVectors() [1/2]

CbmMuchToTofVectors::CbmMuchToTofVectors ( )

Default constructor

Definition at line 36 of file CbmMuchToTofVectors.cxx.

◆ ~CbmMuchToTofVectors()

CbmMuchToTofVectors::~CbmMuchToTofVectors ( )
virtual

Destructor

Definition at line 53 of file CbmMuchToTofVectors.cxx.

◆ CbmMuchToTofVectors() [2/2]

CbmMuchToTofVectors::CbmMuchToTofVectors ( const CbmMuchToTofVectors )
private

Member Function Documentation

◆ AddVector()

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

Definition at line 616 of file CbmMuchToTofVectors.cxx.

◆ CheckParams()

void CbmMuchToTofVectors::CheckParams ( )
private

◆ Exec()

void CbmMuchToTofVectors::Exec ( Option_t *  opt)
virtual

Task execution

Definition at line 110 of file CbmMuchToTofVectors.cxx.

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

◆ FindChi2()

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

Definition at line 592 of file CbmMuchToTofVectors.cxx.

References x, and y.

◆ FindLine()

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

Definition at line 562 of file CbmMuchToTofVectors.cxx.

◆ Finish()

void CbmMuchToTofVectors::Finish ( )
virtual

Finish at the end

Definition at line 138 of file CbmMuchToTofVectors.cxx.

◆ GetHits()

void CbmMuchToTofVectors::GetHits ( )
private

◆ GetNofTracks()

Int_t CbmMuchToTofVectors::GetNofTracks ( )
inline

Accessors

Definition at line 45 of file CbmMuchToTofVectors.h.

References fNofTracks.

◆ Init()

InitStatus CbmMuchToTofVectors::Init ( )
virtual

◆ MakeVectors()

void CbmMuchToTofVectors::MakeVectors ( )
private

Definition at line 191 of file CbmMuchToTofVectors.cxx.

References fLineX, fMuchTracks, fVectors, fZ, CbmTrack::GetNofHits(), CbmTrack::GetParamFirst(), and i.

Referenced by Exec().

◆ MatchTofToMuch()

◆ operator=()

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

◆ ProcessPlane()

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

Definition at line 488 of file CbmMuchToTofVectors.cxx.

◆ RemoveClones()

void CbmMuchToTofVectors::RemoveClones ( )
private

◆ SetParContainers()

void CbmMuchToTofVectors::SetParContainers ( )
virtual

SetParContainers

Definition at line 100 of file CbmMuchToTofVectors.cxx.

◆ SetTrackId()

void CbmMuchToTofVectors::SetTrackId ( CbmMuchTrack vec)
private

Definition at line 657 of file CbmMuchToTofVectors.cxx.

References CbmTrack::GetNofHits().

◆ StoreVectors()

void CbmMuchToTofVectors::StoreVectors ( )
private

Definition at line 458 of file CbmMuchToTofVectors.cxx.

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

Referenced by Exec().

Member Data Documentation

◆ fCutChi2

Double_t CbmMuchToTofVectors::fCutChi2
private

Definition at line 64 of file CbmMuchToTofVectors.h.

◆ fDigiMatches

TClonesArray* CbmMuchToTofVectors::fDigiMatches
private

Definition at line 59 of file CbmMuchToTofVectors.h.

Referenced by Init().

◆ fDigis

TClonesArray* CbmMuchToTofVectors::fDigis
private

Definition at line 58 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and Init().

◆ fErrX

Double_t CbmMuchToTofVectors::fErrX
private

Definition at line 62 of file CbmMuchToTofVectors.h.

◆ fErrY

Double_t CbmMuchToTofVectors::fErrY
private

Definition at line 63 of file CbmMuchToTofVectors.h.

◆ fgkPlanes

const Int_t CbmMuchToTofVectors::fgkPlanes = 4
staticprivate

Definition at line 49 of file CbmMuchToTofVectors.h.

Referenced by RemoveClones().

◆ fHitIds

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

Definition at line 70 of file CbmMuchToTofVectors.h.

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

◆ fHitMatches

TClonesArray* CbmMuchToTofVectors::fHitMatches
private

Definition at line 55 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and Init().

◆ fHits

TClonesArray* CbmMuchToTofVectors::fHits
private

Definition at line 54 of file CbmMuchToTofVectors.h.

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

◆ fHitTime

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

Definition at line 68 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and MatchTofToMuch().

◆ fHitX

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

Definition at line 65 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and MatchTofToMuch().

◆ fHitY

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

Definition at line 66 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and MatchTofToMuch().

◆ fLineX

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

Definition at line 72 of file CbmMuchToTofVectors.h.

Referenced by MakeVectors(), and MatchTofToMuch().

◆ fMuchTracks

TClonesArray* CbmMuchToTofVectors::fMuchTracks
private

Definition at line 60 of file CbmMuchToTofVectors.h.

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

◆ fNofTracks

Int_t CbmMuchToTofVectors::fNofTracks
private

Definition at line 53 of file CbmMuchToTofVectors.h.

Referenced by GetNofTracks().

◆ fPoints

CbmMCDataArray* CbmMuchToTofVectors::fPoints
private

Definition at line 57 of file CbmMuchToTofVectors.h.

Referenced by GetHits(), and Init().

◆ fTrackArray

TClonesArray* CbmMuchToTofVectors::fTrackArray
private

Definition at line 52 of file CbmMuchToTofVectors.h.

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

◆ fVectors

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

◆ fXy

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

Definition at line 73 of file CbmMuchToTofVectors.h.

◆ fXyi

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

Definition at line 74 of file CbmMuchToTofVectors.h.

◆ fZ

Double_t CbmMuchToTofVectors::fZ[2]
private

Definition at line 61 of file CbmMuchToTofVectors.h.

Referenced by Init(), and MakeVectors().


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