CbmRoot
|
#include <CbmRichAlignment.h>
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 |
CbmHistManager * | fHM |
UInt_t | fEventNum |
TString | fNumbAxis |
TString | fTile |
Bool_t | fDrawAlignment |
vector< Float_t > | fPhi |
TString | fOutputDir |
TString | fRunTitle |
TString | fAxisRotTitle |
CbmRichRingFitterCOP * | fCopFit |
CbmRichRingFitterEllipseTau * | fTauFit |
Static Private Attributes | |
static const int | kMAX_NOF_HITS = 100 |
Definition at line 23 of file CbmRichAlignment.h.
CbmRichAlignment::CbmRichAlignment | ( | ) |
Definition at line 55 of file CbmRichAlignment.cxx.
|
virtual |
Definition at line 80 of file CbmRichAlignment.cxx.
|
private |
void CbmRichAlignment::CalculateAnglesAndDrawDistrib | ( | ) |
Definition at line 191 of file CbmRichAlignment.cxx.
References CbmRichConverter::CopyHitsToRingLight(), CbmRichRingFitterCOP::DoFit(), fCopFit, fHM, fPhi, fRichHits, fRichRings, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmRichRing::GetHit(), CbmRichRingLight::GetNofHits(), GetTrackPosition(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHistManager::H1(), CbmHistManager::H2(), kMAX_NOF_HITS, and sqrt().
Referenced by Exec().
|
private |
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().
void CbmRichAlignment::DrawHistAlignment | ( | ) |
Definition at line 275 of file CbmRichAlignment.cxx.
References DrawH1(), DrawH2(), fAxisRotTitle, fHM, fOutputDir, fRunTitle, CbmHistManager::H1(), CbmHistManager::H2(), and Cbm::SaveCanvasAsImage().
Referenced by DrawHistFromFile(), and Finish().
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().
|
virtual |
Inherited from FairTask.
Definition at line 156 of file CbmRichAlignment.cxx.
References CalculateAnglesAndDrawDistrib(), fEventNum, fMCTracks, fRichHits, fRichMirrorPoints, and fRichRings.
|
virtual |
Inherited from FairTask.
Definition at line 527 of file CbmRichAlignment.cxx.
References CbmHistManager::Create2(), DrawFit(), DrawHistAlignment(), fDrawAlignment, fHM, fNumbAxis, fOutputDir, and fTile.
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().
|
virtual |
Inherited from FairTask.
Definition at line 82 of file CbmRichAlignment.cxx.
References fCopFit, fMCTracks, fRichHits, fRichMirrorPoints, fRichPoints, fRichProjections, fRichRingMatches, fRichRings, fTauFit, CbmRichConverter::Init(), and InitHistAlignment().
void CbmRichAlignment::InitHistAlignment | ( | ) |
Definition at line 140 of file CbmRichAlignment.cxx.
References CbmHistManager::Create1(), CbmHistManager::Create2(), and fHM.
Referenced by Init().
|
private |
|
inline |
Definition at line 97 of file CbmRichAlignment.h.
References fAxisRotTitle.
|
inline |
Definition at line 102 of file CbmRichAlignment.h.
References fDrawAlignment.
|
inline |
Definition at line 107 of file CbmRichAlignment.h.
References fNumbAxis.
|
inline |
Definition at line 87 of file CbmRichAlignment.h.
References fOutputDir.
|
inline |
Definition at line 92 of file CbmRichAlignment.h.
References fRunTitle.
|
inline |
Definition at line 112 of file CbmRichAlignment.h.
References fTile.
|
private |
Definition at line 136 of file CbmRichAlignment.h.
Referenced by DrawFit(), DrawHistAlignment(), and SetAxisRotTitle().
|
private |
Definition at line 138 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), and Init().
|
private |
Definition at line 131 of file CbmRichAlignment.h.
Referenced by Finish(), and SetDrawAlignment().
|
private |
Definition at line 128 of file CbmRichAlignment.h.
Referenced by Exec().
|
private |
Definition at line 126 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), DrawFit(), DrawHistAlignment(), DrawHistFromFile(), Finish(), and InitHistAlignment().
|
private |
Definition at line 120 of file CbmRichAlignment.h.
|
private |
Definition at line 129 of file CbmRichAlignment.h.
Referenced by Finish(), and SetNumbAxis().
|
private |
Definition at line 134 of file CbmRichAlignment.h.
Referenced by DrawFit(), DrawHistAlignment(), Finish(), and SetOutputDir().
|
private |
Definition at line 132 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib().
|
private |
Definition at line 116 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), Exec(), and Init().
|
private |
Definition at line 122 of file CbmRichAlignment.h.
|
private |
Definition at line 119 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 118 of file CbmRichAlignment.h.
Referenced by GetTrackPosition(), and Init().
|
private |
Definition at line 121 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 117 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), Exec(), and Init().
|
private |
Definition at line 135 of file CbmRichAlignment.h.
Referenced by DrawFit(), DrawHistAlignment(), and SetRunTitle().
|
private |
Definition at line 139 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 130 of file CbmRichAlignment.h.
Referenced by Finish(), and SetTileName().
|
staticprivate |
Definition at line 25 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib().