CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
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 23 of file CbmRichAlignment.h.

Constructor & Destructor Documentation

◆ CbmRichAlignment() [1/2]

CbmRichAlignment::CbmRichAlignment ( )

Definition at line 55 of file CbmRichAlignment.cxx.

◆ ~CbmRichAlignment()

CbmRichAlignment::~CbmRichAlignment ( )
virtual

Definition at line 80 of file CbmRichAlignment.cxx.

◆ CbmRichAlignment() [2/2]

CbmRichAlignment::CbmRichAlignment ( const CbmRichAlignment & )
private

Member Function Documentation

◆ CalculateAnglesAndDrawDistrib()

◆ ClassDef()

CbmRichAlignment::ClassDef ( CbmRichAlignment ,
1  )
private

◆ DrawFit()

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

Definition at line 306 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)

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 509 of file CbmRichAlignment.cxx.

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

◆ Exec()

void CbmRichAlignment::Exec ( Option_t * option)
virtual

Inherited from FairTask.

Definition at line 156 of file CbmRichAlignment.cxx.

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

◆ Finish()

void CbmRichAlignment::Finish ( )
virtual

Inherited from FairTask.

Definition at line 527 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 256 of file CbmRichAlignment.cxx.

References fRichProjections, x, and y.

Referenced by CalculateAnglesAndDrawDistrib().

◆ Init()

InitStatus CbmRichAlignment::Init ( )
virtual

◆ InitHistAlignment()

void CbmRichAlignment::InitHistAlignment ( )

Definition at line 140 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 97 of file CbmRichAlignment.h.

References fAxisRotTitle.

◆ SetDrawAlignment()

void CbmRichAlignment::SetDrawAlignment ( Bool_t b)
inline

Definition at line 102 of file CbmRichAlignment.h.

References fDrawAlignment.

◆ SetNumbAxis()

void CbmRichAlignment::SetNumbAxis ( TString n)
inline

Definition at line 107 of file CbmRichAlignment.h.

References fNumbAxis.

◆ SetOutputDir()

void CbmRichAlignment::SetOutputDir ( TString dir)
inline

Definition at line 87 of file CbmRichAlignment.h.

References fOutputDir.

◆ SetRunTitle()

void CbmRichAlignment::SetRunTitle ( TString title)
inline

Definition at line 92 of file CbmRichAlignment.h.

References fRunTitle.

◆ SetTileName()

void CbmRichAlignment::SetTileName ( TString a)
inline

Definition at line 112 of file CbmRichAlignment.h.

References fTile.

Member Data Documentation

◆ fAxisRotTitle

TString CbmRichAlignment::fAxisRotTitle
private

Definition at line 136 of file CbmRichAlignment.h.

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

◆ fCopFit

CbmRichRingFitterCOP* CbmRichAlignment::fCopFit
private

Definition at line 138 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib(), and Init().

◆ fDrawAlignment

Bool_t CbmRichAlignment::fDrawAlignment
private

Definition at line 131 of file CbmRichAlignment.h.

Referenced by Finish(), and SetDrawAlignment().

◆ fEventNum

UInt_t CbmRichAlignment::fEventNum
private

Definition at line 128 of file CbmRichAlignment.h.

Referenced by Exec().

◆ fHM

CbmHistManager* CbmRichAlignment::fHM
private

◆ fMCTracks

TClonesArray* CbmRichAlignment::fMCTracks
private

Definition at line 120 of file CbmRichAlignment.h.

Referenced by Exec(), and Init().

◆ fNumbAxis

TString CbmRichAlignment::fNumbAxis
private

Definition at line 129 of file CbmRichAlignment.h.

Referenced by Finish(), and SetNumbAxis().

◆ fOutputDir

TString CbmRichAlignment::fOutputDir
private

Definition at line 134 of file CbmRichAlignment.h.

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

◆ fPhi

vector<Float_t> CbmRichAlignment::fPhi
private

Definition at line 132 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib().

◆ fRichHits

TClonesArray* CbmRichAlignment::fRichHits
private

Definition at line 116 of file CbmRichAlignment.h.

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

◆ fRichMirrorPoints

TClonesArray* CbmRichAlignment::fRichMirrorPoints
private

Definition at line 122 of file CbmRichAlignment.h.

Referenced by Exec(), and Init().

◆ fRichPoints

TClonesArray* CbmRichAlignment::fRichPoints
private

Definition at line 119 of file CbmRichAlignment.h.

Referenced by Init().

◆ fRichProjections

TClonesArray* CbmRichAlignment::fRichProjections
private

Definition at line 118 of file CbmRichAlignment.h.

Referenced by GetTrackPosition(), and Init().

◆ fRichRingMatches

TClonesArray* CbmRichAlignment::fRichRingMatches
private

Definition at line 121 of file CbmRichAlignment.h.

Referenced by Init().

◆ fRichRings

TClonesArray* CbmRichAlignment::fRichRings
private

Definition at line 117 of file CbmRichAlignment.h.

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

◆ fRunTitle

TString CbmRichAlignment::fRunTitle
private

Definition at line 135 of file CbmRichAlignment.h.

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

◆ fTauFit

CbmRichRingFitterEllipseTau* CbmRichAlignment::fTauFit
private

Definition at line 139 of file CbmRichAlignment.h.

Referenced by Init().

◆ fTile

TString CbmRichAlignment::fTile
private

Definition at line 130 of file CbmRichAlignment.h.

Referenced by Finish(), and SetTileName().

◆ kMAX_NOF_HITS

const int CbmRichAlignment::kMAX_NOF_HITS = 100
staticprivate

Definition at line 25 of file CbmRichAlignment.h.

Referenced by CalculateAnglesAndDrawDistrib().


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