29 void rf308_normintegration2d()
51 cout <<
"gxy = " << gxy.getVal() << endl ;
55 cout <<
"gx_Norm[x,y] = " << gxy.getVal(&nset_xy) << endl ;
60 cout <<
"gx_Int[x,y] = " << igxy->
getVal() << endl ;
66 cout <<
"gx_Norm[x] = " << gxy.getVal(&nset_x) << endl ;
70 cout <<
"gx_Norm[y] = " << gxy.getVal(&nset_y) << endl ;
78 x.setRange(
"signal",-5,5) ;
79 y.setRange(
"signal",-3,3) ;
85 cout <<
"gx_Int[x,y|signal]_Norm[x,y] = " << igxy_sig->
getVal() << endl ;
101 new TCanvas(
"rf308_normintegration2d",
"rf308_normintegration2d",600,600) ;
103 hh_cdf->
Draw(
"surf") ;
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
RooProdPdf is an efficient implementation of a product of PDFs of the form.
Double_t getVal(const RooArgSet *set=0) const
RooCmdArg NormSet(const RooArgSet &nset)
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
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 wi...
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
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 ...
virtual void Draw(Option_t *option="")
Draw this histogram with options.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooConstVar & RooConst(Double_t val)
RooCmdArg Binning(const RooAbsBinning &binning)