15 #ifndef ROOSTATS_ProposalFunction
16 #define ROOSTATS_ProposalFunction
25 #ifndef ROO_MSG_SERVICE
28 #ifndef ROOT_TIterator
80 if (!dynamic_cast<RooRealVar*>(obj)) {
81 coutE(
Eval) <<
"Error when checking parameters in"
82 <<
"ProposalFunction: "
83 <<
"Object \"" << obj->
GetName() <<
"\" not of type "
84 <<
"RooRealVar" << std::endl;
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
Iterator abstract base class.
static const double x2[5]
#define ClassDef(name, id)
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual bool CheckParameters(RooArgSet ¶ms)
Check the parameters for which the ProposalFunction will propose values to make sure they are all Roo...
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 Double_t GetProposalDensity(RooArgSet &x1, RooArgSet &x2)=0
Return the probability of proposing the point x1 given the starting point x2.
virtual void Propose(RooArgSet &xPrime, RooArgSet &x)=0
Populate xPrime with the new proposed point, possibly based on the current point x.
virtual ~ProposalFunction()
Namespace for the RooStats classes.
static const double x1[5]
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
ProposalFunction()
Default constructor.
virtual TObject * Next()=0