|
CbmRoot
|
#include <CbmRichPMTMapping.h>
Public Member Functions | |
| CbmRichPMTMapping () | |
| virtual | ~CbmRichPMTMapping () |
| virtual InitStatus | Init () |
| Inherited from FairTask. | |
| virtual void | Exec (Option_t *option) |
| Inherited from FairTask. | |
| virtual void | Finish () |
| Inherited from FairTask. | |
| void | InitHist () |
| void | MatchFinder () |
| void | FillPMTMap (const Char_t *mirr_path, CbmRichPoint *pPoint) |
| void | FillPMTMapEllipse (const Char_t *mirr_path, Float_t CenterX, Float_t CenterY) |
| void | ProjectionProducer () |
| void | ProjectionProducer2 () |
| void | CalculateSphereParameters (const Char_t *mirrID, Double_t &sphereX, Double_t &sphereY, Double_t &sphereZ, Double_t &sphereR) |
| void | CalculateSphereParameters2 (const Char_t *mirrID, Double_t &sphereX, Double_t &sphereY, Double_t &sphereZ, Double_t &sphereR) |
| void | GetPmtNormal (Int_t NofPMTPoints, Double_t &normalX, Double_t &normalY, Double_t &normalZ, Double_t &normalCste) |
| void | RotateAndCopyHitsToRingLight (const CbmRichRing *ring1, CbmRichRingLight *ring2) |
| void | DrawHist () |
| void | DrawHistFromFile (TString fileName) |
| void | SetOutputDir (TString dir) |
| void | SetRunTitle (TString title) |
| void | SetDrawHist (Bool_t b) |
Private Member Functions | |
| CbmRichPMTMapping (const CbmRichPMTMapping &) | |
| CbmRichPMTMapping | operator= (const CbmRichPMTMapping &) |
| ClassDef (CbmRichPMTMapping, 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 |
| CbmRichRecGeoPar | fGP |
| UInt_t | fEventNum |
| UInt_t | fCounterMapping |
| UInt_t | fMirrCounter |
| Bool_t | fDrawHist |
| Bool_t | fIsMirrorUpperHalf |
| Double_t | fArray [3] |
| std::map< string, string > | fPathsMap |
| std::map< string, string > | fPathsMapEllipse |
| TString | fOutputDir |
| TString | fRunTitle |
| CbmRichRingFitterCOP * | fCopFit |
| CbmRichRingFitterEllipseTau * | fTauFit |
Static Private Attributes | |
| static const int | kMAX_NOF_HITS = 100 |
Definition at line 29 of file CbmRichPMTMapping.h.
| CbmRichPMTMapping::CbmRichPMTMapping | ( | ) |
Definition at line 52 of file CbmRichPMTMapping.cxx.
References fArray, fCopFit, fCounterMapping, fDrawHist, fEventNum, fGlobalTracks, fGP, fHM, fIsMirrorUpperHalf, fMCTracks, fMirrCounter, fOutputDir, fPathsMap, fPathsMapEllipse, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichPoints, fRichProjections, fRichRefPlanePoints, fRichRingMatches, fRichRings, fRunTitle, and fTauFit.
Referenced by CbmRichPMTMapping(), ClassDef(), and operator=().
|
virtual |
Definition at line 83 of file CbmRichPMTMapping.cxx.
|
private |
References CbmRichPMTMapping().
| void CbmRichPMTMapping::CalculateSphereParameters | ( | const Char_t * | mirrID, |
| Double_t & | sphereX, | ||
| Double_t & | sphereY, | ||
| Double_t & | sphereZ, | ||
| Double_t & | sphereR ) |
Definition at line 1026 of file CbmRichPMTMapping.cxx.
References fIsMirrorUpperHalf.
Referenced by ProjectionProducer().
| void CbmRichPMTMapping::CalculateSphereParameters2 | ( | const Char_t * | mirrID, |
| Double_t & | sphereX, | ||
| Double_t & | sphereY, | ||
| Double_t & | sphereZ, | ||
| Double_t & | sphereR ) |
Definition at line 1096 of file CbmRichPMTMapping.cxx.
References fIsMirrorUpperHalf.
Referenced by ProjectionProducer(), and ProjectionProducer2().
|
private |
References CbmRichPMTMapping().
| void CbmRichPMTMapping::DrawHist | ( | ) |
Definition at line 1192 of file CbmRichPMTMapping.cxx.
References DrawH1(), DrawH2(), fHM, fOutputDir, fRunTitle, and Cbm::SaveCanvasAsImage().
Referenced by DrawHistFromFile(), and Finish().
| void CbmRichPMTMapping::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 1266 of file CbmRichPMTMapping.cxx.
References DrawHist(), and fHM.
|
virtual |
Inherited from FairTask.
Definition at line 231 of file CbmRichPMTMapping.cxx.
References fEventNum, fGP, fMCTracks, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichRings, CbmRichHitProducer::Init(), and ProjectionProducer2().
| void CbmRichPMTMapping::FillPMTMap | ( | const Char_t * | mirr_path, |
| CbmRichPoint * | pPoint ) |
Definition at line 368 of file CbmRichPMTMapping.cxx.
References fHM, fMirrCounter, and fPathsMap.
Referenced by MatchFinder().
| void CbmRichPMTMapping::FillPMTMapEllipse | ( | const Char_t * | mirr_path, |
| Float_t | CenterX, | ||
| Float_t | CenterY ) |
Definition at line 387 of file CbmRichPMTMapping.cxx.
References fHM, and fPathsMap.
Referenced by MatchFinder().
|
virtual |
Inherited from FairTask.
Definition at line 1282 of file CbmRichPMTMapping.cxx.
References DrawHist(), fDrawHist, and fMirrCounter.
| void CbmRichPMTMapping::GetPmtNormal | ( | Int_t | NofPMTPoints, |
| Double_t & | normalX, | ||
| Double_t & | normalY, | ||
| Double_t & | normalZ, | ||
| Double_t & | normalCste ) |
Definition at line 937 of file CbmRichPMTMapping.cxx.
References fMCTracks, fRichPoints, and CbmMCTrack::GetMotherId().
Referenced by ProjectionProducer(), and ProjectionProducer2().
|
virtual |
Inherited from FairTask.
Definition at line 85 of file CbmRichPMTMapping.cxx.
References fCopFit, fGlobalTracks, fMCTracks, fPathsMap, fPathsMapEllipse, fRichHits, fRichMCPoints, fRichMirrorPoints, fRichPoints, fRichProjections, fRichRefPlanePoints, fRichRingMatches, fRichRings, fTauFit, CbmRichConverter::Init(), and InitHist().
| void CbmRichPMTMapping::InitHist | ( | ) |
Definition at line 198 of file CbmRichPMTMapping.cxx.
References fHM, fPathsMap, and fPathsMapEllipse.
Referenced by Init().
| void CbmRichPMTMapping::MatchFinder | ( | ) |
Definition at line 287 of file CbmRichPMTMapping.cxx.
References CbmRichConverter::CopyHitsToRingLight(), FillPMTMap(), FillPMTMapEllipse(), fMCTracks, fRichMCPoints, fRichMirrorPoints, fRichRingMatches, fRichRings, fTauFit, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
|
private |
References CbmRichPMTMapping().
| void CbmRichPMTMapping::ProjectionProducer | ( | ) |
Definition at line 660 of file CbmRichPMTMapping.cxx.
References CalculateSphereParameters(), CalculateSphereParameters2(), CbmRichConverter::CopyHitsToRingLight(), fGlobalTracks, fHM, fIsMirrorUpperHalf, fMCTracks, fRichMirrorPoints, fRichPoints, fRichRefPlanePoints, fRichRings, fTauFit, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmMCTrack::GetMotherId(), GetPmtNormal(), CbmGlobalTrack::GetRichRingIndex(), and CbmRichPoint::Print().
| void CbmRichPMTMapping::ProjectionProducer2 | ( | ) |
Definition at line 405 of file CbmRichPMTMapping.cxx.
References CalculateSphereParameters2(), CbmRichConverter::CopyHitsToRingLight(), fCopFit, fGlobalTracks, fGP, fHM, fIsMirrorUpperHalf, fMCTracks, fRichMirrorPoints, fRichPoints, fRichRefPlanePoints, fRichRings, fTauFit, CbmRichRingLight::GetCenterX(), CbmRichRingLight::GetCenterY(), CbmMCTrack::GetMotherId(), GetPmtNormal(), CbmGlobalTrack::GetRichRingIndex(), and CbmRichPoint::Print().
Referenced by Exec().
| void CbmRichPMTMapping::RotateAndCopyHitsToRingLight | ( | const CbmRichRing * | ring1, |
| CbmRichRingLight * | ring2 ) |
Definition at line 1176 of file CbmRichPMTMapping.cxx.
References CbmRichRingLight::AddHit(), fGP, fRichHits, CbmRichRing::GetHit(), CbmRichRing::GetNofHits(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
|
inline |
Definition at line 126 of file CbmRichPMTMapping.h.
References fDrawHist.
|
inline |
Definition at line 116 of file CbmRichPMTMapping.h.
References fOutputDir.
|
inline |
Definition at line 121 of file CbmRichPMTMapping.h.
References fRunTitle.
|
private |
Definition at line 148 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping().
|
private |
Definition at line 156 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), and ProjectionProducer2().
|
private |
Definition at line 144 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping().
|
private |
Definition at line 146 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Finish(), and SetDrawHist().
|
private |
Definition at line 143 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), and Exec().
|
private |
Definition at line 139 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 141 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), ProjectionProducer2(), and RotateAndCopyHitsToRingLight().
|
private |
Definition at line 140 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), DrawHist(), DrawHistFromFile(), FillPMTMap(), FillPMTMapEllipse(), InitHist(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 147 of file CbmRichPMTMapping.h.
Referenced by CalculateSphereParameters(), CalculateSphereParameters2(), CbmRichPMTMapping(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 135 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), GetPmtNormal(), Init(), MatchFinder(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 145 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), FillPMTMap(), and Finish().
|
private |
Definition at line 153 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), DrawHist(), and SetOutputDir().
|
private |
Definition at line 150 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), FillPMTMap(), FillPMTMapEllipse(), Init(), and InitHist().
|
private |
Definition at line 151 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), and InitHist().
|
private |
Definition at line 130 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), Init(), and RotateAndCopyHitsToRingLight().
|
private |
Definition at line 134 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), Init(), and MatchFinder().
|
private |
Definition at line 132 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), Init(), MatchFinder(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 138 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), GetPmtNormal(), Init(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 133 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), and Init().
|
private |
Definition at line 137 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 136 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), and MatchFinder().
|
private |
Definition at line 131 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Exec(), Init(), MatchFinder(), ProjectionProducer(), and ProjectionProducer2().
|
private |
Definition at line 154 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), DrawHist(), and SetRunTitle().
|
private |
Definition at line 157 of file CbmRichPMTMapping.h.
Referenced by CbmRichPMTMapping(), Init(), MatchFinder(), ProjectionProducer(), and ProjectionProducer2().
|
staticprivate |
Definition at line 31 of file CbmRichPMTMapping.h.