12 #ifndef ROOSTATS_MetropolisHastings 13 #define ROOSTATS_MetropolisHastings 15 #ifndef RooStats_RooStatsUtils 27 #ifndef ROOSTATS_ProposalFunction 30 #ifndef ROOSTATS_MarkovChain
virtual void SetSign(enum FunctionSign sign)
ProposalFunction is an interface for all proposal functions that would be used with a Markov Chain Mo...
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...
virtual void SetType(enum FunctionType type)
virtual MarkovChain * ConstructChain()
ProposalFunction * fPropFunc
This class uses the Metropolis-Hastings algorithm to construct a Markov Chain of data points using Mo...
virtual void SetParameters(const RooArgSet &set)
virtual void SetNumIters(Int_t numIters)
#define ClassDef(name, id)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual void SetFunction(RooAbsReal &function)
virtual ~MetropolisHastings()
virtual void SetProposalFunction(ProposalFunction &proposalFunction)
virtual void SetChainParameters(const RooArgSet &set)
virtual Double_t CalcNLL(Double_t xL)
Stores the steps in a Markov Chain of points.
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual void SetNumBurnInSteps(Int_t numBurnInSteps)
Mother of all ROOT objects.
void RemoveConstantParameters(RooArgSet *set)
virtual Bool_t ShouldTakeStep(Double_t d)