CbmRoot
|
#include <CbmRichGeoTestOpt.h>
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 |
CbmHistManager * | fHM |
string | fOutputDir |
Definition at line 34 of file CbmRichGeoTestOpt.h.
CbmRichGeoTestOpt::CbmRichGeoTestOpt | ( | ) |
Constructor.
Definition at line 21 of file CbmRichGeoTestOpt.cxx.
|
virtual |
Destructor.
Definition at line 24 of file CbmRichGeoTestOpt.cxx.
void CbmRichGeoTestOpt::Draw | ( | Option_t * | option = "" | ) |
Definition at line 438 of file CbmRichGeoTestOpt.cxx.
References DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), DrawMeanRms2D(), fHM, fOutputDir, GetNofFiles(), kGeoTestBoxFile, kGeoTestOmega3File, kGeoTestOmega8File, kH1MeanHist, kH2MeanHist, kH2RmsHist, kHEntriesHist, kRecoQaBoxFile, kRecoQaUrqmdFile, kUrqmdTestFile, CbmHistManager::SaveCanvasToImage(), and SetDefaultDrawStyle().
void CbmRichGeoTestOpt::DrawLines | ( | bool | drawCamTilt, |
bool | drawCamY, | ||
double | minY, | ||
double | maxY | ||
) |
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().
void CbmRichGeoTestOpt::DrawMeanEff | ( | CbmRichGeoTestOptFileEnum | fileEnum, |
const string & | histName1, | ||
const string & | histName2, | ||
const string & | titleY, | ||
double | minY, | ||
double | maxY, | ||
int | nofParts, | ||
int | nofFilesPart, | ||
double | effCoeff | ||
) |
Definition at line 167 of file CbmRichGeoTestOpt.cxx.
References CbmHistManager::Create1(), CbmHistManager::CreateCanvas(), DrawManyH1(), DrawReferenceLineH1(), fHM, fReferenceInd, GetFileEnumName(), CbmHistManager::H1(), and HEntries().
Referenced by Draw().
void CbmRichGeoTestOpt::DrawMeanEff2D | ( | CbmRichGeoTestOptFileEnum | fileEnum, |
const string & | histName1, | ||
const string & | histName2, | ||
const string & | titleZ, | ||
double | minZ, | ||
double | maxZ, | ||
double | effCoeff, | ||
int | precision | ||
) |
Definition at line 281 of file CbmRichGeoTestOpt.cxx.
References CbmHistManager::Create2(), CbmHistManager::CreateCanvas(), DrawH2(), DrawReferenceBoxH2(), DrawTextLabelsH2(), DrawTextOnPad(), fHM, fReferenceInd, GetFileEnumName(), GetNofFiles(), CbmHistManager::H2(), HEntries(), and kLinear.
Referenced by Draw().
void CbmRichGeoTestOpt::DrawMeanRms | ( | CbmRichGeoTestOptFileEnum | fileEnum, |
const string & | histName, | ||
CbmRichGeoTestOptHistEnum | histEnum, | ||
const string & | titleY, | ||
double | minY, | ||
double | maxY, | ||
int | nofParts, | ||
int | nofFilesPart | ||
) |
Definition at line 118 of file CbmRichGeoTestOpt.cxx.
References CbmHistManager::Create1(), CbmHistManager::CreateCanvas(), DrawManyH1(), DrawReferenceLineH1(), fHM, fReferenceInd, GetFileEnumName(), CbmHistManager::H1(), H1MeanRms(), H2ProjYMeanRms(), HEntries(), kH1MeanHist, kH1RmsHist, kH2MeanHist, kH2RmsHist, and kHEntriesHist.
Referenced by Draw().
void CbmRichGeoTestOpt::DrawMeanRms2D | ( | CbmRichGeoTestOptFileEnum | fileEnum, |
const string & | histName, | ||
CbmRichGeoTestOptHistEnum | histEnum, | ||
const string & | titleZ, | ||
double | minZ, | ||
double | maxZ, | ||
int | precision | ||
) |
Definition at line 207 of file CbmRichGeoTestOpt.cxx.
References CbmHistManager::Create2(), CbmHistManager::CreateCanvas(), DrawH2(), DrawReferenceBoxH2(), DrawTextLabelsH2(), DrawTextOnPad(), fHM, fReferenceInd, GetFileEnumName(), GetNofFiles(), H1MeanRms(), CbmHistManager::H2(), H2ProjYMeanRms(), HEntries(), kH1MeanHist, kH1RmsHist, kH2MeanHist, kH2RmsHist, kHEntriesHist, and kLinear.
Referenced by Draw().
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().
void CbmRichGeoTestOpt::DrawReferenceLineH1 | ( | double | value | ) |
Definition at line 413 of file CbmRichGeoTestOpt.cxx.
References fDrawReference.
Referenced by DrawMeanEff(), and DrawMeanRms().
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().
string CbmRichGeoTestOpt::GetFileEnumName | ( | CbmRichGeoTestOptFileEnum | fileEnum | ) |
Definition at line 55 of file CbmRichGeoTestOpt.cxx.
References kGeoTestBoxFile, kGeoTestOmega3File, kGeoTestOmega8File, kRecoQaBoxFile, kRecoQaUrqmdFile, and kUrqmdTestFile.
Referenced by DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().
string CbmRichGeoTestOpt::GetFilePath | ( | CbmRichGeoTestOptFileEnum | fileType, |
int | iFile | ||
) |
Definition at line 42 of file CbmRichGeoTestOpt.cxx.
References fGeoTestBoxPathes, fGeoTestOmega3Pathes, fGeoTestOmega8Pathes, fRecoQaBoxPathes, fRecoQaUrqmdPathes, fUrqmdTestPathes, kGeoTestBoxFile, kGeoTestOmega3File, kGeoTestOmega8File, kRecoQaBoxFile, kRecoQaUrqmdFile, and kUrqmdTestFile.
Referenced by H1MeanRms(), H2ProjYMeanRms(), and HEntries().
int CbmRichGeoTestOpt::GetNofFiles | ( | ) |
Definition at line 40 of file CbmRichGeoTestOpt.cxx.
References fGeoTestBoxPathes.
Referenced by Draw(), DrawMeanEff2D(), and DrawMeanRms2D().
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().
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().
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().
|
inline |
Definition at line 122 of file CbmRichGeoTestOpt.h.
void CbmRichGeoTestOpt::SetFilePathes | ( | vector< string > | geoTestPathes, |
vector< string > | geoTestOmega3Pathes, | ||
vector< string > | geoTestOmega8Pathes, | ||
vector< string > | urqmdTestPathes, | ||
vector< string > | recoQaBoxPathes, | ||
vector< string > | recoQaUrqmdPathes | ||
) |
Definition at line 26 of file CbmRichGeoTestOpt.cxx.
References fGeoTestBoxPathes, fGeoTestOmega3Pathes, fGeoTestOmega8Pathes, fRecoQaBoxPathes, fRecoQaUrqmdPathes, and fUrqmdTestPathes.
|
inline |
Definition at line 118 of file CbmRichGeoTestOpt.h.
|
inline |
Definition at line 120 of file CbmRichGeoTestOpt.h.
|
private |
Definition at line 133 of file CbmRichGeoTestOpt.h.
Referenced by DrawReferenceBoxH2(), and DrawReferenceLineH1().
|
private |
Definition at line 125 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), GetNofFiles(), and SetFilePathes().
|
private |
Definition at line 126 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 127 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 135 of file CbmRichGeoTestOpt.h.
Referenced by Draw(), DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().
|
private |
Definition at line 137 of file CbmRichGeoTestOpt.h.
Referenced by Draw().
|
private |
Definition at line 129 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 130 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 132 of file CbmRichGeoTestOpt.h.
Referenced by DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().
|
private |
Definition at line 128 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().