CbmRoot
CbmRichAlignment Class Reference

#include <CbmRichAlignment.h>

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

Public Member Functions

 CbmRichAlignment ()
 
virtual ~CbmRichAlignment ()
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void Exec (Option_t *option)
 Inherited from FairTask. More...
 
virtual void Finish ()
 Inherited from FairTask. More...
 
void InitHistAlignment ()
 
void CalculateAnglesAndDrawDistrib ()
 
void GetTrackPosition (Double_t &x, Double_t &y)
 
void DrawHistAlignment ()
 
void DrawFit (vector< Double_t > &outputFit, Int_t thresh)
 
void DrawHistFromFile (TString fileName)
 
void SetOutputDir (TString dir)
 
void SetRunTitle (TString title)
 
void SetAxisRotTitle (TString title)
 
void SetDrawAlignment (Bool_t b)
 
void SetNumbAxis (TString n)
 
void SetTileName (TString a)
 

Private Member Functions

 CbmRichAlignment (const CbmRichAlignment &)
 
CbmRichAlignment operator= (const CbmRichAlignment &)
 
 ClassDef (CbmRichAlignment, 1)
 

Private Attributes

TClonesArray * fRichHits
 
TClonesArray * fRichRings
 
TClonesArray * fRichProjections
 
TClonesArray * fRichPoints
 
TClonesArray * fMCTracks
 
TClonesArray * fRichRingMatches
 
TClonesArray * fRichMirrorPoints
 
CbmHistManagerfHM
 
UInt_t fEventNum
 
TString fNumbAxis
 
TString fTile
 
Bool_t fDrawAlignment
 
vector< Float_t > fPhi
 
TString fOutputDir
 
TString fRunTitle
 
TString fAxisRotTitle
 
CbmRichRingFitterCOPfCopFit
 
CbmRichRingFitterEllipseTaufTauFit
 

Static Private Attributes

static const int kMAX_NOF_HITS = 100
 

Detailed Description

Definition at line 18 of file CbmRichAlignment.h.

Constructor & Destructor Documentation

◆ CbmRichAlignment() [1/2]

CbmRichAlignment::CbmRichAlignment ( )

Definition at line 49 of file CbmRichAlignment.cxx.

◆ ~CbmRichAlignment()

CbmRichAlignment::~CbmRichAlignment ( )
virtual

Definition at line 72 of file CbmRichAlignment.cxx.

◆ CbmRichAlignment() [2/2]

CbmRichAlignment::CbmRichAlignment ( const CbmRichAlignment )
private

Member Function Documentation

◆ CalculateAnglesAndDrawDistrib()

◆ ClassDef()

CbmRichAlignment::ClassDef ( CbmRichAlignment  ,
 
)
private

◆ DrawFit()

void CbmRichAlignment::DrawFit ( vector< Double_t > &  outputFit,
Int_t  thresh 
)

Definition at line 325 of file CbmRichAlignment.cxx.

References fAxisRotTitle, fHM, fOutputDir, fRunTitle, CbmHistManager::H2(), and Cbm::SaveCanvasAsImage().

Referenced by Finish().

◆ DrawHistAlignment()

void CbmRichAlignment::DrawHistAlignment ( )

◆ DrawHistFromFile()

void CbmRichAlignment::DrawHistFromFile ( TString  fileName)

Definition at line 537 of file CbmRichAlignment.cxx.

References DrawHistAlignment(), fHM, and CbmHistManager::ReadFromFile().

◆ Exec()

void CbmRichAlignment::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 172 of file CbmRichAlignment.cxx.

References CalculateAnglesAndDrawDistrib(), fEventNum, fMCTracks, fRichHits, fRichMirrorPoints, and fRichRings.

◆ Finish()

void CbmRichAlignment::Finish ( )
virtual

Inherited from FairTask.

Definition at line 544 of file CbmRichAlignment.cxx.

References CbmHistManager::Create2(), DrawFit(), DrawHistAlignment(), fDrawAlignment, fHM, fNumbAxis, fOutputDir, and fTile.

◆ GetTrackPosition()

void CbmRichAlignment::GetTrackPosition ( Double_t &  x,
Double_t &  y 
)

Definition at line 275 of file CbmRichAlignment.cxx.

References fRichProjections, x, and y.

Referenced by CalculateAnglesAndDrawDistrib().

◆ Init()

InitStatus CbmRichAlignment::Init ( )
virtual

◆ InitHistAlignment()

void CbmRichAlignment::InitHistAlignment ( )

Definition at line 131 of file CbmRichAlignment.cxx.

References CbmHistManager::Create1(), CbmHistManager::Create2(), and fHM.

Referenced by Init().

◆ operator=()

CbmRichAlignment CbmRichAlignment::operator= ( const CbmRichAlignment )
private

◆ SetAxisRotTitle()

void CbmRichAlignment::SetAxisRotTitle ( TString  title)
inline

Definition at line 92 of file CbmRichAlignment.h.

◆ SetDrawAlignment()

void CbmRichAlignment::SetDrawAlignment ( Bool_t  b)
inline

Definition at line 97 of file CbmRichAlignment.h.

◆ SetNumbAxis()

void CbmRichAlignment::SetNumbAxis ( TString  n)
inline

Definition at line 102 of file CbmRichAlignment.h.

◆ SetOutputDir()

void CbmRichAlignment::SetOutputDir ( TString  dir)
inline

Definition at line 82 of file CbmRichAlignment.h.

◆ SetRunTitle()

void CbmRichAlignment::SetRunTitle ( TString  title)
inline

Definition at line 87 of file CbmRichAlignment.h.

◆ SetTileName()

void CbmRichAlignment::SetTileName ( TString  a)
inline

Definition at line 107 of file CbmRichAlignment.h.

Member Data Documentation

◆ fAxisRotTitle

TString CbmRichAlignment::fAxisRotTitle
private

Definition at line 131 of file CbmRichAlignment.h.

Referenced by DrawFit(), and DrawHistAlignment().

◆ fCopFit

CbmRichRingFitterCOP* CbmRichAlignment::fCopFit
private

Definition at line 133 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib(), and Init().

◆ fDrawAlignment

Bool_t CbmRichAlignment::fDrawAlignment
private

Definition at line 126 of file CbmRichAlignment.h.

Referenced by Finish().

◆ fEventNum

UInt_t CbmRichAlignment::fEventNum
private

Definition at line 123 of file CbmRichAlignment.h.

Referenced by Exec().

◆ fHM

CbmHistManager* CbmRichAlignment::fHM
private

◆ fMCTracks

TClonesArray* CbmRichAlignment::fMCTracks
private

Definition at line 115 of file CbmRichAlignment.h.

Referenced by Exec(), and Init().

◆ fNumbAxis

TString CbmRichAlignment::fNumbAxis
private

Definition at line 124 of file CbmRichAlignment.h.

Referenced by Finish().

◆ fOutputDir

TString CbmRichAlignment::fOutputDir
private

Definition at line 129 of file CbmRichAlignment.h.

Referenced by DrawFit(), DrawHistAlignment(), and Finish().

◆ fPhi

vector<Float_t> CbmRichAlignment::fPhi
private

Definition at line 127 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib().

◆ fRichHits

TClonesArray* CbmRichAlignment::fRichHits
private

Definition at line 111 of file CbmRichAlignment.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichAlignment::fRichMirrorPoints
private

Definition at line 117 of file CbmRichAlignment.h.

Referenced by Exec(), and Init().

◆ fRichPoints

TClonesArray* CbmRichAlignment::fRichPoints
private

Definition at line 114 of file CbmRichAlignment.h.

Referenced by Init().

◆ fRichProjections

TClonesArray* CbmRichAlignment::fRichProjections
private

Definition at line 113 of file CbmRichAlignment.h.

Referenced by GetTrackPosition(), and Init().

◆ fRichRingMatches

TClonesArray* CbmRichAlignment::fRichRingMatches
private

Definition at line 116 of file CbmRichAlignment.h.

Referenced by Init().

◆ fRichRings

TClonesArray* CbmRichAlignment::fRichRings
private

Definition at line 112 of file CbmRichAlignment.h.

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

◆ fRunTitle

TString CbmRichAlignment::fRunTitle
private

Definition at line 130 of file CbmRichAlignment.h.

Referenced by DrawFit(), and DrawHistAlignment().

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichAlignment::fTauFit
private

Definition at line 134 of file CbmRichAlignment.h.

Referenced by Init().

◆ fTile

TString CbmRichAlignment::fTile
private

Definition at line 125 of file CbmRichAlignment.h.

Referenced by Finish().

◆ kMAX_NOF_HITS

const int CbmRichAlignment::kMAX_NOF_HITS = 100
staticprivate

Definition at line 20 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib().


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