42 using namespace RooFit ;
43 using namespace RooStats ;
64 TCanvas* dataCanvas =
new TCanvas(
"dataCanvas");
88 TCanvas* intervalCanvas =
new TCanvas(
"intervalCanvas");
90 std::cout <<
"is this point in the interval? " <<
93 std::cout <<
"interval is ["<<
void Print(Option_t *option="") const
Print the real and cpu time passed between the start and stop events.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
void Start(Bool_t reset=kTRUE)
Start the stopwatch.
virtual void SetTestSize(Double_t size)
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval) ...
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual void Draw(Option_t *option="")
Draw this marker with its current attributes.
virtual void SetObservables(const RooArgSet &set)
specify the observables
virtual const RooArgSet * get() const
RooAbsData * GetPointsToScan()
static struct mg_connection * fc(struct mg_context *ctx)
RooDataSet is a container class to hold N-dimensional binned data.
void Stop()
Stop the stopwatch.
virtual void SetMarkerColor(Color_t mcolor=1)
virtual void SetPdf(const RooAbsPdf &pdf)
Set the Pdf, add to the the workspace if not already there.
RooConstVar represent a constant real-valued object.
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.
virtual Bool_t IsInInterval(const RooArgSet &) const
check if parameter is in the interval
void rs401c_FeldmanCousins()
RooRealVar represents a fundamental (non-derived) real valued object.
Double_t LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
virtual void Draw(Option_t *option="")
Draw this histogram with options.
void SetNBins(Int_t bins)
void FluctuateNumDataEntries(bool flag=true)
TH1 * createHistogram(const char *name, const RooAbsRealLValue &xvar, 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
Create and fill a ROOT histogram TH1,TH2 or TH3 with the values of this dataset.
RooPlot * frame(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
RooDataSet is a container class to hold unbinned data.
Double_t UpperLimit(RooRealVar ¶m)
return upper limit on a given parameter
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
The FeldmanCousins class (like the Feldman-Cousins technique) is essentially a specific configuration...
virtual TObject * clone(const char *newname) const
PointSetInterval is a concrete implementation of the ConfInterval interface.
virtual PointSetInterval * GetInterval() const
Main interface to get a ConfInterval (will be a PointSetInterval)
virtual Int_t numEntries() const
Return the number of bins.
void Print(Option_t *opts=0) const
Print contents of the workspace.
RooDataSet * generate(const RooArgSet &whatVars, Int_t nEvents, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none())
Generate a new dataset containing the specified variables with events sampled from our distribution...
virtual void SetParametersOfInterest(const RooArgSet &set)
RooAddition calculates the sum of a set of RooAbsReal terms, or when constructed with two sets...
The RooWorkspace is a persistable container for RooFit projects.
void UseAdaptiveSampling(bool flag=true)
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
Double_t getRealValue(const char *name, Double_t defVal=0, Bool_t verbose=kFALSE) const
Get value of a RooAbsReal stored in set with given name.