CbmRoot
CbmRichRonchiAna Class Reference

#include <CbmRichRonchiAna.h>

Inheritance diagram for CbmRichRonchiAna:
[legend]
Collaboration diagram for CbmRichRonchiAna:
[legend]

Public Member Functions

 CbmRichRonchiAna ()
 
virtual ~CbmRichRonchiAna ()
 
void Run ()
 
void SetTiffFileNameV (const string &fileName)
 
void SetTiffFileNameH (const string &fileName)
 

Private Member Functions

vector< vector< double > > ReadTiffFile (const string &fileName)
 
void DoRotation (vector< vector< double >> &data)
 
void FillH2WithVector (TH2 *hist, const vector< vector< double >> &data)
 
void DoMeanIntensityY (vector< vector< double >> &data)
 
void DoPeakFinderY (vector< vector< double >> &data)
 
void DoSmoothLines (vector< vector< double >> &data)
 
void DoLineSearch (vector< vector< double >> &data)
 
vector< vector< double > > DoSuperpose (const vector< vector< double >> &dataH, const vector< vector< double >> &dataV)
 
vector< CbmRichRonchiIntersectionDataDoIntersection (vector< vector< double >> &dataH, const vector< vector< double >> &dataV)
 
void DoOrderLines (vector< CbmRichRonchiIntersectionData > &intersections, const string &option)
 
bool AreTwoSegmentsSameLine (const CbmRichRonchiLineData *line1, const CbmRichRonchiLineData *line2)
 
void UpdateIntersectionLineInd (vector< CbmRichRonchiIntersectionData > &intersections, CbmRichRonchiLineData *line1, CbmRichRonchiLineData *line2, const string &option)
 
void DoLocalNormal (vector< CbmRichRonchiIntersectionData > &data)
 
void DrawXYMum (vector< CbmRichRonchiIntersectionData > &data)
 
void DrawXZProjection (vector< CbmRichRonchiIntersectionData > &data, int orderedLineY, double scale)
 
void DrawMirrorSegments (vector< CbmRichRonchiIntersectionData > &data, int orderedLineX, int orderedLineY)
 
void DrawMirrorSegmentsSphereAll (vector< CbmRichRonchiIntersectionData > &data)
 
void DrawMirrorSegmentsSphere (vector< CbmRichRonchiIntersectionData > &data, int orderedLineX, int orderedLineY)
 
void DrawOneMirrorSegment (const TVector3 &tl, const TVector3 &tr, const TVector3 &bl, const TVector3 &br, int color)
 
void DrawSphere (vector< CbmRichRonchiIntersectionData > &data)
 
void DrawRLocMum (vector< CbmRichRonchiIntersectionData > &data)
 
void DoHeight (vector< CbmRichRonchiIntersectionData > &intersections)
 
void DoSphere (vector< CbmRichRonchiIntersectionData > &intersections)
 
int GetIndexForLineXLineY (int lineX, int lineY, vector< CbmRichRonchiIntersectionData > &data)
 
int GetMinIndexForLineX (int lineX, vector< CbmRichRonchiIntersectionData > &data)
 
int GetMinIndexForLineY (int lineY, vector< CbmRichRonchiIntersectionData > &data)
 
void DoHeightCorners (vector< CbmRichRonchiIntersectionData > &intersections)
 
void DoScanLineHeight (vector< CbmRichRonchiIntersectionData > &intersections)
 
void DoCalculateRemaining (vector< CbmRichRonchiIntersectionData > &intersections)
 
void DoIntegrate (vector< CbmRichRonchiIntersectionData > &intersections)
 
void DoAverageSurroundings (vector< CbmRichRonchiIntersectionData > &intersections)
 
void RotatePointImpl (TVector3 *inPos, TVector3 *outPos, Double_t rotX, Double_t rotY, TVector3 *cV)
 
void DoDeviation (vector< CbmRichRonchiIntersectionData > &data)
 
void DoRLoc (vector< CbmRichRonchiIntersectionData > &data)
 
 CbmRichRonchiAna (const CbmRichRonchiAna &)
 Copy constructor. More...
 
CbmRichRonchiAnaoperator= (const CbmRichRonchiAna &)
 Assignment operator. More...
 

Private Attributes

string fTiffFileNameV
 
string fTiffFileNameH
 
double fPi
 
double fRadiusMirror
 
double fEdgeLengthCCD
 
double fCcdPixelSize
 
double fPitchGrid
 
double fImageWidth
 
double fDistRulingCCD
 
double fDistMirrorCCD
 
double fDistMirrorRuling
 
double fOffsetCCDOptAxisX
 
double fOffsetCCDOptAxisY
 
double fOffsetLEDOpticalAxisX
 
double fOffsetLEDOpticalAxisY
 
double fCorrection
 
double fCenterCcdX
 
double fCenterCcdY
 
double fImageCenterMirrorX
 
double fImageCenterMirrorY
 

Detailed Description

Definition at line 103 of file CbmRichRonchiAna.h.

Constructor & Destructor Documentation

◆ CbmRichRonchiAna() [1/2]

CbmRichRonchiAna::CbmRichRonchiAna ( )

Definition at line 27 of file CbmRichRonchiAna.cxx.

◆ ~CbmRichRonchiAna()

CbmRichRonchiAna::~CbmRichRonchiAna ( )
virtual

Definition at line 63 of file CbmRichRonchiAna.cxx.

◆ CbmRichRonchiAna() [2/2]

CbmRichRonchiAna::CbmRichRonchiAna ( const CbmRichRonchiAna )
private

Copy constructor.

Member Function Documentation

◆ AreTwoSegmentsSameLine()

bool CbmRichRonchiAna::AreTwoSegmentsSameLine ( const CbmRichRonchiLineData line1,
const CbmRichRonchiLineData line2 
)
private

◆ DoAverageSurroundings()

void CbmRichRonchiAna::DoAverageSurroundings ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoCalculateRemaining()

void CbmRichRonchiAna::DoCalculateRemaining ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoDeviation()

void CbmRichRonchiAna::DoDeviation ( vector< CbmRichRonchiIntersectionData > &  data)
private

Definition at line 1102 of file CbmRichRonchiAna.cxx.

References d, DrawH2(), fDistMirrorCCD, fRadiusMirror, i, and sqrt().

Referenced by Run().

◆ DoHeight()

void CbmRichRonchiAna::DoHeight ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoHeightCorners()

void CbmRichRonchiAna::DoHeightCorners ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoIntegrate()

void CbmRichRonchiAna::DoIntegrate ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoIntersection()

vector< CbmRichRonchiIntersectionData > CbmRichRonchiAna::DoIntersection ( vector< vector< double >> &  dataH,
const vector< vector< double >> &  dataV 
)
private

◆ DoLineSearch()

void CbmRichRonchiAna::DoLineSearch ( vector< vector< double >> &  data)
private

Definition at line 524 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DoLocalNormal()

◆ DoMeanIntensityY()

void CbmRichRonchiAna::DoMeanIntensityY ( vector< vector< double >> &  data)
private

Definition at line 370 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DoOrderLines()

void CbmRichRonchiAna::DoOrderLines ( vector< CbmRichRonchiIntersectionData > &  intersections,
const string &  option 
)
private

Definition at line 662 of file CbmRichRonchiAna.cxx.

References AreTwoSegmentsSameLine(), i, and UpdateIntersectionLineInd().

Referenced by Run().

◆ DoPeakFinderY()

void CbmRichRonchiAna::DoPeakFinderY ( vector< vector< double >> &  data)
private

Definition at line 436 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DoRLoc()

void CbmRichRonchiAna::DoRLoc ( vector< CbmRichRonchiIntersectionData > &  data)
private

◆ DoRotation()

void CbmRichRonchiAna::DoRotation ( vector< vector< double >> &  data)
private

Definition at line 346 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DoScanLineHeight()

void CbmRichRonchiAna::DoScanLineHeight ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoSmoothLines()

void CbmRichRonchiAna::DoSmoothLines ( vector< vector< double >> &  data)
private

Definition at line 492 of file CbmRichRonchiAna.cxx.

References counter, x, and y.

Referenced by Run().

◆ DoSphere()

void CbmRichRonchiAna::DoSphere ( vector< CbmRichRonchiIntersectionData > &  intersections)
private

◆ DoSuperpose()

vector< vector< double > > CbmRichRonchiAna::DoSuperpose ( const vector< vector< double >> &  dataH,
const vector< vector< double >> &  dataV 
)
private

Definition at line 645 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DrawMirrorSegments()

void CbmRichRonchiAna::DrawMirrorSegments ( vector< CbmRichRonchiIntersectionData > &  data,
int  orderedLineX,
int  orderedLineY 
)
private

Definition at line 1285 of file CbmRichRonchiAna.cxx.

References DrawH2(), DrawOneMirrorSegment(), fDistMirrorRuling, fDistRulingCCD, and i.

Referenced by DoLocalNormal(), and DoSphere().

◆ DrawMirrorSegmentsSphere()

void CbmRichRonchiAna::DrawMirrorSegmentsSphere ( vector< CbmRichRonchiIntersectionData > &  data,
int  orderedLineX,
int  orderedLineY 
)
private

Definition at line 1408 of file CbmRichRonchiAna.cxx.

References DrawH2(), DrawOneMirrorSegment(), and i.

Referenced by DoSphere().

◆ DrawMirrorSegmentsSphereAll()

void CbmRichRonchiAna::DrawMirrorSegmentsSphereAll ( vector< CbmRichRonchiIntersectionData > &  data)
private

Definition at line 1374 of file CbmRichRonchiAna.cxx.

References DrawH2(), DrawOneMirrorSegment(), and i.

Referenced by DoSphere().

◆ DrawOneMirrorSegment()

void CbmRichRonchiAna::DrawOneMirrorSegment ( const TVector3 &  tl,
const TVector3 &  tr,
const TVector3 &  bl,
const TVector3 &  br,
int  color 
)
private

◆ DrawRLocMum()

void CbmRichRonchiAna::DrawRLocMum ( vector< CbmRichRonchiIntersectionData > &  data)
private

◆ DrawSphere()

void CbmRichRonchiAna::DrawSphere ( vector< CbmRichRonchiIntersectionData > &  data)
private

◆ DrawXYMum()

void CbmRichRonchiAna::DrawXYMum ( vector< CbmRichRonchiIntersectionData > &  data)
private

Definition at line 1160 of file CbmRichRonchiAna.cxx.

References DrawH2(), and i.

Referenced by DoLocalNormal().

◆ DrawXZProjection()

void CbmRichRonchiAna::DrawXZProjection ( vector< CbmRichRonchiIntersectionData > &  data,
int  orderedLineY,
double  scale 
)
private

Definition at line 1228 of file CbmRichRonchiAna.cxx.

References DrawH2(), fDistMirrorRuling, fDistRulingCCD, and i.

Referenced by DoLocalNormal().

◆ FillH2WithVector()

void CbmRichRonchiAna::FillH2WithVector ( TH2 *  hist,
const vector< vector< double >> &  data 
)
private

Definition at line 357 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ GetIndexForLineXLineY()

int CbmRichRonchiAna::GetIndexForLineXLineY ( int  lineX,
int  lineY,
vector< CbmRichRonchiIntersectionData > &  data 
)
private

Definition at line 1091 of file CbmRichRonchiAna.cxx.

References i.

Referenced by DoSphere(), GetMinIndexForLineX(), and GetMinIndexForLineY().

◆ GetMinIndexForLineX()

int CbmRichRonchiAna::GetMinIndexForLineX ( int  lineX,
vector< CbmRichRonchiIntersectionData > &  data 
)
private

Definition at line 1067 of file CbmRichRonchiAna.cxx.

References GetIndexForLineXLineY().

Referenced by DoSphere().

◆ GetMinIndexForLineY()

int CbmRichRonchiAna::GetMinIndexForLineY ( int  lineY,
vector< CbmRichRonchiIntersectionData > &  data 
)
private

Definition at line 1079 of file CbmRichRonchiAna.cxx.

References GetIndexForLineXLineY().

Referenced by DoSphere().

◆ operator=()

CbmRichRonchiAna& CbmRichRonchiAna::operator= ( const CbmRichRonchiAna )
private

Assignment operator.

◆ ReadTiffFile()

vector< vector< double > > CbmRichRonchiAna::ReadTiffFile ( const string &  fileName)
private

Definition at line 318 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ RotatePointImpl()

void CbmRichRonchiAna::RotatePointImpl ( TVector3 *  inPos,
TVector3 *  outPos,
Double_t  rotX,
Double_t  rotY,
TVector3 *  cV 
)
private

Definition at line 1559 of file CbmRichRonchiAna.cxx.

References cos(), sin(), x, and y.

Referenced by DoLocalNormal().

◆ Run()

◆ SetTiffFileNameH()

void CbmRichRonchiAna::SetTiffFileNameH ( const string &  fileName)
inline

Definition at line 112 of file CbmRichRonchiAna.h.

◆ SetTiffFileNameV()

void CbmRichRonchiAna::SetTiffFileNameV ( const string &  fileName)
inline

Definition at line 111 of file CbmRichRonchiAna.h.

◆ UpdateIntersectionLineInd()

void CbmRichRonchiAna::UpdateIntersectionLineInd ( vector< CbmRichRonchiIntersectionData > &  intersections,
CbmRichRonchiLineData line1,
CbmRichRonchiLineData line2,
const string &  option 
)
private

Definition at line 759 of file CbmRichRonchiAna.cxx.

References CbmRichRonchiLineData::fLineInd.

Referenced by DoOrderLines().

Member Data Documentation

◆ fCcdPixelSize

double CbmRichRonchiAna::fCcdPixelSize
private

Definition at line 122 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCenterCcdX

double CbmRichRonchiAna::fCenterCcdX
private

Definition at line 142 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCenterCcdY

double CbmRichRonchiAna::fCenterCcdY
private

Definition at line 143 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCorrection

double CbmRichRonchiAna::fCorrection
private

Definition at line 138 of file CbmRichRonchiAna.h.

◆ fDistMirrorCCD

double CbmRichRonchiAna::fDistMirrorCCD
private

Definition at line 128 of file CbmRichRonchiAna.h.

Referenced by DoDeviation(), and DoLocalNormal().

◆ fDistMirrorRuling

double CbmRichRonchiAna::fDistMirrorRuling
private

Definition at line 129 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal(), DrawMirrorSegments(), and DrawXZProjection().

◆ fDistRulingCCD

double CbmRichRonchiAna::fDistRulingCCD
private

Definition at line 127 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal(), DrawMirrorSegments(), and DrawXZProjection().

◆ fEdgeLengthCCD

double CbmRichRonchiAna::fEdgeLengthCCD
private

Definition at line 121 of file CbmRichRonchiAna.h.

◆ fImageCenterMirrorX

double CbmRichRonchiAna::fImageCenterMirrorX
private

Definition at line 145 of file CbmRichRonchiAna.h.

◆ fImageCenterMirrorY

double CbmRichRonchiAna::fImageCenterMirrorY
private

Definition at line 146 of file CbmRichRonchiAna.h.

◆ fImageWidth

double CbmRichRonchiAna::fImageWidth
private

Definition at line 124 of file CbmRichRonchiAna.h.

◆ fOffsetCCDOptAxisX

double CbmRichRonchiAna::fOffsetCCDOptAxisX
private

Definition at line 131 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fOffsetCCDOptAxisY

double CbmRichRonchiAna::fOffsetCCDOptAxisY
private

Definition at line 133 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fOffsetLEDOpticalAxisX

double CbmRichRonchiAna::fOffsetLEDOpticalAxisX
private

Definition at line 135 of file CbmRichRonchiAna.h.

◆ fOffsetLEDOpticalAxisY

double CbmRichRonchiAna::fOffsetLEDOpticalAxisY
private

Definition at line 136 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fPi

double CbmRichRonchiAna::fPi
private

Definition at line 119 of file CbmRichRonchiAna.h.

◆ fPitchGrid

double CbmRichRonchiAna::fPitchGrid
private

Definition at line 123 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fRadiusMirror

double CbmRichRonchiAna::fRadiusMirror
private

Definition at line 120 of file CbmRichRonchiAna.h.

Referenced by DoDeviation(), and DoLocalNormal().

◆ fTiffFileNameH

string CbmRichRonchiAna::fTiffFileNameH
private

Definition at line 116 of file CbmRichRonchiAna.h.

Referenced by Run().

◆ fTiffFileNameV

string CbmRichRonchiAna::fTiffFileNameV
private

Definition at line 115 of file CbmRichRonchiAna.h.

Referenced by Run().


The documentation for this class was generated from the following files: