27 using namespace RooFit ;
30 void rf601_intminuit()
40 RooRealVar sigma_g1(
"sigma_g1",
"width of g1",3) ;
43 RooRealVar sigma_g2(
"sigma_g2",
"width of g2",4,3.0,6.0) ;
69 model.getParameters(
x)->
Print(
"s") ;
101 RooPlot* frame =
m.contour(frac,sigma_g2,1,2,3) ;
102 frame->
SetTitle(
"RooMinuit contour plot") ;
122 sigma_g2.setConstant(
kTRUE) ;
131 new TCanvas(
"rf601_intminuit",
"rf601_intminuit",600,600) ;
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
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...
void SetTitle(const char *name)
Set the title of the RooPlot to 'title'.
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 Print(Option_t *option="") const
Dump this marker with its attributes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsMoment * mean(RooRealVar &obs)
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...