70 cout <<
"no parameters of interest" << endl;
75 cout <<
"only one parameter of interest is supported currently" << endl;
82 cout <<
"no nuisance parameters" << endl;
87 cout <<
"pdf not set" << endl;
105 for(
int i=0; i<curve_N; ++i){
106 curve_x[i]=min+step*i;
110 map<string, std::vector<Double_t> > name_val;
111 for(
int i=0; i<curve_N; i++){
117 while((nuis_params_obj=nuis_params_itr->
Next())){
121 if(nuis_params->
getSize()==0)
continue;
122 if(nuis_param && (! nuis_param->
isConstant())){
123 if(name_val.find(name)==name_val.end()) name_val[name]=std::vector<Double_t>(curve_N);
127 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.
ModelConfig is a simple class that holds configuration information specifying how a model should be u...
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
RooAbsPdf * GetPdf() const
get model PDF (return NULL if pdf has not been specified or does not exist)
virtual void SetName(const char *name)
Change (i.e.
virtual void SetTitle(const char *title="")
Set graph title.
const RooArgSet * GetNuisanceParameters() const
get RooArgSet containing the nuisance parameters (return NULL if not existing)
Iterator abstract base class.
RooAbsArg * first() const
TIterator * createIterator(Bool_t dir=kIterForward) const
Double_t getVal(const RooArgSet *set=0) const
virtual void setVal(Double_t value)
Set value of variable to 'value'.
TAxis * GetXaxis() const
Get x axis of the graph.
virtual const char * GetName() const
Returns name of object.
Bool_t isConstant() const
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual ~ProfileInspector()
ProfileInspector destructor.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Mother of all ROOT objects.
TAxis * GetYaxis() const
Get y axis of the graph.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void Add(TObject *obj)
TList * GetListOfProfilePlots(RooAbsData &data, RooStats::ModelConfig *config)
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.
const RooArgSet * GetParametersOfInterest() const
get RooArgSet containing the parameter of interest (return NULL if not existing)
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
ClassImp(RooStats::ProfileInspector)
ClassImp for building the THtml documentation of the class.