ROOT logo
ROOT » ROOFIT » ROOSTATS » RooStats::ProposalHelper

class RooStats::ProposalHelper: public TObject




Function Members (Methods)

public:
virtual~ProposalHelper()
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 voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) 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 TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual RooStats::ProposalFunction*GetProposalFunction()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
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 Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
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)
TObject&TObject::operator=(const TObject& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
RooStats::ProposalHelperProposalHelper()
RooStats::ProposalHelperProposalHelper(const RooStats::ProposalHelper&)
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 voidSetCacheSize(Int_t size)
virtual voidSetClues(RooDataSet& clues)
virtual voidSetCluesFraction(Double_t cluesFrac)
virtual voidSetCluesOptions(Option_t* options)
virtual voidSetCovMatrix(const TMatrixDSym& covMatrix)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetPdf(RooAbsPdf& pdf)
virtual voidSetUniformFraction(Double_t uniFrac)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetUpdateProposalParameters(Bool_t updateParams)
virtual voidSetVariables(RooArgList& vars)
virtual voidSetVariables(const RooArgList& vars)
virtual voidSetVariables(RooArgSet& vars)
virtual voidSetWidthRangeDivisor(Double_t divisor)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
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
protected:
voidCreateCluesPdf()
voidCreateCovMatrix(RooArgList& xVec)
voidCreatePdf()
voidCreateUniformPdf()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
Int_tfCacheSizefor generating proposals from PDFs
RooDataSet*fCluesdata set of clues
Double_tfCluesFracwhat fraction of the PDF integral comes from clues
Option_t*fCluesOptionsoption string for clues RooNDKeysPdf
RooAbsPdf*fCluesPdfproposal dens. func. with clues for certain points
TMatrixDSym*fCovMatrixcovariance matrix for multi var gaussian pdf
Bool_tfOwnsCluesPdfwhether we created (and own) the clues pdf
Bool_tfOwnsPdfwhether we created (and own) the main pdf
Bool_tfOwnsPdfPropwhether we own the PdfProposal; equivalent to:
Bool_tfOwnsVarswhether we own fVars
RooAbsPdf*fPdfthe main proposal density function
RooStats::PdfProposal*fPdfPropthe PdfProposal we are (probably) going to return
Double_tfSigmaRangeDivisorrange divisor to get sigma for each variable
Double_tfUniFracwhat fraction of the PDF integral is uniform
RooAbsPdf*fUniformPdfuniform proposal dens. func.
Bool_tfUseUpdateswhether to set updates for proposal params in PdfProposal
RooArgList*fVarsthe RooRealVars to generate proposals for

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ProposalHelper()
ProposalFunction* GetProposalFunction()
void CreatePdf()
 kbelasco: check here for memory leaks:
 does RooMultiVarGaussian make copies of xVec and muVec?
 or should we delete them?
void CreateCovMatrix(RooArgList& xVec)
void CreateCluesPdf()
void CreateUniformPdf()
ProposalHelper()
void SetPdf(RooAbsPdf& pdf)
 Set the PDF to be the proposal density function
{ fPdf = &pdf; }
void SetClues(RooDataSet& clues)
 Set the bank of clues to add to the current proposal density function
{ fClues = &clues; }
void SetCacheSize(Int_t size)
void SetUpdateProposalParameters(Bool_t updateParams)
{ fUseUpdates = updateParams; }
void SetVariables(RooArgList& vars)
{ fVars = &vars; }
void SetVariables(const RooArgList& vars)
{ fVars = new RooArgList(vars); fOwnsVars = kTRUE; }
void SetUniformFraction(Double_t uniFrac)
 set what fraction of the proposal density function should come from
 a uniform proposal distribution
{ fUniFrac = uniFrac; }
void SetCluesFraction(Double_t cluesFrac)
 set what fraction of the proposal density function should come from
 the bank of clues
{ fCluesFrac = cluesFrac; }
void SetCovMatrix(const TMatrixDSym& covMatrix)
 set the covariance matrix to use for a multi-variate Gaussian proposal
{ fCovMatrix = new TMatrixDSym(covMatrix); }
void SetWidthRangeDivisor(Double_t divisor)
 set what divisor we will use when dividing the range of a variable to
 determine the width of the proposal function for each dimension
 e.g. divisor = 6 for sigma = 1/6th
{ if (divisor > 0.) fSigmaRangeDivisor = divisor; }
void SetCluesOptions(Option_t* options)
 set the option string to pass to the RooNDKeysPdf constructor
 if the bank of clues pdf is being automatically generated by this
 ProposalHelper
{ if (options != NULL) fCluesOptions = options; }
void SetVariables(RooArgSet& vars)
virtual ~ProposalHelper()