Hi,
I am trying to generate some toymc as shown in
root.cern.ch/root/html/tutorial … udy.C.html
in line -83,
RooMCStudy* mcstudy = new RooMCStudy(model,x,Extended()) ; //in this example the nsig and bkg is generated with poisson’s distribution
mcstudy->generateAndFit(5000) ; //generating 5000 toys
Now if i want to know the INPUT nsig and INPUT nbkg, as well as the fitted nsig and nbkg, how do i get it ?
I would also like to see the pull distribution…for 5000 toys.
I see one can get pull as below
RooPlot* frame = mcs.plotPull(*nsig) ;
Is this (mean of fitted nsig - fitted nsig)/error-of-nsig ?
Thank you,
Sanjay