14#ifndef CBM_RICH_GEO_OPT
15#define CBM_RICH_GEO_OPT
66 virtual InitStatus
Init();
71 virtual void Exec(Option_t* option);
Optimization of the RICH geometry.
TH1D * H_Alpha_UpLeft_Left2Thirds
TH1D * H_dFocalPoint_Delta
TH1D * H_Theta_TwoVectors
TClonesArray * fRichRings
Int_t nPhotonsNotOnSphere
CbmRichGeoOpt & operator=(const CbmRichGeoOpt &)
Assignment operator.
TClonesArray * fRichPoints
TH2D * H_NofRings_NofHits
TH1D * H_Alpha_UpLeft_RightThird
vector< TVector3 > SensPlanePoints
TH3D * H_RingCenter_dR_Left2Thirds
TH3D * H_Alpha_XYposAtDet_RightThird
TH3D * H_RingCenter_boa_RegularTheta
TH3D * H_RingCenter_boa_LeftHalf
float GetDistanceMirrorCenterToPMTPoint(TVector3 PMTpoint)
calculate distance between mirror center and pmt-point.
TH1D * H_boa_RegularTheta
TH1D * H_acc_mom_el_RegularTheta
TH3D * H_Alpha_XYposAtDet_RightHalf
TH1D * H_Alpha_UpLeft_RegularTheta
TH3D * H_RingCenter_Baxis
TH2D * H_PointsIn_XY_RightThird
TVector3 ReadPMTPlaneCenterOrig
TH3D * H_RingCenter_Aaxis
void FillPointsAtPMT()
get point coordinates.
void FillMcHist()
get MC Histos (P & Pt).
TH3D * H_RingCenter_dR_LeftHalf
TH1D * H_NofPhotonsSmallerThan30
TH1D * H_DistancePMTtoMirr
TH3D * H_Alpha_XYposAtDet
void InitHistograms()
Initialize histograms.
bool CheckPointLiesOnSphere(TVector3 Point)
TH3D * H_Alpha_XYposAtDet_RegularTheta
virtual void Finish()
Inherited from FairTask.
TH1D * H_Diff_LineRefPMT_MomAtPMT
histograms.
TH1D * H_DistancePMTtoMirrCenter
CbmRichGeoOpt()
Standard constructor.
bool CheckLineIntersectsSphere(TVector3 Point)
Check if a given line intersects a given sphere.
TH2D * H_PointsIn_XY_LeftHalf
virtual void Exec(Option_t *option)
Inherited from FairTask.
virtual ~CbmRichGeoOpt()
Standard destructor.
TH1D * H_Alpha_UpLeft_LeftHalf
TH3D * H_Alpha_XYposAtDet_Left2Thirds
TH3D * H_RingCenter_dR_RightThird
float GetIntersectionPointsLS(TVector3 MirrCenter, TVector3 G_P1, TVector3 G_P2, float R)
TH2D * H_Hits_XY_RightThird
void FillPointsAtPMTSensPlane()
get senspoint coordinates.
TH3D * H_RingCenter_boa_Left2Thirds
void WriteHistograms()
write histograms to a root-file.
TH2D * H_PointsIn_XY_Left2Thirds
TH2D * H_Hits_XY_RightHalf
TH3D * H_RingCenter_boa_RightThird
void HitsAndPointsWithRef()
TH3D * H_Alpha_XYposAtDet_LeftHalf
vector< TVector3 > PMTPlanePoints
TH3D * H_RingCenter_dR_RightHalf
bool CheckLineIntersectsPlane(TVector3 Point)
Check if a given line intersects a given plane.
TH1D * H_Alpha_UpLeft_RightHalf
virtual InitStatus Init()
Inherited from FairTask.
TH3D * H_RingCenter_boa_RightHalf
CbmRichPoint * GetPMTPoint(int TrackIdOfSensPlane)
get a point coressponding to point at sens-plane.
CbmRichGeoOpt(const CbmRichGeoOpt &)
Copy constructor.
TH3D * H_RingCenter_dR_RegularTheta
TH1D * H_NofPhotonsPerHit
TH2D * H_Hits_XY_LeftHalf
TClonesArray * fRefPoints
TClonesArray * fRichRingMatches
TH2D * H_PointsIn_XY_RightHalf
TH1D * H_MomPrim_RegularTheta
bool CheckPointLiesOnPlane(TVector3 Point, TVector3 p0, TVector3 n)
Check if a given point lies on agiven plane.
TVector3 ReadPMTPlaneCenter
void RingParameters()
Loop over all rings in array and fill ring parameters histograms.
TH2D * H_Hits_XY_Left2Thirds