1 #ifndef RICH_MIRRORS_CBMRICHRONCHIANA_H_
2 #define RICH_MIRRORS_CBMRICHRONCHIANA_H_
95 : fNofPoints(0), fMeanPrimary(0), fMeanSecondary(0), fLineInd(0) {}
148 vector<vector<double>> ReadTiffFile(
const string& fileName);
150 void DoRotation(vector<vector<double>>& data);
152 void FillH2WithVector(TH2* hist,
const vector<vector<double>>& data);
154 void DoMeanIntensityY(vector<vector<double>>& data);
156 void DoPeakFinderY(vector<vector<double>>& data);
158 void DoSmoothLines(vector<vector<double>>& data);
160 void DoLineSearch(vector<vector<double>>& data);
162 vector<vector<double>> DoSuperpose(
const vector<vector<double>>& dataH,
163 const vector<vector<double>>& dataV);
165 vector<CbmRichRonchiIntersectionData>
166 DoIntersection(vector<vector<double>>& dataH,
167 const vector<vector<double>>& dataV);
169 void DoOrderLines(vector<CbmRichRonchiIntersectionData>& intersections,
170 const string& option);
173 void UpdateIntersectionLineInd(
174 vector<CbmRichRonchiIntersectionData>& intersections,
177 const string& option);
179 void DoLocalNormal(vector<CbmRichRonchiIntersectionData>& data);
180 void DrawXYMum(vector<CbmRichRonchiIntersectionData>& data);
181 void DrawXZProjection(vector<CbmRichRonchiIntersectionData>& data,
184 void DrawMirrorSegments(vector<CbmRichRonchiIntersectionData>& data,
187 void DrawMirrorSegmentsSphereAll(vector<CbmRichRonchiIntersectionData>& data);
188 void DrawMirrorSegmentsSphere(vector<CbmRichRonchiIntersectionData>& data,
191 void DrawOneMirrorSegment(
const TVector3& tl,
196 void DrawSphere(vector<CbmRichRonchiIntersectionData>& data);
199 void DoHeight(vector<CbmRichRonchiIntersectionData>& intersections);
201 void DoSphere(vector<CbmRichRonchiIntersectionData>& intersections);
203 int GetIndexForLineXLineY(
int lineX,
205 vector<CbmRichRonchiIntersectionData>& data);
206 int GetMinIndexForLineX(
int lineX,
207 vector<CbmRichRonchiIntersectionData>& data);
208 int GetMinIndexForLineY(
int lineY,
209 vector<CbmRichRonchiIntersectionData>& data);
218 void DoIntegrate(vector<CbmRichRonchiIntersectionData>& intersections);
223 void RotatePointImpl(TVector3* inPos,
229 void DoDeviation(vector<CbmRichRonchiIntersectionData>& data);
231 void DoRLoc(vector<CbmRichRonchiIntersectionData>& data);