CbmRoot
Loading...
Searching...
No Matches
CbmRichGeoTestOpt Class Reference

#include <CbmRichGeoTestOpt.h>

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

Public Member Functions

 CbmRichGeoTestOpt ()
 Constructor.
 
virtual ~CbmRichGeoTestOpt ()
 Destructor.
 
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 39 of file CbmRichGeoTestOpt.h.

Constructor & Destructor Documentation

◆ CbmRichGeoTestOpt()

CbmRichGeoTestOpt::CbmRichGeoTestOpt ( )

Constructor.

Definition at line 25 of file CbmRichGeoTestOpt.cxx.

◆ ~CbmRichGeoTestOpt()

CbmRichGeoTestOpt::~CbmRichGeoTestOpt ( )
virtual

Destructor.

Definition at line 27 of file CbmRichGeoTestOpt.cxx.

Member Function Documentation

◆ Draw()

◆ DrawLines()

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

Definition at line 349 of file CbmRichGeoTestOpt.cxx.

Referenced by DrawManyH1().

◆ DrawManyH1()

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

Definition at line 337 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 384 of file CbmRichGeoTestOpt.cxx.

References fDrawReference.

Referenced by DrawMeanEff2D(), and DrawMeanRms2D().

◆ DrawReferenceLineH1()

void CbmRichGeoTestOpt::DrawReferenceLineH1 ( double value)

Definition at line 374 of file CbmRichGeoTestOpt.cxx.

References fDrawReference.

Referenced by DrawMeanEff(), and DrawMeanRms().

◆ DrawTextLabelsH2()

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

Definition at line 322 of file CbmRichGeoTestOpt.cxx.

References Cbm::NumberToString().

Referenced by DrawMeanEff2D(), and DrawMeanRms2D().

◆ GetFileEnumName()

string CbmRichGeoTestOpt::GetFileEnumName ( CbmRichGeoTestOptFileEnum fileEnum)

◆ GetFilePath()

◆ GetNofFiles()

int CbmRichGeoTestOpt::GetNofFiles ( )

Definition at line 41 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 )

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 69 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

Referenced by DrawMeanRms(), and DrawMeanRms2D().

◆ H2ProjYMeanRms()

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

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 94 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

Referenced by DrawMeanRms(), and DrawMeanRms2D().

◆ HEntries()

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

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 121 of file CbmRichGeoTestOpt.cxx.

References GetFilePath().

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

◆ SetDrawReference()

void CbmRichGeoTestOpt::SetDrawReference ( bool drawRef)
inline

Definition at line 88 of file CbmRichGeoTestOpt.h.

References fDrawReference.

◆ 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 84 of file CbmRichGeoTestOpt.h.

References fOutputDir.

◆ SetReferenceInd()

void CbmRichGeoTestOpt::SetReferenceInd ( int refInd)
inline

Definition at line 86 of file CbmRichGeoTestOpt.h.

References fReferenceInd.

Member Data Documentation

◆ fDrawReference

bool CbmRichGeoTestOpt::fDrawReference
private

Definition at line 99 of file CbmRichGeoTestOpt.h.

Referenced by DrawReferenceBoxH2(), DrawReferenceLineH1(), and SetDrawReference().

◆ fGeoTestBoxPathes

vector<string> CbmRichGeoTestOpt::fGeoTestBoxPathes
private

Definition at line 91 of file CbmRichGeoTestOpt.h.

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

◆ fGeoTestOmega3Pathes

vector<string> CbmRichGeoTestOpt::fGeoTestOmega3Pathes
private

Definition at line 92 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fGeoTestOmega8Pathes

vector<string> CbmRichGeoTestOpt::fGeoTestOmega8Pathes
private

Definition at line 93 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fHM

CbmHistManager* CbmRichGeoTestOpt::fHM
private

Definition at line 101 of file CbmRichGeoTestOpt.h.

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

◆ fOutputDir

string CbmRichGeoTestOpt::fOutputDir
private

Definition at line 103 of file CbmRichGeoTestOpt.h.

Referenced by Draw(), and SetOutputDir().

◆ fRecoQaBoxPathes

vector<string> CbmRichGeoTestOpt::fRecoQaBoxPathes
private

Definition at line 95 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fRecoQaUrqmdPathes

vector<string> CbmRichGeoTestOpt::fRecoQaUrqmdPathes
private

Definition at line 96 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().

◆ fReferenceInd

int CbmRichGeoTestOpt::fReferenceInd
private

◆ fUrqmdTestPathes

vector<string> CbmRichGeoTestOpt::fUrqmdTestPathes
private

Definition at line 94 of file CbmRichGeoTestOpt.h.

Referenced by GetFilePath(), and SetFilePathes().


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