CbmRoot
|
#include <CbmRichGeoTestOpt.h>
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 |
CbmHistManager * | fHM |
string | fOutputDir |
Definition at line 39 of file CbmRichGeoTestOpt.h.
CbmRichGeoTestOpt::CbmRichGeoTestOpt | ( | ) |
Constructor.
Definition at line 25 of file CbmRichGeoTestOpt.cxx.
|
virtual |
Destructor.
Definition at line 27 of file CbmRichGeoTestOpt.cxx.
void CbmRichGeoTestOpt::Draw | ( | Option_t * | option = "" | ) |
Definition at line 395 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 ) |
Definition at line 349 of file CbmRichGeoTestOpt.cxx.
Referenced by 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().
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 185 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 272 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 146 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 215 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 384 of file CbmRichGeoTestOpt.cxx.
References fDrawReference.
Referenced by DrawMeanEff2D(), and DrawMeanRms2D().
void CbmRichGeoTestOpt::DrawReferenceLineH1 | ( | double | value | ) |
Definition at line 374 of file CbmRichGeoTestOpt.cxx.
References fDrawReference.
Referenced by DrawMeanEff(), and DrawMeanRms().
void CbmRichGeoTestOpt::DrawTextLabelsH2 | ( | TH2 * | h, |
int | precision ) |
Definition at line 322 of file CbmRichGeoTestOpt.cxx.
References Cbm::NumberToString().
Referenced by DrawMeanEff2D(), and DrawMeanRms2D().
string CbmRichGeoTestOpt::GetFileEnumName | ( | CbmRichGeoTestOptFileEnum | fileEnum | ) |
Definition at line 56 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 43 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 41 of file CbmRichGeoTestOpt.cxx.
References fGeoTestBoxPathes.
Referenced by Draw(), DrawMeanEff2D(), and DrawMeanRms2D().
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().
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().
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().
|
inline |
Definition at line 88 of file CbmRichGeoTestOpt.h.
References fDrawReference.
void CbmRichGeoTestOpt::SetFilePathes | ( | vector< string > | geoTestPathes, |
vector< string > | geoTestOmega3Pathes, | ||
vector< string > | geoTestOmega8Pathes, | ||
vector< string > | urqmdTestPathes, | ||
vector< string > | recoQaBoxPathes, | ||
vector< string > | recoQaUrqmdPathes ) |
Definition at line 29 of file CbmRichGeoTestOpt.cxx.
References fGeoTestBoxPathes, fGeoTestOmega3Pathes, fGeoTestOmega8Pathes, fRecoQaBoxPathes, fRecoQaUrqmdPathes, and fUrqmdTestPathes.
|
inline |
Definition at line 84 of file CbmRichGeoTestOpt.h.
References fOutputDir.
|
inline |
Definition at line 86 of file CbmRichGeoTestOpt.h.
References fReferenceInd.
|
private |
Definition at line 99 of file CbmRichGeoTestOpt.h.
Referenced by DrawReferenceBoxH2(), DrawReferenceLineH1(), and SetDrawReference().
|
private |
Definition at line 91 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), GetNofFiles(), and SetFilePathes().
|
private |
Definition at line 92 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 93 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 101 of file CbmRichGeoTestOpt.h.
Referenced by Draw(), DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), and DrawMeanRms2D().
|
private |
Definition at line 103 of file CbmRichGeoTestOpt.h.
Referenced by Draw(), and SetOutputDir().
|
private |
Definition at line 95 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 96 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().
|
private |
Definition at line 98 of file CbmRichGeoTestOpt.h.
Referenced by DrawMeanEff(), DrawMeanEff2D(), DrawMeanRms(), DrawMeanRms2D(), and SetReferenceInd().
|
private |
Definition at line 94 of file CbmRichGeoTestOpt.h.
Referenced by GetFilePath(), and SetFilePathes().