12#ifndef ROOSTATS_MetropolisHastings
13#define ROOSTATS_MetropolisHastings
#define ClassDef(name, id)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
Stores the steps in a Markov Chain of points.
This class uses the Metropolis-Hastings algorithm to construct a Markov Chain of data points using Mo...
virtual void SetProposalFunction(ProposalFunction &proposalFunction)
virtual ~MetropolisHastings()
virtual Bool_t ShouldTakeStep(Double_t d)
virtual void SetChainParameters(const RooArgSet &set)
virtual void SetParameters(const RooArgSet &set)
virtual MarkovChain * ConstructChain()
virtual void SetNumIters(Int_t numIters)
virtual void SetType(enum FunctionType type)
virtual Double_t CalcNLL(Double_t xL)
virtual void SetNumBurnInSteps(Int_t numBurnInSteps)
virtual void SetFunction(RooAbsReal &function)
ProposalFunction * fPropFunc
virtual void SetSign(enum FunctionSign sign)
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
Mother of all ROOT objects.
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
@(#)root/roostats:$Id$ Author: George Lewis, Kyle Cranmer
void RemoveConstantParameters(RooArgSet *set)