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.
Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Add element to non-owning set.
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.
Namespace for the RooStats classes.
void RemoveConstantParameters(RooArgSet *set)