5#ifndef RICH_MIRRORS_CBMRICHRONCHIANA_H_
6#define RICH_MIRRORS_CBMRICHRONCHIANA_H_
148 vector<vector<double>>
ReadTiffFile(
const string& fileName);
150 void DoRotation(vector<vector<double>>& data);
162 vector<vector<double>>
DoSuperpose(
const vector<vector<double>>& dataH,
const vector<vector<double>>& dataV);
164 vector<CbmRichRonchiIntersectionData>
DoIntersection(vector<vector<double>>& dataH,
165 const vector<vector<double>>& dataV);
167 void DoOrderLines(vector<CbmRichRonchiIntersectionData>& intersections,
const string& option);
172 void DoLocalNormal(vector<CbmRichRonchiIntersectionData>& data);
173 void DrawXYMum(vector<CbmRichRonchiIntersectionData>& data);
174 void DrawXZProjection(vector<CbmRichRonchiIntersectionData>& data,
int orderedLineY,
double scale);
175 void DrawMirrorSegments(vector<CbmRichRonchiIntersectionData>& data,
int orderedLineX,
int orderedLineY);
178 void DrawOneMirrorSegment(
const TVector3& tl,
const TVector3& tr,
const TVector3& bl,
const TVector3& br,
int color);
179 void DrawSphere(vector<CbmRichRonchiIntersectionData>& data);
182 void DoHeight(vector<CbmRichRonchiIntersectionData>& intersections);
184 void DoSphere(vector<CbmRichRonchiIntersectionData>& intersections);
196 void DoIntegrate(vector<CbmRichRonchiIntersectionData>& intersections);
200 void RotatePointImpl(TVector3* inPos, TVector3* outPos, Double_t rotX, Double_t rotY, TVector3* cV);
202 void DoDeviation(vector<CbmRichRonchiIntersectionData>& data);
204 void DoRLoc(vector<CbmRichRonchiIntersectionData>& data);
void DoSphere(vector< CbmRichRonchiIntersectionData > &intersections)
void DoIntegrate(vector< CbmRichRonchiIntersectionData > &intersections)
CbmRichRonchiAna & operator=(const CbmRichRonchiAna &)
Assignment operator.
void DrawRLocMum(vector< CbmRichRonchiIntersectionData > &data)
void RotatePointImpl(TVector3 *inPos, TVector3 *outPos, Double_t rotX, Double_t rotY, TVector3 *cV)
void DoPeakFinderY(vector< vector< double > > &data)
void DoSmoothLines(vector< vector< double > > &data)
CbmRichRonchiAna(const CbmRichRonchiAna &)
Copy constructor.
void DrawOneMirrorSegment(const TVector3 &tl, const TVector3 &tr, const TVector3 &bl, const TVector3 &br, int color)
void DoHeight(vector< CbmRichRonchiIntersectionData > &intersections)
int GetMinIndexForLineX(int lineX, vector< CbmRichRonchiIntersectionData > &data)
double fOffsetLEDOpticalAxisY
void DrawXYMum(vector< CbmRichRonchiIntersectionData > &data)
vector< CbmRichRonchiIntersectionData > DoIntersection(vector< vector< double > > &dataH, const vector< vector< double > > &dataV)
void DoDeviation(vector< CbmRichRonchiIntersectionData > &data)
void DrawMirrorSegments(vector< CbmRichRonchiIntersectionData > &data, int orderedLineX, int orderedLineY)
double fOffsetLEDOpticalAxisX
void DoLocalNormal(vector< CbmRichRonchiIntersectionData > &data)
void DoAverageSurroundings(vector< CbmRichRonchiIntersectionData > &intersections)
void DrawXZProjection(vector< CbmRichRonchiIntersectionData > &data, int orderedLineY, double scale)
bool AreTwoSegmentsSameLine(const CbmRichRonchiLineData *line1, const CbmRichRonchiLineData *line2)
double fImageCenterMirrorY
void DoLineSearch(vector< vector< double > > &data)
void SetTiffFileNameH(const string &fileName)
double fOffsetCCDOptAxisX
void FillH2WithVector(TH2 *hist, const vector< vector< double > > &data)
void DrawMirrorSegmentsSphere(vector< CbmRichRonchiIntersectionData > &data, int orderedLineX, int orderedLineY)
void DoHeightCorners(vector< CbmRichRonchiIntersectionData > &intersections)
vector< vector< double > > ReadTiffFile(const string &fileName)
void DoMeanIntensityY(vector< vector< double > > &data)
void DoScanLineHeight(vector< CbmRichRonchiIntersectionData > &intersections)
void DoCalculateRemaining(vector< CbmRichRonchiIntersectionData > &intersections)
void DrawMirrorSegmentsSphereAll(vector< CbmRichRonchiIntersectionData > &data)
double fOffsetCCDOptAxisY
void DoRotation(vector< vector< double > > &data)
void DrawSphere(vector< CbmRichRonchiIntersectionData > &data)
void UpdateIntersectionLineInd(vector< CbmRichRonchiIntersectionData > &intersections, CbmRichRonchiLineData *line1, CbmRichRonchiLineData *line2, const string &option)
vector< vector< double > > DoSuperpose(const vector< vector< double > > &dataH, const vector< vector< double > > &dataV)
void SetTiffFileNameV(const string &fileName)
virtual ~CbmRichRonchiAna()
void DoRLoc(vector< CbmRichRonchiIntersectionData > &data)
double fImageCenterMirrorX
int GetMinIndexForLineY(int lineY, vector< CbmRichRonchiIntersectionData > &data)
void DoOrderLines(vector< CbmRichRonchiIntersectionData > &intersections, const string &option)
int GetIndexForLineXLineY(int lineX, int lineY, vector< CbmRichRonchiIntersectionData > &data)
std::vector< double > fVecTR
std::vector< double > fVecBL
std::vector< double > fVecBR
std::vector< double > fVecTL
CbmRichRonchiIntersectionData()