50 new TCanvas(
"rf903_numintcache",
"rf903_numintcache", 600, 600);
51 hhcache->createHistogram(
"a")->Draw();
54 Error(
"rf903_numintcache",
"Cached histogram is not existing in workspace");
63 std::unique_ptr<RooDataSet>
d{
w1->pdf(
"model")->generate({*
w1->var(
"x"), *
w1->var(
"y"), *
w1->var(
"z")}, 1000)};
74 auto canv =
new TCanvas(
"rf903_numintcache",
"rf903_numintcache", 600, 600);
99 w->factory(
"EXPR::model('1/((x-a)*(x-a)+0.01)+1/((y-a)*(y-a)+0.01)+1/"
100 "((z-a)*(z-a)+0.01)',x[-1,1],y[-1,1],z[-1,1],a[-5,5])");
111 w->pdf(
"model")->setStringAttribute(
"CACHEPARMINT",
"x:y:z");
116 w->writeToFile(
"rf903_numintcache.root");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Option_t Option_t TPoint TPoint const char mode
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold N-dimensional binned data.
Plot frame and a container for graphics objects within that frame.
Persistable container for RooFit projects.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
RooCmdArg PrintLevel(Int_t code)
RooCmdArg Verbose(bool flag=true)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...