CbmRoot
CbmRichGeoTestOpt Class Reference

#include <CbmRichGeoTestOpt.h>

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

Public Member Functions

 CbmRichGeoTestOpt ()
 Constructor. More...
 
virtual ~CbmRichGeoTestOpt ()
 Destructor. More...
 
void SetFilePathes (vector< string > geoTestPathes, vector< string > geoTestOmega3Pathes, vector< string > geoTestOmega8Pathes, vector< string > urqmdTestPathes, vector< string > recoQaBoxPathes, vector< string > recoQaUrqmdPathes)
 
void Draw (Option_t *option="")
 
string GetFilePath (CbmRichGeoTestOptFileEnum fileType, int iFile)
 
int GetNofFiles ()
 
string GetFileEnumName (CbmRichGeoTestOptFileEnum fileEnum)
 
pair< double, double > H1MeanRms (CbmRichGeoTestOptFileEnum fileType, int iFile, const string &histName)
 
pair< double, double > H2ProjYMeanRms (CbmRichGeoTestOptFileEnum fileType, int iFile, const string &histName)
 
double HEntries (CbmRichGeoTestOptFileEnum fileEnum, int iFile, const string &histName)
 
void DrawMeanRms (CbmRichGeoTestOptFileEnum fileEnum, const string &histName, CbmRichGeoTestOptHistEnum histEnum, const string &titleY, double minY, double maxY, int nofParts, int nofFilesPart)
 
void DrawMeanEff (CbmRichGeoTestOptFileEnum fileEnum, const string &histName1, const string &histName2, const string &titleY, double minY, double maxY, int nofParts, int nofFilesPart, double effCoeff)
 
void DrawLines (bool drawCamTilt, bool drawCamY, double minY, double maxY)
 
void DrawManyH1 (const vector< TH1 * > &hist, const vector< string > &legend, double minY, double maxY)
 
void DrawMeanRms2D (CbmRichGeoTestOptFileEnum fileEnum, const string &histName, CbmRichGeoTestOptHistEnum histEnum, const string &titleZ, double minZ, double maxZ, int precision)
 
void DrawMeanEff2D (CbmRichGeoTestOptFileEnum fileEnum, const string &histName1, const string &histName2, const string &titleZ, double minZ, double maxZ, double effCoeff, int precision)
 
void DrawTextLabelsH2 (TH2 *h, int precision)
 
void DrawReferenceLineH1 (double value)
 
void DrawReferenceBoxH2 (double centerX, double centerY, double widthX, double widthY)
 
void SetOutputDir (const string &outDir)
 
void SetReferenceInd (int refInd)
 
void SetDrawReference (bool drawRef)
 

Private Attributes

vector< string > fGeoTestBoxPathes
 
vector< string > fGeoTestOmega3Pathes
 
vector< string > fGeoTestOmega8Pathes
 
vector< string > fUrqmdTestPathes
 
vector< string > fRecoQaBoxPathes
 
vector< string > fRecoQaUrqmdPathes
 
int fReferenceInd
 
bool fDrawReference
 
CbmHistManagerfHM
 
string fOutputDir
 

Detailed Description

Definition at line 34 of file CbmRichGeoTestOpt.h.

Constructor & Destructor Documentation

◆ CbmRichGeoTestOpt()

CbmRichGeoTestOpt::CbmRichGeoTestOpt ( )

Constructor.

Definition at line 21 of file CbmRichGeoTestOpt.cxx.

◆ ~CbmRichGeoTestOpt()

CbmRichGeoTestOpt::~CbmRichGeoTestOpt ( )
virtual

Destructor.

Definition at line 24 of file CbmRichGeoTestOpt.cxx.

Member Function Documentation

◆ Draw()

◆ DrawLines()

void CbmRichGeoTestOpt::DrawLines ( bool  drawCamTilt,
bool  drawCamY,
double  minY,
double  maxY 
)

Definition at line 386 of file CbmRichGeoTestOpt.cxx.

References i.

Referenced by DrawManyH1().

◆ DrawManyH1()

void CbmRichGeoTestOpt::DrawManyH1 ( const vector< TH1 * > &  hist,
const vector< string > &  legend,
double  minY,
double  maxY 
)

Definition at line 363 of file CbmRichGeoTestOpt.cxx.

References DrawH1(), DrawLines(), and kLinear.

Referenced by DrawMeanEff(), and DrawMeanRms().

◆ DrawMeanEff()

void CbmRichGeoTestOpt::DrawMeanEff ( CbmRichGeoTestOptFileEnum  fileEnum,
const string &  histName1,
const string &  histName2,
const string &  titleY,
double  minY,
double  maxY,
int  nofParts,
int  nofFilesPart,
double  effCoeff 
)

◆ DrawMeanEff2D()

void CbmRichGeoTestOpt::DrawMeanEff2D ( CbmRichGeoTestOptFileEnum  fileEnum,
const string &  histName1,
const string &  histName2,
const string &  titleZ,
double  minZ,
double  maxZ,
double  effCoeff,
int  precision 
)

◆ DrawMeanRms()

void CbmRichGeoTestOpt::DrawMeanRms ( CbmRichGeoTestOptFileEnum  fileEnum,
const string &  histName,
CbmRichGeoTestOptHistEnum  histEnum,
const string &  titleY,
double  minY,
double  maxY,
int  nofParts,
int  nofFilesPart 
)

◆ DrawMeanRms2D()

void CbmRichGeoTestOpt::DrawMeanRms2D ( CbmRichGeoTestOptFileEnum  fileEnum,
const string &  histName,
CbmRichGeoTestOptHistEnum  histEnum,
const string &  titleZ,
double  minZ,
double  maxZ,
int  precision 
)

◆ DrawReferenceBoxH2()

void CbmRichGeoTestOpt::DrawReferenceBoxH2 ( double  centerX,
double  centerY,
double  widthX,
double  widthY 
)

Definition at line 422 of file CbmRichGeoTestOpt.cxx.

References fDrawReference.

Referenced by DrawMeanEff2D(), and DrawMeanRms2D().

◆ DrawReferenceLineH1()

void CbmRichGeoTestOpt::DrawReferenceLineH1 ( double  value)

Definition at line 413 of file CbmRichGeoTestOpt.cxx.

References fDrawReference.

Referenced by DrawMeanEff(), and DrawMeanRms().

◆ DrawTextLabelsH2()

void CbmRichGeoTestOpt::DrawTextLabelsH2 ( TH2 *  h,
int  precision 
)

Definition at line 347 of file CbmRichGeoTestOpt.cxx.

References i, and Cbm::NumberToString().

Referenced by DrawMeanEff2D(), and DrawMeanRms2D().

◆ GetFileEnumName()

string CbmRichGeoTestOpt::GetFileEnumName ( CbmRichGeoTestOptFileEnum  fileEnum)

◆ GetFilePath()

◆ GetNofFiles()

int CbmRichGeoTestOpt::GetNofFiles ( )

Definition at line 40 of file CbmRichGeoTestOpt.cxx.

References fGeoTestBoxPathes.

Referenced by Draw(), DrawMeanEff2D(), and DrawMeanRms2D().

◆ H1MeanRms()

pair< double, double > CbmRichGeoTestOpt::H1MeanRms ( CbmRichGeoTestOptFileEnum  fileType,
int  iFile,
const string &  histName 
)

Definition at line 68 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

Referenced by DrawMeanRms(), and DrawMeanRms2D().

◆ H2ProjYMeanRms()

pair< double, double > CbmRichGeoTestOpt::H2ProjYMeanRms ( CbmRichGeoTestOptFileEnum  fileType,
int  iFile,
const string &  histName 
)

Definition at line 85 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

Referenced by DrawMeanRms(), and DrawMeanRms2D().

◆ HEntries()

double CbmRichGeoTestOpt::HEntries ( CbmRichGeoTestOptFileEnum  fileEnum,
int  iFile,
const string &  histName 
)

Definition at line 102 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

Referenced by DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().

◆ SetDrawReference()

void CbmRichGeoTestOpt::SetDrawReference ( bool  drawRef)
inline

Definition at line 122 of file CbmRichGeoTestOpt.h.

◆ SetFilePathes()

void CbmRichGeoTestOpt::SetFilePathes ( vector< string >  geoTestPathes,
vector< string >  geoTestOmega3Pathes,
vector< string >  geoTestOmega8Pathes,
vector< string >  urqmdTestPathes,
vector< string >  recoQaBoxPathes,
vector< string >  recoQaUrqmdPathes 
)

◆ SetOutputDir()

void CbmRichGeoTestOpt::SetOutputDir ( const string &  outDir)
inline

Definition at line 118 of file CbmRichGeoTestOpt.h.

◆ SetReferenceInd()

void CbmRichGeoTestOpt::SetReferenceInd ( int  refInd)
inline

Definition at line 120 of file CbmRichGeoTestOpt.h.

Member Data Documentation

◆ fDrawReference

bool CbmRichGeoTestOpt::fDrawReference
private

Definition at line 133 of file CbmRichGeoTestOpt.h.

Referenced by DrawReferenceBoxH2(), and DrawReferenceLineH1().

◆ fGeoTestBoxPathes

vector<string> CbmRichGeoTestOpt::fGeoTestBoxPathes
private

Definition at line 125 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), GetNofFiles(), and SetFilePathes().

◆ fGeoTestOmega3Pathes

vector<string> CbmRichGeoTestOpt::fGeoTestOmega3Pathes
private

Definition at line 126 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fGeoTestOmega8Pathes

vector<string> CbmRichGeoTestOpt::fGeoTestOmega8Pathes
private

Definition at line 127 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fHM

CbmHistManager* CbmRichGeoTestOpt::fHM
private

Definition at line 135 of file CbmRichGeoTestOpt.h.

Referenced by Draw(), DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().

◆ fOutputDir

string CbmRichGeoTestOpt::fOutputDir
private

Definition at line 137 of file CbmRichGeoTestOpt.h.

Referenced by Draw().

◆ fRecoQaBoxPathes

vector<string> CbmRichGeoTestOpt::fRecoQaBoxPathes
private

Definition at line 129 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fRecoQaUrqmdPathes

vector<string> CbmRichGeoTestOpt::fRecoQaUrqmdPathes
private

Definition at line 130 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fReferenceInd

int CbmRichGeoTestOpt::fReferenceInd
private

Definition at line 132 of file CbmRichGeoTestOpt.h.

Referenced by DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().

◆ fUrqmdTestPathes

vector<string> CbmRichGeoTestOpt::fUrqmdTestPathes
private

Definition at line 128 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().


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