#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 21 of file TestHistoMgr.h.
TestHistoMgr::TestHistoMgr | ( | ) |
Definition at line 18 of file TestHistoMgr.cc.
TestHistoMgr::~TestHistoMgr | ( | ) |
Definition at line 23 of file TestHistoMgr.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
bool TestHistoMgr::addHisto1 | ( | TH1F * | ih | ) |
Definition at line 108 of file TestHistoMgr.cc.
References theHistos1.
bool TestHistoMgr::addHisto2 | ( | TH2F * | ih | ) |
bool TestHistoMgr::addHistoProf1 | ( | TProfile * | ih | ) |
Definition at line 121 of file TestHistoMgr.cc.
References theHistoProfs1.
bool TestHistoMgr::addHistoProf2 | ( | TProfile2D * | ih | ) |
Definition at line 128 of file TestHistoMgr.cc.
References theHistoProfs2.
TH1F * TestHistoMgr::getHisto1 | ( | int | ih | ) |
Definition at line 135 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistos1.
TH1F * TestHistoMgr::getHisto1FromSecondFile | ( | const char * | hnam | ) |
Definition at line 184 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theFileRef.
Referenced by printComparisonResult().
TH2F * TestHistoMgr::getHisto2 | ( | int | ih | ) |
Definition at line 148 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistos2.
TProfile * TestHistoMgr::getHistoProf1 | ( | int | ih | ) |
Definition at line 160 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistoProfs1.
TProfile2D * TestHistoMgr::getHistoProf2 | ( | int | ih | ) |
Definition at line 172 of file TestHistoMgr.cc.
References cppFunctionSkipper::exception, and theHistoProfs2.
void TestHistoMgr::openSecondFile | ( | const std::string & | name | ) |
Definition at line 64 of file TestHistoMgr.cc.
References mergeVDriftHistosByStation::name, and theFileRef.
void TestHistoMgr::printComparisonResult | ( | int | ih | ) |
Definition at line 66 of file TestHistoMgr.cc.
References gather_cfg::cout, getHisto1FromSecondFile(), and mps_fire::result.
void TestHistoMgr::save | ( | const std::string & | name | ) |
Definition at line 39 of file TestHistoMgr.cc.
References groupFilesInBlocks::fout, mergeVDriftHistosByStation::name, theHistoProfs1, theHistoProfs2, theHistos1, and theHistos2.
|
private |
Definition at line 48 of file TestHistoMgr.h.
Referenced by getHisto1FromSecondFile(), and openSecondFile().
|
private |
Definition at line 45 of file TestHistoMgr.h.
Referenced by addHistoProf1(), getHistoProf1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 46 of file TestHistoMgr.h.
Referenced by addHistoProf2(), getHistoProf2(), save(), and ~TestHistoMgr().
|
private |
Definition at line 43 of file TestHistoMgr.h.
Referenced by addHisto1(), getHisto1(), save(), and ~TestHistoMgr().
|
private |
Definition at line 44 of file TestHistoMgr.h.
Referenced by addHisto2(), getHisto2(), save(), and ~TestHistoMgr().