76 cout <<
"no parameters of interest" << endl;
81 cout <<
"only one parameter of interest is supported currently" << endl;
88 cout <<
"no nuisance parameters" << endl;
93 cout <<
"pdf not set" << endl;
109 Double_t step = (max-min)/(curve_N-1);
111 for(
int i=0; i<curve_N; ++i){
112 curve_x[i]=min+step*i;
116 map<string, std::vector<Double_t> > name_val;
117 for(
int i=0; i<curve_N; i++){
123 while((nuis_params_obj=nuis_params_itr->
Next())){
127 if(nuis_params->
getSize()==0)
continue;
128 if(nuis_param && (! nuis_param->
isConstant())){
129 if(name_val.find(name)==name_val.end()) name_val[name]=std::vector<Double_t>(curve_N);
133 TGraph*
g =
new TGraph(curve_N, curve_x, &(name_val[name].front()));
virtual RooAbsReal * createNLL(RooAbsData &data, const RooLinkedList &cmdList)
Construct representation of -log(L) of PDFwith given dataset.
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
Double_t getVal(const RooArgSet *set=0) const
virtual void SetName(const char *name)
Set the name of the TNamed.
TAxis * GetYaxis() const
Get y axis of the graph.
virtual void SetTitle(const char *title="")
Set graph title.
Iterator abstract base class.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooAbsArg * first() const
RooAbsData is the common abstract base class for binned and unbinned datasets.
TAxis * GetXaxis() const
Get x axis of the graph.
Namespace for the RooStats classes.
RooAbsPdf * GetPdf() const
get model PDF (return NULL if pdf has not been specified or does not exist)
const RooArgSet * GetParametersOfInterest() const
get RooArgSet containing the parameter of interest (return NULL if not existing)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Utility class to plot conditional MLE of nuisance parameters vs.
virtual ~ProfileInspector()
ProfileInspector destructor.
Mother of all ROOT objects.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void Add(TObject *obj)
const RooArgSet * GetNuisanceParameters() const
get RooArgSet containing the nuisance parameters (return NULL if not existing)
TList * GetListOfProfilePlots(RooAbsData &data, RooStats::ModelConfig *config)
This tool makes a plot of the conditional maximum likelihood estimate of the nuisance parameter vs th...
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Create a RooProfileLL object that eliminates all nuisance parameters in the present function...
virtual TObject * Next()=0
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Bool_t isConstant() const
static constexpr double g