36 void rf210_angularconv()
49 RooRealVar greso(
"greso",
"greso",0.3,0.1,1.0) ;
68 Mpsi.setBufferFraction(0) ;
76 RooDataSet* data_psi = Mpsi.generate(psi,10000) ;
79 Mpsi.fitTo(*data_psi) ;
82 RooPlot* frame1 = psi.frame(
Title(
"Cyclical convolution in angle psi")) ;
102 Mcpsi.setBufferFraction(0) ;
109 RooDataSet* data_cpsi = Mcpsi.generate(cpsi,10000) ;
112 psi.setConstant(
true);
115 Mcpsi.fitTo(*data_cpsi) ;
118 RooPlot* frame2 = cpsi.frame(
Title(
"Same convolution in psi, expressed in cos(psi)")) ;
119 data_cpsi->
plotOn(frame2) ;
120 Mcpsi.plotOn(frame2) ;
128 TCanvas*
c =
new TCanvas(
"rf210_angularconv",
"rf210_angularconv",800,400) ;
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...
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), 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
Plot dataset on specified frame.
RooCmdArg LineColor(Color_t color)
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
RooCmdArg Title(const char *name)
RooRealVar represents a fundamental (non-derived) real valued object.
RooDataSet is a container class to hold unbinned data.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.