12 #ifndef ROOSTATS_MarkovChain 13 #define ROOSTATS_MarkovChain 32 #ifndef ROOT_THnSparse
static const RooCmdArg & none()
Return reference to null argument.
RooDataSet is a container class to hold N-dimensional binned data.
#define ClassDef(name, id)
Efficient multidimensional histogram.
virtual const RooDataSet * GetAsConstDataSet() const
virtual THnSparse * GetAsSparseHist(RooAbsCollection &whichVars) const
The TNamed class is the base class for all named ROOT classes.
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 RooDataSet * GetAsDataSet(RooArgSet *whichVars=NULL) const
get this MarkovChain as a RooDataSet whose entries contain the values of whichVars.
virtual void AddWithBurnIn(MarkovChain &otherChain, Int_t burnIn=0)
add another markov chain
virtual const RooArgSet * Get() const
get the entry at the current position
RooRealVar represents a fundamental (non-derived) real valued object.
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 Int_t numEntries() 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.
RooDataSet is a container class to hold unbinned data.
Stores the steps in a Markov Chain of points.
Namespace for the RooStats classes.
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
virtual RooRealVar * GetNLLVar() const
get a clone of the NLL variable
virtual void SetParameters(RooArgSet ¶meters)
set which of your parameters this chain should store
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
virtual RooRealVar * GetWeightVar() const
get a clone of the weight variable
virtual Int_t Size() const
get the number of steps in the chain
virtual const RooArgSet * Get(Int_t i) const
get the entry at position i
virtual Double_t NLL() const
get the NLL value of the current (last indexed) entry
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
virtual Double_t Weight() const
get the weight of the current (last indexed) entry
RooCmdArg is a named container for two doubles, two integers two object points and three string point...