CbmRoot
|
#include <CbmRichCorrection.h>
Public Member Functions | |
CbmRichCorrection () | |
virtual | ~CbmRichCorrection () |
virtual InitStatus | Init () |
Inherited from FairTask. | |
virtual void | Exec (Option_t *option) |
Inherited from FairTask. | |
virtual void | Finish () |
Inherited from FairTask. | |
void | InitHistProjection () |
void | ProjectionProducer () |
void | GetPmtNormal (Int_t NofPMTPoints, vector< Double_t > &normalPMT, Double_t &normalCste) |
void | GetMeanSphereCenter (TGeoNavigator *navi, vector< Double_t > &ptC) |
void | GetMirrorIntersection (vector< Double_t > &ptM, vector< Double_t > ptR1, vector< Double_t > momR1, vector< Double_t > ptC, Double_t sphereRadius) |
vector< Double_t > | RotateSphereCenter (vector< Double_t > ptM, vector< Double_t > ptC, TGeoNavigator *navi) |
void | InvertMatrix (Double_t mat[3][3], Double_t invMat[3][3], TGeoNavigator *navi) |
void | CalculateMirrorIntersection (vector< Double_t > ptM, vector< Double_t > ptCUnCorr, vector< Double_t > &ptMNew) |
void | ComputeR2 (vector< Double_t > &ptR2Center, vector< Double_t > &ptR2Mirr, vector< Double_t > ptM, vector< Double_t > ptC, vector< Double_t > ptR1, TGeoNavigator *navi, TString s) |
void | ComputeP (vector< Double_t > &ptPMirr, vector< Double_t > &ptPR2, vector< Double_t > normalPMT, vector< Double_t > ptM, vector< Double_t > ptR2Mirr, Double_t normalCste) |
void | FillHistProjection (TVector3 outPosIdeal, TVector3 outPosUnCorr, TVector3 outPos, Int_t NofGlobalTracks, vector< Double_t > normalPMT, Double_t constantePMT) |
void | DrawHistProjection () |
void | DrawHistFromFile (TString fileName) |
void | SetOutputDir (TString dir) |
void | SetRunTitle (TString title) |
void | SetAxisRotTitle (TString title) |
void | SetDrawProjection (Bool_t b) |
void | SetIsReconstruction (Bool_t b) |
void | SetNumbAxis (TString n) |
void | SetTileName (TString t) |
Private Member Functions | |
CbmRichCorrection (const CbmRichCorrection &) | |
CbmRichCorrection | operator= (const CbmRichCorrection &) |
ClassDef (CbmRichCorrection, 1) | |
Private Attributes | |
TClonesArray * | fRichHits |
TClonesArray * | fRichRings |
TClonesArray * | fRichMirrorPoints |
TClonesArray * | fRichProjections |
TClonesArray * | fRichMCPoints |
TClonesArray * | fMCTracks |
TClonesArray * | fRichRingMatches |
TClonesArray * | fRichRefPlanePoints |
TClonesArray * | fRichPoints |
TClonesArray * | fGlobalTracks |
CbmHistManager * | fHM |
vector< Float_t > | fPhi |
TString | fNumbAxis |
TString | fTile |
UInt_t | fEventNum |
Bool_t | fDrawProjection |
Bool_t | fIsMeanCenter |
Bool_t | fIsReconstruction |
TString | fOutputDir |
TString | fRunTitle |
TString | fAxisRotTitle |
CbmRichRingFitterCOP * | fCopFit |
CbmRichRingFitterEllipseTau * | fTauFit |
Static Private Attributes | |
static const int | kMAX_NOF_HITS = 100 |
Definition at line 30 of file CbmRichCorrection.h.
CbmRichCorrection::CbmRichCorrection | ( | ) |
Definition at line 60 of file CbmRichCorrection.cxx.
|
virtual |
Definition at line 90 of file CbmRichCorrection.cxx.
|
private |
void CbmRichCorrection::CalculateMirrorIntersection | ( | vector< Double_t > | ptM, |
vector< Double_t > | ptCUnCorr, | ||
vector< Double_t > & | ptMNew ) |
Definition at line 895 of file CbmRichCorrection.cxx.
Referenced by ProjectionProducer().
|
private |
void CbmRichCorrection::ComputeP | ( | vector< Double_t > & | ptPMirr, |
vector< Double_t > & | ptPR2, | ||
vector< Double_t > | normalPMT, | ||
vector< Double_t > | ptM, | ||
vector< Double_t > | ptR2Mirr, | ||
Double_t | normalCste ) |
Definition at line 1027 of file CbmRichCorrection.cxx.
Referenced by ProjectionProducer().
void CbmRichCorrection::ComputeR2 | ( | vector< Double_t > & | ptR2Center, |
vector< Double_t > & | ptR2Mirr, | ||
vector< Double_t > | ptM, | ||
vector< Double_t > | ptC, | ||
vector< Double_t > | ptR1, | ||
TGeoNavigator * | navi, | ||
TString | s ) |
Definition at line 911 of file CbmRichCorrection.cxx.
References fNumbAxis, fOutputDir, fTile, x, and y.
Referenced by ProjectionProducer().
void CbmRichCorrection::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 1372 of file CbmRichCorrection.cxx.
References DrawHistProjection(), fHM, and CbmHistManager::ReadFromFile().
void CbmRichCorrection::DrawHistProjection | ( | ) |
Definition at line 1162 of file CbmRichCorrection.cxx.
References fAxisRotTitle, fHM, fOutputDir, fRunTitle, CbmHistManager::H1(), and Cbm::SaveCanvasAsImage().
Referenced by DrawHistFromFile(), and Finish().
|
virtual |
Inherited from FairTask.
Definition at line 199 of file CbmRichCorrection.cxx.
References fEventNum, fMCTracks, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichRings, and ProjectionProducer().
void CbmRichCorrection::FillHistProjection | ( | TVector3 | outPosIdeal, |
TVector3 | outPosUnCorr, | ||
TVector3 | outPos, | ||
Int_t | NofGlobalTracks, | ||
vector< Double_t > | normalPMT, | ||
Double_t | constantePMT ) |
Definition at line 1070 of file CbmRichCorrection.cxx.
References CbmRichConverter::CopyHitsToRingLight(), CbmRichRingFitterCOP::DoFit(), fCopFit, fGlobalTracks, fHM, fMCTracks, fRichRings, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmMCTrack::GetMotherId(), CbmGlobalTrack::GetRichRingIndex(), and CbmHistManager::H1().
Referenced by ProjectionProducer().
|
virtual |
Inherited from FairTask.
Definition at line 1388 of file CbmRichCorrection.cxx.
References DrawHistProjection(), fDrawProjection, fHM, and CbmHistManager::H1().
void CbmRichCorrection::GetMeanSphereCenter | ( | TGeoNavigator * | navi, |
vector< Double_t > & | ptC ) |
Definition at line 500 of file CbmRichCorrection.cxx.
References counter.
Referenced by ProjectionProducer().
void CbmRichCorrection::GetMirrorIntersection | ( | vector< Double_t > & | ptM, |
vector< Double_t > | ptR1, | ||
vector< Double_t > | momR1, | ||
vector< Double_t > | ptC, | ||
Double_t | sphereRadius ) |
Definition at line 558 of file CbmRichCorrection.cxx.
Referenced by ProjectionProducer().
void CbmRichCorrection::GetPmtNormal | ( | Int_t | NofPMTPoints, |
vector< Double_t > & | normalPMT, | ||
Double_t & | normalCste ) |
Definition at line 410 of file CbmRichCorrection.cxx.
References fMCTracks, fRichPoints, and CbmMCTrack::GetMotherId().
Referenced by ProjectionProducer().
|
virtual |
Inherited from FairTask.
Definition at line 92 of file CbmRichCorrection.cxx.
References fCopFit, fGlobalTracks, fMCTracks, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichPoints, fRichProjections, fRichRefPlanePoints, fRichRingMatches, fRichRings, fTauFit, CbmRichConverter::Init(), and InitHistProjection().
void CbmRichCorrection::InitHistProjection | ( | ) |
Definition at line 155 of file CbmRichCorrection.cxx.
References CbmHistManager::Create1(), and fHM.
Referenced by Init().
void CbmRichCorrection::InvertMatrix | ( | Double_t | mat[3][3], |
Double_t | invMat[3][3], | ||
TGeoNavigator * | navi ) |
Definition at line 809 of file CbmRichCorrection.cxx.
Referenced by RotateSphereCenter().
|
private |
void CbmRichCorrection::ProjectionProducer | ( | ) |
Definition at line 237 of file CbmRichCorrection.cxx.
References CalculateMirrorIntersection(), ComputeP(), ComputeR2(), fGlobalTracks, CbmRichGeoManager::fGP, CbmRichRecGeoParPmt::fHeight, FillHistProjection(), fIsMeanCenter, fMCTracks, CbmRichRecGeoParPmt::fPlaneX, CbmRichRecGeoParPmt::fPlaneY, CbmRichRecGeoPar::fPmt, fRichMirrorPoints, fRichPoints, fRichRefPlanePoints, fRichRings, CbmRichRecGeoParPmt::fWidth, CbmRichGeoManager::GetInstance(), GetMeanSphereCenter(), GetMirrorIntersection(), CbmMCTrack::GetMotherId(), GetPmtNormal(), and CbmRichGeoManager::RotatePoint().
Referenced by Exec().
vector< Double_t > CbmRichCorrection::RotateSphereCenter | ( | vector< Double_t > | ptM, |
vector< Double_t > | ptC, | ||
TGeoNavigator * | navi ) |
Definition at line 601 of file CbmRichCorrection.cxx.
References InvertMatrix().
|
inline |
Definition at line 152 of file CbmRichCorrection.h.
References fAxisRotTitle.
|
inline |
Definition at line 157 of file CbmRichCorrection.h.
References fDrawProjection.
|
inline |
Definition at line 159 of file CbmRichCorrection.h.
References fIsReconstruction.
|
inline |
Definition at line 161 of file CbmRichCorrection.h.
References fNumbAxis.
|
inline |
Definition at line 142 of file CbmRichCorrection.h.
References fOutputDir.
|
inline |
Definition at line 147 of file CbmRichCorrection.h.
References fRunTitle.
|
inline |
Definition at line 163 of file CbmRichCorrection.h.
References fTile.
|
private |
Definition at line 190 of file CbmRichCorrection.h.
Referenced by DrawHistProjection(), and SetAxisRotTitle().
|
private |
Definition at line 192 of file CbmRichCorrection.h.
Referenced by FillHistProjection(), and Init().
|
private |
Definition at line 184 of file CbmRichCorrection.h.
Referenced by Finish(), and SetDrawProjection().
|
private |
Definition at line 183 of file CbmRichCorrection.h.
Referenced by Exec().
|
private |
Definition at line 176 of file CbmRichCorrection.h.
Referenced by FillHistProjection(), Init(), and ProjectionProducer().
|
private |
Definition at line 177 of file CbmRichCorrection.h.
Referenced by DrawHistFromFile(), DrawHistProjection(), FillHistProjection(), Finish(), and InitHistProjection().
|
private |
Definition at line 185 of file CbmRichCorrection.h.
Referenced by ProjectionProducer().
|
private |
Definition at line 186 of file CbmRichCorrection.h.
Referenced by SetIsReconstruction().
|
private |
Definition at line 172 of file CbmRichCorrection.h.
Referenced by Exec(), FillHistProjection(), GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 181 of file CbmRichCorrection.h.
Referenced by ComputeR2(), and SetNumbAxis().
|
private |
Definition at line 188 of file CbmRichCorrection.h.
Referenced by ComputeR2(), DrawHistProjection(), and SetOutputDir().
|
private |
Definition at line 179 of file CbmRichCorrection.h.
|
private |
Definition at line 167 of file CbmRichCorrection.h.
|
private |
Definition at line 171 of file CbmRichCorrection.h.
|
private |
Definition at line 169 of file CbmRichCorrection.h.
Referenced by Exec(), Init(), and ProjectionProducer().
|
private |
Definition at line 175 of file CbmRichCorrection.h.
Referenced by GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 170 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 174 of file CbmRichCorrection.h.
Referenced by Init(), and ProjectionProducer().
|
private |
Definition at line 173 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 168 of file CbmRichCorrection.h.
Referenced by Exec(), FillHistProjection(), Init(), and ProjectionProducer().
|
private |
Definition at line 189 of file CbmRichCorrection.h.
Referenced by DrawHistProjection(), and SetRunTitle().
|
private |
Definition at line 193 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 182 of file CbmRichCorrection.h.
Referenced by ComputeR2(), and SetTileName().
|
staticprivate |
Definition at line 34 of file CbmRichCorrection.h.