15#ifndef ROOSTATS_ProposalFunction
16#define ROOSTATS_ProposalFunction
70 while ((obj = it->
Next()) != NULL) {
72 coutE(
Eval) <<
"Error when checking parameters in"
73 <<
"ProposalFunction: "
74 <<
"Object \"" << obj->
GetName() <<
"\" not of type "
75 <<
"RooRealVar" << std::endl;
static const double x2[5]
static const double x1[5]
#define ClassDef(name, id)
TIterator * createIterator(Bool_t dir=kIterForward) const
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooRealVar represents a fundamental (non-derived) real valued object.
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
virtual ~ProposalFunction()
virtual void Propose(RooArgSet &xPrime, RooArgSet &x)=0
Populate xPrime with the new proposed point, possibly based on the current point x.
ProposalFunction()
Default constructor.
virtual Double_t GetProposalDensity(RooArgSet &x1, RooArgSet &x2)=0
Return the probability of proposing the point x1 given the starting point x2.
virtual Bool_t IsSymmetric(RooArgSet &x1, RooArgSet &x2)=0
Determine whether or not the proposal density is symmetric for points x1 and x2 - that is,...
virtual bool CheckParameters(RooArgSet ¶ms)
Check the parameters for which the ProposalFunction will propose values to make sure they are all Roo...
Iterator abstract base class.
virtual TObject * Next()=0
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer