CbmRoot
|
#include <CbmRichAlignment.h>
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 |
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 18 of file CbmRichAlignment.h.
CbmRichAlignment::CbmRichAlignment | ( | ) |
Definition at line 49 of file CbmRichAlignment.cxx.
|
virtual |
Definition at line 72 of file CbmRichAlignment.cxx.
|
private |
void CbmRichAlignment::CalculateAnglesAndDrawDistrib | ( | ) |
Definition at line 207 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, xMath::Pi(), and sqrt().
Referenced by Exec().
|
private |
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().
void CbmRichAlignment::DrawHistAlignment | ( | ) |
Definition at line 293 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 | ) |
Definition at line 537 of file CbmRichAlignment.cxx.
References DrawHistAlignment(), fHM, and CbmHistManager::ReadFromFile().
|
virtual |
Inherited from FairTask.
Definition at line 172 of file CbmRichAlignment.cxx.
References CalculateAnglesAndDrawDistrib(), fEventNum, fMCTracks, fRichHits, fRichMirrorPoints, and fRichRings.
|
virtual |
Inherited from FairTask.
Definition at line 544 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 275 of file CbmRichAlignment.cxx.
References fRichProjections, x, and y.
Referenced by CalculateAnglesAndDrawDistrib().
|
virtual |
Inherited from FairTask.
Definition at line 74 of file CbmRichAlignment.cxx.
References fCopFit, fMCTracks, fRichHits, fRichMirrorPoints, fRichPoints, fRichProjections, fRichRingMatches, fRichRings, fTauFit, CbmRichConverter::Init(), and InitHistAlignment().
void CbmRichAlignment::InitHistAlignment | ( | ) |
Definition at line 131 of file CbmRichAlignment.cxx.
References CbmHistManager::Create1(), CbmHistManager::Create2(), and fHM.
Referenced by Init().
|
private |
|
inline |
Definition at line 92 of file CbmRichAlignment.h.
|
inline |
Definition at line 97 of file CbmRichAlignment.h.
|
inline |
Definition at line 102 of file CbmRichAlignment.h.
|
inline |
Definition at line 82 of file CbmRichAlignment.h.
|
inline |
Definition at line 87 of file CbmRichAlignment.h.
|
inline |
Definition at line 107 of file CbmRichAlignment.h.
|
private |
Definition at line 131 of file CbmRichAlignment.h.
Referenced by DrawFit(), and DrawHistAlignment().
|
private |
Definition at line 133 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), and Init().
|
private |
Definition at line 126 of file CbmRichAlignment.h.
Referenced by Finish().
|
private |
Definition at line 123 of file CbmRichAlignment.h.
Referenced by Exec().
|
private |
Definition at line 121 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), DrawFit(), DrawHistAlignment(), DrawHistFromFile(), Finish(), and InitHistAlignment().
|
private |
Definition at line 115 of file CbmRichAlignment.h.
|
private |
Definition at line 124 of file CbmRichAlignment.h.
Referenced by Finish().
|
private |
Definition at line 129 of file CbmRichAlignment.h.
Referenced by DrawFit(), DrawHistAlignment(), and Finish().
|
private |
Definition at line 127 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib().
|
private |
Definition at line 111 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), Exec(), and Init().
|
private |
Definition at line 117 of file CbmRichAlignment.h.
|
private |
Definition at line 114 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 113 of file CbmRichAlignment.h.
Referenced by GetTrackPosition(), and Init().
|
private |
Definition at line 116 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 112 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib(), Exec(), and Init().
|
private |
Definition at line 130 of file CbmRichAlignment.h.
Referenced by DrawFit(), and DrawHistAlignment().
|
private |
Definition at line 134 of file CbmRichAlignment.h.
Referenced by Init().
|
private |
Definition at line 125 of file CbmRichAlignment.h.
Referenced by Finish().
|
staticprivate |
Definition at line 20 of file CbmRichAlignment.h.
Referenced by CalculateAnglesAndDrawDistrib().