45 cout <<
"gxy = " << gxy.getVal() << endl;
49 cout <<
"gx_Norm[x,y] = " << gxy.getVal(&nset_xy) << endl;
54 cout <<
"gx_Int[x,y] = " << igxy->
getVal() << endl;
60 cout <<
"gx_Norm[x] = " << gxy.getVal(&nset_x) << endl;
64 cout <<
"gx_Norm[y] = " << gxy.getVal(&nset_y) << endl;
70 x.setRange(
"signal", -5, 5);
71 y.setRange(
"signal", -3, 3);
77 cout <<
"gx_Int[x,y|signal]_Norm[x,y] = " << igxy_sig->
getVal() << endl;
90 new TCanvas(
"rf308_normintegration2d",
"rf308_normintegration2d", 600, 600);
91 gPad->SetLeftMargin(0.15);
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
TH1 * createHistogram(const char *varNameList, Int_t xbins=0, Int_t ybins=0, Int_t zbins=0) const
Create and fill a ROOT histogram TH1, TH2 or TH3 with the values of this function for the variables w...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooAbsReal * createIntegral(const RooArgSet &iset, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Create an object that represents the integral of the function over one or more observables listed in ...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
RooRealVar represents a variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
TH1 is the base class of all histogram classes in ROOT.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
RooCmdArg NormSet(const RooArgSet &nset)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooConstVar & RooConst(Double_t val)
RooCmdArg Binning(const RooAbsBinning &binning)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...