CbmRoot
|
#include <CbmRichCorrection.h>
Public Member Functions | |
CbmRichCorrection () | |
virtual | ~CbmRichCorrection () |
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 | 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 25 of file CbmRichCorrection.h.
CbmRichCorrection::CbmRichCorrection | ( | ) |
Definition at line 53 of file CbmRichCorrection.cxx.
|
virtual |
Definition at line 81 of file CbmRichCorrection.cxx.
|
private |
void CbmRichCorrection::CalculateMirrorIntersection | ( | vector< Double_t > | ptM, |
vector< Double_t > | ptCUnCorr, | ||
vector< Double_t > & | ptMNew | ||
) |
Definition at line 1021 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 1174 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 1037 of file CbmRichCorrection.cxx.
References fNumbAxis, fOutputDir, fTile, i, x, y, and z2.
Referenced by ProjectionProducer().
void CbmRichCorrection::DrawHistFromFile | ( | TString | fileName | ) |
Definition at line 1543 of file CbmRichCorrection.cxx.
References DrawHistProjection(), fHM, and CbmHistManager::ReadFromFile().
void CbmRichCorrection::DrawHistProjection | ( | ) |
Definition at line 1332 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 232 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 1223 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 1550 of file CbmRichCorrection.cxx.
References DrawHistProjection(), fDrawProjection, fHM, and CbmHistManager::H1().
void CbmRichCorrection::GetMeanSphereCenter | ( | TGeoNavigator * | navi, |
vector< Double_t > & | ptC | ||
) |
Definition at line 594 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 661 of file CbmRichCorrection.cxx.
References d.
Referenced by ProjectionProducer().
void CbmRichCorrection::GetPmtNormal | ( | Int_t | NofPMTPoints, |
vector< Double_t > & | normalPMT, | ||
Double_t & | normalCste | ||
) |
Definition at line 488 of file CbmRichCorrection.cxx.
References fMCTracks, fRichPoints, and CbmMCTrack::GetMotherId().
Referenced by ProjectionProducer().
|
virtual |
Inherited from FairTask.
Definition at line 83 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 145 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 925 of file CbmRichCorrection.cxx.
References i.
Referenced by RotateSphereCenter().
|
private |
void CbmRichCorrection::ProjectionProducer | ( | ) |
Definition at line 270 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(), CbmRichPoint::Print(), and CbmRichGeoManager::RotatePoint().
Referenced by Exec().
vector< Double_t > CbmRichCorrection::RotateSphereCenter | ( | vector< Double_t > | ptM, |
vector< Double_t > | ptC, | ||
TGeoNavigator * | navi | ||
) |
Definition at line 708 of file CbmRichCorrection.cxx.
References i, and InvertMatrix().
|
inline |
Definition at line 170 of file CbmRichCorrection.h.
|
inline |
Definition at line 175 of file CbmRichCorrection.h.
|
inline |
Definition at line 177 of file CbmRichCorrection.h.
|
inline |
Definition at line 179 of file CbmRichCorrection.h.
|
inline |
Definition at line 160 of file CbmRichCorrection.h.
|
inline |
Definition at line 165 of file CbmRichCorrection.h.
|
inline |
Definition at line 181 of file CbmRichCorrection.h.
|
private |
Definition at line 208 of file CbmRichCorrection.h.
Referenced by DrawHistProjection().
|
private |
Definition at line 210 of file CbmRichCorrection.h.
Referenced by FillHistProjection(), and Init().
|
private |
Definition at line 202 of file CbmRichCorrection.h.
Referenced by Finish().
|
private |
Definition at line 201 of file CbmRichCorrection.h.
Referenced by Exec().
|
private |
Definition at line 194 of file CbmRichCorrection.h.
Referenced by FillHistProjection(), Init(), and ProjectionProducer().
|
private |
Definition at line 195 of file CbmRichCorrection.h.
Referenced by DrawHistFromFile(), DrawHistProjection(), FillHistProjection(), Finish(), and InitHistProjection().
|
private |
Definition at line 203 of file CbmRichCorrection.h.
Referenced by ProjectionProducer().
|
private |
Definition at line 204 of file CbmRichCorrection.h.
|
private |
Definition at line 190 of file CbmRichCorrection.h.
Referenced by Exec(), FillHistProjection(), GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 199 of file CbmRichCorrection.h.
Referenced by ComputeR2().
|
private |
Definition at line 206 of file CbmRichCorrection.h.
Referenced by ComputeR2(), and DrawHistProjection().
|
private |
Definition at line 197 of file CbmRichCorrection.h.
|
private |
Definition at line 185 of file CbmRichCorrection.h.
|
private |
Definition at line 189 of file CbmRichCorrection.h.
|
private |
Definition at line 187 of file CbmRichCorrection.h.
Referenced by Exec(), Init(), and ProjectionProducer().
|
private |
Definition at line 193 of file CbmRichCorrection.h.
Referenced by GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 188 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 192 of file CbmRichCorrection.h.
Referenced by Init(), and ProjectionProducer().
|
private |
Definition at line 191 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 186 of file CbmRichCorrection.h.
Referenced by Exec(), FillHistProjection(), Init(), and ProjectionProducer().
|
private |
Definition at line 207 of file CbmRichCorrection.h.
Referenced by DrawHistProjection().
|
private |
Definition at line 211 of file CbmRichCorrection.h.
Referenced by Init().
|
private |
Definition at line 200 of file CbmRichCorrection.h.
Referenced by ComputeR2().
|
staticprivate |
Definition at line 29 of file CbmRichCorrection.h.