CbmRoot
Loading...
Searching...
No Matches
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.
 
CbmRichRonchiAnaoperator= (const CbmRichRonchiAna &)
 Assignment operator.
 

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 109 of file CbmRichRonchiAna.h.

Constructor & Destructor Documentation

◆ CbmRichRonchiAna() [1/2]

CbmRichRonchiAna::CbmRichRonchiAna ( )

Definition at line 33 of file CbmRichRonchiAna.cxx.

◆ ~CbmRichRonchiAna()

CbmRichRonchiAna::~CbmRichRonchiAna ( )
virtual

Definition at line 70 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 896 of file CbmRichRonchiAna.cxx.

References DrawH2(), fDistMirrorCCD, fRadiusMirror, 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 428 of file CbmRichRonchiAna.cxx.

References x, and y.

Referenced by Run().

◆ DoLocalNormal()

◆ DoMeanIntensityY()

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

Definition at line 292 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 548 of file CbmRichRonchiAna.cxx.

References AreTwoSegmentsSameLine(), and UpdateIntersectionLineInd().

Referenced by Run().

◆ DoPeakFinderY()

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

Definition at line 346 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 265 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 396 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 533 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 1011 of file CbmRichRonchiAna.cxx.

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

Referenced by DoLocalNormal(), and DoSphere().

◆ DrawMirrorSegmentsSphere()

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

Definition at line 1079 of file CbmRichRonchiAna.cxx.

References DrawH2(), and DrawOneMirrorSegment().

Referenced by DoSphere().

◆ DrawMirrorSegmentsSphereAll()

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

Definition at line 1062 of file CbmRichRonchiAna.cxx.

References DrawH2(), and DrawOneMirrorSegment().

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 935 of file CbmRichRonchiAna.cxx.

References DrawH2().

Referenced by DoLocalNormal().

◆ DrawXZProjection()

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

Definition at line 972 of file CbmRichRonchiAna.cxx.

References DrawH2(), fDistMirrorRuling, and fDistRulingCCD.

Referenced by DoLocalNormal().

◆ FillH2WithVector()

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

Definition at line 277 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 887 of file CbmRichRonchiAna.cxx.

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

◆ GetMinIndexForLineX()

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

Definition at line 865 of file CbmRichRonchiAna.cxx.

References GetIndexForLineXLineY().

Referenced by DoSphere().

◆ GetMinIndexForLineY()

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

Definition at line 876 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 236 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 1192 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 118 of file CbmRichRonchiAna.h.

References fTiffFileNameH.

◆ SetTiffFileNameV()

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

Definition at line 117 of file CbmRichRonchiAna.h.

References fTiffFileNameV.

◆ UpdateIntersectionLineInd()

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

Definition at line 626 of file CbmRichRonchiAna.cxx.

References CbmRichRonchiLineData::fLineInd.

Referenced by DoOrderLines().

Member Data Documentation

◆ fCcdPixelSize

double CbmRichRonchiAna::fCcdPixelSize
private

Definition at line 128 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCenterCcdX

double CbmRichRonchiAna::fCenterCcdX
private

Definition at line 143 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCenterCcdY

double CbmRichRonchiAna::fCenterCcdY
private

Definition at line 144 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fCorrection

double CbmRichRonchiAna::fCorrection
private

Definition at line 140 of file CbmRichRonchiAna.h.

◆ fDistMirrorCCD

double CbmRichRonchiAna::fDistMirrorCCD
private

Definition at line 134 of file CbmRichRonchiAna.h.

Referenced by DoDeviation(), and DoLocalNormal().

◆ fDistMirrorRuling

double CbmRichRonchiAna::fDistMirrorRuling
private

Definition at line 135 of file CbmRichRonchiAna.h.

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

◆ fDistRulingCCD

double CbmRichRonchiAna::fDistRulingCCD
private

Definition at line 133 of file CbmRichRonchiAna.h.

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

◆ fEdgeLengthCCD

double CbmRichRonchiAna::fEdgeLengthCCD
private

Definition at line 127 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 130 of file CbmRichRonchiAna.h.

◆ fOffsetCCDOptAxisX

double CbmRichRonchiAna::fOffsetCCDOptAxisX
private

Definition at line 136 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fOffsetCCDOptAxisY

double CbmRichRonchiAna::fOffsetCCDOptAxisY
private

Definition at line 137 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fOffsetLEDOpticalAxisX

double CbmRichRonchiAna::fOffsetLEDOpticalAxisX
private

Definition at line 138 of file CbmRichRonchiAna.h.

◆ fOffsetLEDOpticalAxisY

double CbmRichRonchiAna::fOffsetLEDOpticalAxisY
private

Definition at line 139 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fPi

double CbmRichRonchiAna::fPi
private

Definition at line 125 of file CbmRichRonchiAna.h.

◆ fPitchGrid

double CbmRichRonchiAna::fPitchGrid
private

Definition at line 129 of file CbmRichRonchiAna.h.

Referenced by DoLocalNormal().

◆ fRadiusMirror

double CbmRichRonchiAna::fRadiusMirror
private

Definition at line 126 of file CbmRichRonchiAna.h.

Referenced by DoDeviation(), and DoLocalNormal().

◆ fTiffFileNameH

string CbmRichRonchiAna::fTiffFileNameH
private

Definition at line 122 of file CbmRichRonchiAna.h.

Referenced by Run(), and SetTiffFileNameH().

◆ fTiffFileNameV

string CbmRichRonchiAna::fTiffFileNameV
private

Definition at line 121 of file CbmRichRonchiAna.h.

Referenced by Run(), and SetTiffFileNameV().


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