12#ifndef RooStats_ProposalHelper
13#define RooStats_ProposalHelper
47 coutE(Eval) <<
"Warning: Requested non-positive cache size: " <<
size <<
". Cache size unchanged."
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
TMatrixTSym< Double_t > TMatrixDSym
Abstract interface for all probability density functions.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold unbinned data.
PdfProposal is a concrete implementation of the ProposalFunction interface.
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
virtual void SetUniformFraction(double uniFrac)
set what fraction of the proposal density function should come from a uniform proposal distribution
double fUniFrac
what fraction of the PDF integral is uniform
virtual void SetCovMatrix(const TMatrixDSym &covMatrix)
set the covariance matrix to use for a multi-variate Gaussian proposal
RooDataSet * fClues
data set of clues
bool fOwnsCluesPdf
whether we created (and own) the clues pdf
~ProposalHelper() override
bool fUseUpdates
whether to set updates for proposal params in PdfProposal
void CreateCovMatrix(RooArgList &xVec)
bool fOwnsVars
whether we own fVars
virtual void SetVariables(RooArgSet &vars)
double fCluesFrac
what fraction of the PDF integral comes from clues
virtual void SetPdf(RooAbsPdf &pdf)
Set the PDF to be the proposal density function.
virtual ProposalFunction * GetProposalFunction()
Get the ProposalFunction that we've been designing.
const Option_t * fCluesOptions
option string for clues RooNDKeysPdf
virtual void SetVariables(RooArgList &vars)
virtual void SetVariables(const RooArgList &vars)
RooAbsPdf * fPdf
the main proposal density function
bool fOwnsPdfProp
whether we own the PdfProposal; equivalent to: !(whether we have returned it in GetProposalFunction)
Int_t fCacheSize
for generating proposals from PDFs
RooAbsPdf * fUniformPdf
uniform proposal dens. func.
virtual void SetClues(RooDataSet &clues)
Set the bank of clues to add to the current proposal density function.
RooArgList * fVars
the RooRealVars to generate proposals for
TMatrixDSym * fCovMatrix
covariance matrix for multi var gaussian pdf
PdfProposal * fPdfProp
the PdfProposal we are (probably) going to return
virtual void SetCacheSize(Int_t size)
virtual void SetWidthRangeDivisor(double divisor)
set what divisor we will use when dividing the range of a variable to determine the width of the prop...
virtual void SetUpdateProposalParameters(bool updateParams)
double fSigmaRangeDivisor
range divisor to get sigma for each variable
virtual void SetCluesOptions(const Option_t *options)
set the option string to pass to the RooNDKeysPdf constructor if the bank of clues pdf is being autom...
virtual void SetCluesFraction(double cluesFrac)
set what fraction of the proposal density function should come from the bank of clues
RooAbsPdf * fCluesPdf
proposal dens. func. with clues for certain points
bool fOwnsPdf
whether we created (and own) the main pdf
Mother of all ROOT objects.
Namespace for the RooStats classes.