ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::ModelConfig

class RooStats::ModelConfig: public TNamed

ModelConfig is a simple class that holds configuration information specifying how a model should be used in the context of various RooStats tools. A single model can be used in different ways, and this class should carry all that is needed to specify how it should be used.

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const RooArgSet*GetConditionalObservables() const
const RooArgSet*GetConstraintParameters() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
const RooArgSet*GetNuisanceParameters() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
const RooArgSet*GetObservables() const
virtual Option_t*TObject::GetOption() const
const RooArgSet*GetParametersOfInterest() const
RooAbsPdf*GetPdf() const
RooAbsPdf*GetPriorPdf() const
RooAbsData*GetProtoData() const
const RooArgSet*GetSnapshot() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
const RooWorkspace*GetWS() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
RooStats::ModelConfigModelConfig(const char* name)
RooStats::ModelConfigModelConfig(const RooStats::ModelConfig&)
RooStats::ModelConfigModelConfig(const char* name, const char* title)
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooStats::ModelConfig&operator=(const RooStats::ModelConfig&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidSetNuisanceParameters(RooArgSet& set)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetParameters(RooArgSet& set)
virtual voidSetPdf(RooAbsPdf& pdf)
virtual voidSetPdf(const char* name)
virtual voidSetPriorPdf(RooAbsPdf& pdf)
virtual voidSetPriorPdf(const char* name)
virtual voidSetProtoData(RooAbsData& data)
virtual voidSetProtoData(const char* name)
virtual voidSetSnapshot(RooArgSet& set)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetWorkspace(RooWorkspace& ws)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidDefineSetInWS(const char* name, RooArgSet& set)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidImportDataInWS(RooAbsData& data)
voidImportPdfInWS(RooAbsPdf& pdf)

Data Members

stringfConditionalObservablesNamename for RooArgSet specifying conditional observables
stringfConstrainedParamNamename for RooArgSet specifying constrained parameters
stringfDataNamename of data set in workspace
TStringTNamed::fNameobject identifier
stringfNuisParamsNamename for RooArgSet specifying nuisance parameters
stringfObservablesNamename for RooArgSet specifying observable parameters.
stringfPOINamename for RooArgSet specifying parameters of interest
stringfPdfNamename of PDF in workspace
stringfPriorPdfNamename for RooAbsPdf specifying a prior on the parameters
stringfProtoDataNamename for RooArgSet specifying dataset that should be used as protodata
stringfSnapshotNamename for RooArgSet that specifies a particular hypothesis
TStringTNamed::fTitleobject title
RooWorkspace*fWSa workspace that owns all the components to be used by the calculator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ModelConfig(const char* name)
ModelConfig(const char* name, const char* title)
virtual ~ModelConfig()
void SetWorkspace(RooWorkspace& ws)
 set a workspace that owns all the necessary components for the analysis
void SetProtoData(RooAbsData & data)
 Set the proto DataSet, add to the the workspace if not already there
ImportDataInWS(RooAbsData& data)
SetProtoData( data.GetName() )
void SetPdf(RooAbsPdf& pdf)
 Set the Pdf, add to the the workspace if not already there
ImportPdfInWS(RooAbsPdf& pdf)
SetPdf( pdf.GetName() )
void SetPriorPdf(RooAbsPdf& pdf)
 Set the Prior Pdf, add to the the workspace if not already there
SetPriorPdf( pdf.GetName() )
void SetParameters(RooArgSet& set)
 specify the parameters of interest in the interval
DefineSetInWS(const char* name, RooArgSet& set)
void SetNuisanceParameters(RooArgSet& set)
 specify the nuisance parameters (eg. the rest of the parameters)
void SetSnapshot(RooArgSet& set)
 set parameter values for the null if using a common PDF
RooAbsPdf * GetPdf() const
getter methods
 get model PDF (return NULL if pdf has not been specified or does not exist)
{ return (fWS) ? fWS->pdf(fPdfName.c_str()) : 0; }
const RooArgSet * GetParametersOfInterest() const
 get RooArgSet containing the parameter of interest (return NULL if not existing)
{ return (fWS) ? fWS->set(fPOIName.c_str()) : 0; }
const RooArgSet * GetNuisanceParameters() const
 get RooArgSet containing the nuisance parameters (return NULL if not existing)
{ return (fWS) ? fWS->set(fNuisParamsName.c_str()) : 0; }
const RooArgSet * GetConstraintParameters() const
 get RooArgSet containing the constraint parameters (return NULL if not existing)
{ return (fWS) ? fWS->set(fConstrainedParamName.c_str()) : 0; }
RooAbsPdf * GetPriorPdf() const
 get parameters prior pdf  (return NULL if not existing)
{ return (fWS) ? fWS->pdf(fPriorPdfName.c_str()) : 0; }
const RooArgSet * GetObservables() const
 get RooArgSet for observales  (return NULL if not existing)
{ return (fWS) ? fWS->set(fObservablesName.c_str()) : 0; }
const RooArgSet * GetConditionalObservables() const
 get RooArgSet for conditional observales  (return NULL if not existing)
{ return (fWS) ? fWS->set(fConditionalObservablesName.c_str()) : 0; }
RooAbsData * GetProtoData() const
 get Proto data set (return NULL if not existing)
{ return (fWS) ? fWS->data(fProtoDataName.c_str()) : 0; }
const RooArgSet * GetSnapshot() const
 get RooArgSet for parameters for a particular hypothesis  (return NULL if not existing)
{ return (fWS) ? fWS->set(fSnapshotName.c_str()) : 0; }
const RooWorkspace * GetWS() const
{ return fWS; }