40class RooUnitTest :
public TNamed {
42 RooUnitTest(
const char *
name,
TFile *refFile,
bool writeRef,
Int_t verbose);
44 void setDebug(
bool flag) { _debug = flag; }
46 void clearSilentMode();
47 void regPlot(
RooPlot *frame,
const char *refName);
48 void regResult(std::unique_ptr<RooFitResult>
r,
const char *refName);
49 void regValue(
double value,
const char *refName);
50 void regTable(
RooTable *t,
const char *refName);
52 void regTH(
TH1 *
h,
const char *refName);
56 bool areTHidentical(
TH1 *htest,
TH1 *href);
58 virtual bool isTestAvailable() {
return true; }
59 virtual bool testCode() = 0;
61 virtual double htol() {
return 5
e-4; }
63 virtual double ctol() {
return 2
e-3; }
65 virtual double ctol() {
return 4
e-3; }
67 virtual double fptol() {
return 1
e-5; }
68 virtual double fctol() {
return 1
e-4; }
69 virtual double vtol() {
return 1
e-3; }
80 std::list<std::pair<RooPlot *, std::string>> _regPlots;
81 std::list<std::pair<RooFitResult *, std::string>> _regResults;
82 std::list<std::pair<double, std::string>> _regValues;
83 std::list<std::pair<RooTable *, std::string>> _regTables;
84 std::list<std::pair<RooWorkspace *, std::string>> _regWS;
85 std::list<std::pair<TH1 *, std::string>> _regTH;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Plot frame and a container for graphics objects within that frame.
Abstract interface for table objects.
Persistable container for RooFit projects.
Describe directory structure in memory.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
TH1 is the base class of all histogram classes in ROOT.
The TNamed class is the base class for all named ROOT classes.