#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 | |
std::unique_ptr< TFile > | theFileRef |
mihp1 | theHistoProfs1 |
mihp2 | theHistoProfs2 |
mih1 | theHistos1 |
mih2 | theHistos2 |
Definition at line 22 of file TestHistoMgr.h.
TestHistoMgr::TestHistoMgr | ( | ) |
Definition at line 18 of file TestHistoMgr.cc.
TestHistoMgr::~TestHistoMgr | ( | ) |
Definition at line 24 of file TestHistoMgr.cc.
References theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
bool TestHistoMgr::addHisto1 | ( | TH1F * | ih | ) |
Definition at line 122 of file TestHistoMgr.cc.
References theHistos1.
bool TestHistoMgr::addHisto2 | ( | TH2F * | ih | ) |
bool TestHistoMgr::addHistoProf1 | ( | TProfile * | ih | ) |
Definition at line 138 of file TestHistoMgr.cc.
References theHistoProfs1.
bool TestHistoMgr::addHistoProf2 | ( | TProfile2D * | ih | ) |
Definition at line 146 of file TestHistoMgr.cc.
References theHistoProfs2.
TH1F * TestHistoMgr::getHisto1 | ( | int | ih | ) |
Definition at line 155 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistos1.
TH1F * TestHistoMgr::getHisto1FromSecondFile | ( | const char * | hnam | ) |
Definition at line 209 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theFileRef.
Referenced by printComparisonResult().
TH2F * TestHistoMgr::getHisto2 | ( | int | ih | ) |
Definition at line 169 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistos2.
TProfile * TestHistoMgr::getHistoProf1 | ( | int | ih | ) |
Definition at line 182 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistoProfs1.
TProfile2D * TestHistoMgr::getHistoProf2 | ( | int | ih | ) |
Definition at line 196 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistoProfs2.
void TestHistoMgr::openSecondFile | ( | const std::string & | name | ) |
void TestHistoMgr::printComparisonResult | ( | int | ih | ) |
Definition at line 77 of file TestHistoMgr.cc.
References mixOne_premix_on_sim_cfi::comparator, gather_cfg::cout, getHisto1FromSecondFile(), and mps_fire::result.
void TestHistoMgr::save | ( | const std::string & | name | ) |
Definition at line 41 of file TestHistoMgr.cc.
References groupFilesInBlocks::fout, theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
|
private |
Definition at line 51 of file TestHistoMgr.h.
Referenced by getHisto1FromSecondFile(), and openSecondFile().
|
private |
Definition at line 48 of file TestHistoMgr.h.
Referenced by addHistoProf1(), getHistoProf1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 49 of file TestHistoMgr.h.
Referenced by addHistoProf2(), getHistoProf2(), save(), and ~TestHistoMgr().
|
private |
Definition at line 46 of file TestHistoMgr.h.
Referenced by addHisto1(), getHisto1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 47 of file TestHistoMgr.h.
Referenced by addHisto2(), getHisto2(), save(), and ~TestHistoMgr().