15 #ifndef ROOSTATS_ProposalFunction 16 #define ROOSTATS_ProposalFunction 71 if (!dynamic_cast<RooRealVar*>(obj)) {
72 coutE(
Eval) <<
"Error when checking parameters in" 73 <<
"ProposalFunction: " 74 <<
"Object \"" << obj->
GetName() <<
"\" not of type " 75 <<
"RooRealVar" << std::endl;
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
TIterator * createIterator(Bool_t dir=kIterForward) const
Iterator abstract base class.
static const double x2[5]
#define ClassDef(name, id)
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]
Mother of all ROOT objects.
ProposalFunction()
Default constructor.
virtual TObject * Next()=0
virtual const char * GetName() const
Returns name of object.