#include <TestHistoMgr.h>
Public Member Functions | |
bool | addHisto1 (TH1F *ih) |
bool | addHisto2 (TH2F *ih) |
bool | addHistoProf1 (TProfile *ih) |
bool | addHistoProf2 (TProfile2D *ih) |
TH1F * | getHisto1 (int ih) |
TH1F * | getHisto1FromSecondFile (const char *hnam) |
TH2F * | getHisto2 (int ih) |
TProfile * | getHistoProf1 (int ih) |
TProfile2D * | getHistoProf2 (int ih) |
void | openSecondFile (const std::string &name) |
void | printComparisonResult (int ih) |
void | save (const std::string &name) |
TestHistoMgr () | |
~TestHistoMgr () | |
Private Attributes | |
TFile * | theFileRef |
mihp1 | theHistoProfs1 |
mihp2 | theHistoProfs2 |
mih1 | theHistos1 |
mih2 | theHistos2 |
Definition at line 20 of file TestHistoMgr.h.
TestHistoMgr::TestHistoMgr | ( | ) |
Definition at line 19 of file TestHistoMgr.cc.
TestHistoMgr::~TestHistoMgr | ( | ) |
Definition at line 27 of file TestHistoMgr.cc.
References theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
bool TestHistoMgr::addHisto1 | ( | TH1F * | ih | ) |
Definition at line 151 of file TestHistoMgr.cc.
References gather_cfg::cout, and theHistos1.
Referenced by MaterialBudgetHistos::book(), MaterialBudgetTrackerHistos::book(), and MaterialBudgetEcalHistos::book().
bool TestHistoMgr::addHisto2 | ( | TH2F * | ih | ) |
Definition at line 160 of file TestHistoMgr.cc.
References theHistos2.
Referenced by MaterialBudgetHistos::book(), MaterialBudgetTrackerHistos::book(), and MaterialBudgetEcalHistos::book().
bool TestHistoMgr::addHistoProf1 | ( | TProfile * | ih | ) |
Definition at line 169 of file TestHistoMgr.cc.
References gather_cfg::cout, and theHistoProfs1.
Referenced by MaterialBudgetHistos::book(), MaterialBudgetTrackerHistos::book(), and MaterialBudgetEcalHistos::book().
bool TestHistoMgr::addHistoProf2 | ( | TProfile2D * | ih | ) |
Definition at line 178 of file TestHistoMgr.cc.
References gather_cfg::cout, and theHistoProfs2.
Referenced by MaterialBudgetHistos::book(), MaterialBudgetTrackerHistos::book(), and MaterialBudgetEcalHistos::book().
TH1F * TestHistoMgr::getHisto1 | ( | int | ih | ) |
Definition at line 188 of file TestHistoMgr.cc.
References dtNoiseDBValidation_cfg::cerr, cppFunctionSkipper::exception, and theHistos1.
Referenced by MaterialBudgetHistos::fillEndTrack(), MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetEcalHistos::fillEndTrack().
TH1F * TestHistoMgr::getHisto1FromSecondFile | ( | const char * | hnam | ) |
Definition at line 247 of file TestHistoMgr.cc.
References dtNoiseDBValidation_cfg::cerr, cppFunctionSkipper::exception, and theFileRef.
Referenced by printComparisonResult().
TH2F * TestHistoMgr::getHisto2 | ( | int | ih | ) |
Definition at line 203 of file TestHistoMgr.cc.
References dtNoiseDBValidation_cfg::cerr, cppFunctionSkipper::exception, and theHistos2.
Referenced by MaterialBudgetHistos::fillEndTrack(), MaterialBudgetTrackerHistos::fillEndTrack(), MaterialBudgetEcalHistos::fillEndTrack(), and MaterialBudgetTrackerHistos::hend().
TProfile * TestHistoMgr::getHistoProf1 | ( | int | ih | ) |
Definition at line 216 of file TestHistoMgr.cc.
References dtNoiseDBValidation_cfg::cerr, cppFunctionSkipper::exception, and theHistoProfs1.
Referenced by MaterialBudgetHistos::fillEndTrack(), MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetEcalHistos::fillEndTrack().
TProfile2D * TestHistoMgr::getHistoProf2 | ( | int | ih | ) |
Definition at line 232 of file TestHistoMgr.cc.
References dtNoiseDBValidation_cfg::cerr, cppFunctionSkipper::exception, and theHistoProfs2.
Referenced by MaterialBudgetHistos::fillEndTrack(), MaterialBudgetTrackerHistos::fillEndTrack(), and MaterialBudgetEcalHistos::fillEndTrack().
void TestHistoMgr::openSecondFile | ( | const std::string & | name | ) |
void TestHistoMgr::printComparisonResult | ( | int | ih | ) |
Definition at line 92 of file TestHistoMgr.cc.
References gather_cfg::cout, getHisto1FromSecondFile(), and query::result.
void TestHistoMgr::save | ( | const std::string & | name | ) |
Definition at line 50 of file TestHistoMgr.cc.
References gather_cfg::cout, groupFilesInBlocks::fout, theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
Referenced by MaterialBudgetHistos::hend(), MaterialBudgetTrackerHistos::hend(), and MaterialBudgetEcalHistos::hend().
|
private |
Definition at line 49 of file TestHistoMgr.h.
Referenced by getHisto1FromSecondFile(), and openSecondFile().
|
private |
Definition at line 46 of file TestHistoMgr.h.
Referenced by addHistoProf1(), getHistoProf1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 47 of file TestHistoMgr.h.
Referenced by addHistoProf2(), getHistoProf2(), save(), and ~TestHistoMgr().
|
private |
Definition at line 44 of file TestHistoMgr.h.
Referenced by addHisto1(), getHisto1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 45 of file TestHistoMgr.h.
Referenced by addHisto2(), getHisto2(), save(), and ~TestHistoMgr().