38   cout << 
"gx = " << gx.getVal() << endl;
 
   42   cout << 
"gx_Norm[x] = " << gx.getVal(&nset) << endl;
 
   46   std::unique_ptr<RooAbsReal> igx{gx.createIntegral(
x)};
 
   47   cout << 
"gx_Int[x] = " << igx->getVal() << endl;
 
   53   x.setRange(
"signal", -5, 5);
 
   58   std::unique_ptr<RooAbsReal> igx_sig{gx.createIntegral(
x, 
NormSet(
x), 
Range(
"signal"))};
 
   59   cout << 
"gx_Int[x|signal]_Norm[x] = " << igx_sig->getVal() << endl;
 
   66   std::unique_ptr<RooAbsReal> gx_cdf{gx.createCdf(
x)};
 
   70   gx_cdf->plotOn(frame);
 
   73   new TCanvas(
"rf110_normintegration", 
"rf110_normintegration", 600, 600);
 
   74   gPad->SetLeftMargin(0.15);
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
A RooPlot is a plot frame and a container for graphics objects within that frame.
 
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
 
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
 
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.
 
RooConstVar & RooConst(double val)
 
RooCmdArg NormSet(Args_t &&... argsOrArgSet)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...