12#ifndef ROOSTATS_MarkovChain
13#define ROOSTATS_MarkovChain
#define ClassDef(name, id)
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual Int_t numEntries() const
Return number of entries in dataset, i.e., count unweighted entries.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
static const RooCmdArg & none()
Return reference to null argument.
The RooDataHist is a container class to hold N-dimensional binned data.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const override
Return RooArgSet with coordinates of event 'index'.
RooRealVar represents a variable that can be changed from the outside.
Stores the steps in a Markov Chain of points.
virtual RooRealVar * GetWeightVar() const
get a clone of the weight variable
virtual THnSparse * GetAsSparseHist(RooAbsCollection &whichVars) const
virtual Double_t NLL() const
get the NLL value of the current (last indexed) entry
virtual void AddWithBurnIn(MarkovChain &otherChain, Int_t burnIn=0)
add another markov chain
virtual void AddFast(RooArgSet &entry, Double_t nllValue, Double_t weight=1.0)
add an entry to the chain ONLY IF you have constructed with parameters or called SetParameters
virtual Double_t Weight() const
get the weight of the current (last indexed) entry
virtual RooDataHist * GetAsDataHist(RooArgSet *whichVars=NULL) const
get this MarkovChain as a RooDataHist whose entries contain the values of whichVars.
virtual void Add(RooArgSet &entry, Double_t nllValue, Double_t weight=1.0)
safely add an entry to the chain
virtual const RooArgSet * Get() const
get the entry at the current position
virtual void SetParameters(RooArgSet ¶meters)
set which of your parameters this chain should store
virtual RooRealVar * GetNLLVar() const
get a clone of the NLL variable
virtual const RooArgSet * Get(Int_t i) const
get the entry at position i
virtual const RooDataSet * GetAsConstDataSet() const
virtual THnSparse * GetAsSparseHist(RooAbsCollection *whichVars=NULL) const
Get a clone of the markov chain on which this interval is based as a sparse histogram.
virtual RooDataSet * GetAsDataSet(RooArgSet *whichVars=NULL) const
get this MarkovChain as a RooDataSet whose entries contain the values of whichVars.
virtual Int_t Size() const
get the number of steps in the chain
Efficient multidimensional histogram.
The TNamed class is the base class for all named ROOT classes.
Namespace for the RooStats classes.