Inheritance diagram for RooFitTestUnit:
Definition at line 61 of file stressRooFit.cxx.
RooFitTestUnit::RooFitTestUnit | ( | const char * | name, | |
TFile * | refFile, | |||
Bool_t | writeRef, | |||
Int_t | verbose | |||
) |
Definition at line 103 of file stressRooFit.cxx.
RooFitTestUnit::~RooFitTestUnit | ( | ) |
Definition at line 109 of file stressRooFit.cxx.
void RooFitTestUnit::setDebug | ( | Bool_t | flag | ) | [inline] |
void RooFitTestUnit::setSilentMode | ( | ) |
Definition at line 556 of file stressRooFit.cxx.
References RooFit::ERROR, i, RooMsgService::instance(), kFALSE, kTRUE, RooMsgService::numStreams(), RooMsgService::setSilentMode(), and RooMsgService::setStreamStatus().
Referenced by runTest().
void RooFitTestUnit::clearSilentMode | ( | ) |
Definition at line 566 of file stressRooFit.cxx.
References i, RooMsgService::instance(), kFALSE, kTRUE, RooMsgService::numStreams(), RooMsgService::setSilentMode(), and RooMsgService::setStreamStatus().
Referenced by runTest().
void RooFitTestUnit::regPlot | ( | RooPlot * | frame, | |
const char * | refName | |||
) |
Definition at line 113 of file stressRooFit.cxx.
References _refFile, _regPlots, and RooPlot::SetName().
Referenced by TestBasic403::testCode(), TestBasic303::testCode(), TestBasic609::testCode(), TestBasic304::testCode(), TestBasic203::testCode(), TestBasic402::testCode(), TestBasic310::testCode(), TestBasic301::testCode(), TestBasic103::testCode(), TestBasic201::testCode(), TestBasic202::testCode(), TestBasic110::testCode(), TestBasic101::testCode(), TestBasic804::testCode(), TestBasic703::testCode(), TestBasic313::testCode(), TestBasic307::testCode(), TestBasic102::testCode(), TestBasic801::testCode(), TestBasic704::testCode(), TestBasic405::testCode(), TestBasic314::testCode(), TestBasic701::testCode(), TestBasic311::testCode(), TestBasic305::testCode(), TestBasic208::testCode(), TestBasic306::testCode(), TestBasic205::testCode(), TestBasic108::testCode(), TestBasic501::testCode(), TestBasic105::testCode(), TestBasic707::testCode(), TestBasic708::testCode(), TestBasic705::testCode(), TestBasic209::testCode(), TestBasic315::testCode(), TestBasic706::testCode(), TestBasic605::testCode(), TestBasic316::testCode(), TestBasic109::testCode(), TestBasic606::testCode(), and TestBasic599::testCode().
void RooFitTestUnit::regResult | ( | RooFitResult * | r, | |
const char * | refName | |||
) |
Definition at line 124 of file stressRooFit.cxx.
References _refFile, and _regResults.
Referenced by TestBasic403::testCode(), TestBasic203::testCode(), TestBasic204::testCode(), TestBasic103::testCode(), TestBasic314::testCode(), TestBasic604::testCode(), TestBasic601::testCode(), TestBasic312::testCode(), and TestBasic602::testCode().
void RooFitTestUnit::regValue | ( | Double_t | value, | |
const char * | refName | |||
) |
Definition at line 134 of file stressRooFit.cxx.
References _refFile, and _regValues.
Referenced by TestBasic404::testCode(), TestBasic402::testCode(), TestBasic110::testCode(), TestBasic308::testCode(), TestBasic111::testCode(), and TestBasic109::testCode().
void RooFitTestUnit::regTable | ( | RooTable * | t, | |
const char * | refName | |||
) |
Definition at line 142 of file stressRooFit.cxx.
References _refFile, _regTables, and t.
Referenced by TestBasic404::testCode(), TestBasic405::testCode(), and TestBasic406::testCode().
void RooFitTestUnit::regWS | ( | RooWorkspace * | ws, | |
const char * | refName | |||
) |
Definition at line 153 of file stressRooFit.cxx.
References _refFile, and _regWS.
Referenced by TestBasic599::testCode().
void RooFitTestUnit::regTH | ( | TH1 * | h, | |
const char * | refName | |||
) |
Definition at line 164 of file stressRooFit.cxx.
References _refFile, and _regTH.
Referenced by TestBasic301::testCode(), TestBasic302::testCode(), TestBasic803::testCode(), TestBasic804::testCode(), TestBasic704::testCode(), TestBasic308::testCode(), TestBasic802::testCode(), TestBasic305::testCode(), TestBasic702::testCode(), TestBasic306::testCode(), TestBasic707::testCode(), TestBasic607::testCode(), and TestBasic705::testCode().
RooWorkspace * RooFitTestUnit::getWS | ( | const char * | refName | ) |
Definition at line 175 of file stressRooFit.cxx.
References _refFile, and TDirectoryFile::Get().
Referenced by TestBasic599::testCode().
Bool_t RooFitTestUnit::runTest | ( | ) |
Definition at line 575 of file stressRooFit.cxx.
References _verb, TDirectory::cd(), RooMsgService::clearErrorCount(), clearSilentMode(), gMemDir, gRandom, RooMsgService::instance(), kFALSE, RooRandom::randomGenerator(), runCompTests(), TRandom::SetSeed(), setSilentMode(), and testCode().
Bool_t RooFitTestUnit::runCompTests | ( | ) |
Definition at line 231 of file stressRooFit.cxx.
References _debug, _refFile, _regPlots, _regResults, _regTables, _regTH, _regValues, _regWS, _verb, _write, RooPlot::addPlotable(), areTHidentical(), TDirectoryFile::cd(), TDirectory::cd(), xmlio::Class, TNamed::Clone(), TFile::Close(), ctol(), ROOT::Math::fabs(), fctol(), RooPlot::findObject(), Form(), fptol(), TDirectoryFile::Get(), RooPlot::getAttLine(), RooPlot::getAttMarker(), TNamed::GetName(), gMemDir, htol(), i, kBlue, kDashed, kFALSE, kRed, kSolid, kTRUE, RooPlot::Print(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TH1::SetName(), vtol(), and TObject::Write().
Referenced by runTest().
Definition at line 188 of file stressRooFit.cxx.
References ROOT::Math::fabs(), TH1::GetBinContent(), TH1::GetDimension(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), htest(), htol(), i, kFALSE, kTRUE, and ntest.
Referenced by runCompTests().
virtual Bool_t RooFitTestUnit::isTestAvailable | ( | ) | [inline, virtual] |
virtual Double_t RooFitTestUnit::htol | ( | ) | [inline, virtual] |
virtual Double_t RooFitTestUnit::ctol | ( | ) | [inline, virtual] |
virtual Double_t RooFitTestUnit::fptol | ( | ) | [inline, virtual] |
virtual Double_t RooFitTestUnit::fctol | ( | ) | [inline, virtual] |
virtual Double_t RooFitTestUnit::vtol | ( | ) | [inline, virtual] |
TFile* RooFitTestUnit::_refFile [protected] |
Definition at line 90 of file stressRooFit.cxx.
Referenced by getWS(), regPlot(), regResult(), regTable(), regTH(), regValue(), regWS(), and runCompTests().
Bool_t RooFitTestUnit::_debug [protected] |
Bool_t RooFitTestUnit::_write [protected] |
Definition at line 92 of file stressRooFit.cxx.
Referenced by runCompTests(), and TestBasic599::testCode().
Int_t RooFitTestUnit::_verb [protected] |
list<pair<RooPlot*, string> > RooFitTestUnit::_regPlots [protected] |
list<pair<RooFitResult*, string> > RooFitTestUnit::_regResults [protected] |
list<pair<Double_t, string> > RooFitTestUnit::_regValues [protected] |
list<pair<RooTable*,string> > RooFitTestUnit::_regTables [protected] |
list<pair<RooWorkspace*,string> > RooFitTestUnit::_regWS [protected] |
list<pair<TH1*,string> > RooFitTestUnit::_regTH [protected] |