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()
static TClass*TNamed::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Copy(TObject& object) const
voidDefineSet(const char* name, RooArgSet& set)
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 RooArgSet*GetConstraintParameters()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual const char*TObject::GetName() const
const RooArgSet*GetNuisanceParameters()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
const RooArgSet*GetObservables()
virtual Option_t*TObject::GetOption() const
const RooArgSet*GetParametersOfInterest()
const RooArgSet*GetSnapshot()
virtual const char*TNamed::GetTitle() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual ULong_tTObject::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 TClass*TNamed::IsA() const
virtual TClass*TObject::IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTObject::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)
TNamed&TNamed::operator=(const TNamed& rhs)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidTObject::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 voidSetData(RooAbsData& data)
virtual voidSetData(const char* name)
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(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 voidTNamed::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
virtual voidTNamed::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTNamed::StreamerNVirtual(TBuffer& b)
voidTObject::StreamerNVirtual(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
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

const char*fConditionalObservablesNamename for RooArgSet specifying conditional observables
const char*fConstrainedParamNamename for RooArgSet specifying constrained parameters
const char*fDataNamename of data set in workspace
TStringTNamed::fNameobject identifier
const char*fNuisParamsNamename for RooArgSet specifying nuisance parameters
const char*fObservablesNamename for RooArgSet specifying observable parameters.
const char*fPOINamename for RooArgSet specifying parameters of interest
const char*fPdfNamename of PDF in workspace
const char*fPriorPdfNamename for RooAbsPdf specifying a prior on the parameters
const char*fProtoDataNamename for RooArgSet specifying dataset that should be used as protodata
const char*fSnapshotNamename 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 DefineSet(const char* name, RooArgSet& set)
 helper function to avoid code duplication
void SetData(RooAbsData & data)
 Set the DataSet, add to the the workspace if not already there
SetData( data.GetName() )
void SetProtoData(RooAbsData & data)
 Set the proto DataSet, add to the the workspace if not already there
SetProtoData( data.GetName() )
void SetPdf(RooAbsPdf& pdf)
 Set the Pdf, add to the the workspace if not already there
SetPdf( pdf.GetName() )
void SetParameters(RooArgSet& set)
 specify the parameters of interest in the interval
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
void SetPriorPdf(const char* name)
 specify the name of the PDF in the workspace to be used
RooAbsPdf * GetPdf()
getter methods
 get model PDF (return NULL if pdf has not been specified or does not exist)
{ return (fWS) ? fWS->pdf(fPdfName) : 0; }
RooAbsData * GetData()
 get data set (return NULL if data set has not been specified or does not exist)
{ return (fWS) ? fWS->data(fDataName) : 0; }
const RooArgSet * GetParametersOfInterest()
 get RooArgSet containing the parameter of interest (return NULL if not existing)
{ return (fWS) ? fWS->set(fPOIName) : 0; }
const RooArgSet * GetNuisanceParameters()
 get RooArgSet containing the nuisance parameters (return NULL if not existing)
{ return (fWS) ? fWS->set(fNuisParamsName) : 0; }
const RooArgSet * GetConstraintParameters()
 get RooArgSet containing the constraint parameters (return NULL if not existing)
{ return (fWS) ? fWS->set(fConstrainedParamName) : 0; }
RooAbsPdf * GetPriorPdf()
 get parameters prior pdf  (return NULL if not existing)
{ return (fWS) ? fWS->pdf(fPriorPdfName) : 0; }
const RooArgSet * GetObservables()
 get RooArgSet for observales  (return NULL if not existing)
{ return (fWS) ? fWS->set(fObservablesName) : 0; }
const RooArgSet * GetConditionalObservables()
 get RooArgSet for conditional observales  (return NULL if not existing)
{ return (fWS) ? fWS->set(fConditionalObservablesName) : 0; }
RooAbsData * GetProtoData()
 get Proto data set (return NULL if not existing)
{ return (fWS) ? fWS->data(fProtoDataName) : 0; }
const RooArgSet * GetSnapshot()
 get RooArgSet for parameters for a particular hypothesis  (return NULL if not existing)
{ return (fWS) ? fWS->set(fSnapshotName) : 0; }