100 virtual void reset() ;
162 virtual void printName(std::ostream& os)
const ;
163 virtual void printTitle(std::ostream& os)
const ;
198 const char *label=
"",
Int_t sigDigits= 2,
201 const char* cutSpec=0,
const char*
cutRange=0,
TMatrixDSym * corrcovMatrix(const RooArgList &vars, const char *cutSpec, const char *cutRange, Bool_t corr) const
Return covariance matrix from data for given list of observables.
virtual Double_t sumEntries() const =0
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
void addOwnedComponent(const char *idxlabel, RooAbsData &data)
RooAbsDataStore is the abstract base class for data collection that use a TTree as internal storage m...
virtual void optimizeReadingWithCaching(RooAbsArg &arg, const RooArgSet &cacheList, const RooArgSet &keepObsList)
Prepare dataset for use with cached constant terms listed in 'cacheList' of expression 'arg'...
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Plot dataset on specified frame.
RooAbsData * getSimData(const char *idxstate)
RooRealVar * meanVar(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
Create a RooRealVar containing the mean of observable 'var' in this dataset.
void convertToVectorStore()
Convert tree-based storage to vector-based storage.
virtual Bool_t changeObservableName(const char *from, const char *to)
RooAbsData::ErrorType etype
void attachBuffers(const RooArgSet &extObs)
static void setDefaultStorageType(StorageType s)
RooAbsData * reduce(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg())
Create a reduced copy of this dataset.
Double_t corrcov(RooRealVar &x, RooRealVar &y, const char *cutSpec, const char *cutRange, Bool_t corr) const
Internal method to calculate single correlation and covariance elements.
RooRealVar * dataRealVar(const char *methodname, RooRealVar &extVar) const
Internal method to check if given RooRealVar maps to a RooRealVar in this dataset.
virtual void resetCache()
Internal method – Remove cached function values.
TIterator * _iterator
External variables cached with this data set.
Double_t covariance(RooRealVar &x, RooRealVar &y, const char *cutSpec=0, const char *cutRange=0) const
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
Copy the cached value of another RooAbsArg to our cache.
Iterator abstract base class.
Bool_t getRange(RooRealVar &var, Double_t &lowest, Double_t &highest, Double_t marginFrac=0, Bool_t symMode=kFALSE) const
Fill Doubles 'lowest' and 'highest' with the lowest and highest value of observable 'var' in this dat...
Double_t correlation(RooRealVar &x, RooRealVar &y, const char *cutSpec=0, const char *cutRange=0) const
virtual Double_t weightSquared() const =0
TMatrixDSym * covarianceMatrix(const char *cutSpec=0, const char *cutRange=0) const
Bool_t hasFilledCache() const
static const RooCmdArg & none()
Return reference to null argument.
virtual void attachCache(const RooAbsArg *newOwner, const RooArgSet &cachedVars)
Internal method – Attach dataset copied with cache contents to copied instances of functions...
virtual RooAbsData * emptyClone(const char *newName=0, const char *newTitle=0, const RooArgSet *vars=0, const char *wgtVarName=0) const =0
#define ClassDef(name, id)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
The TNamed class is the base class for all named ROOT classes.
const char * addToHistName
virtual void Draw(Option_t *option="")
Forward draw command to data store.
virtual RooPlot * plotAsymOn(RooPlot *frame, const RooAbsCategoryLValue &asymCat, PlotOpt o) const
Create and fill a histogram with the asymmetry N[+] - N[-] / ( N[+] + N[-] ), where N(+/-) is the num...
virtual ~RooAbsData()
Destructor.
virtual void printTitle(std::ostream &os) const
Print title of dataset.
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
virtual void add(const RooArgSet &row, Double_t weight=1, Double_t weightError=0)=0
RooAbsData()
Default constructor.
TMatrixDSym * correlationMatrix(const char *cutSpec=0, const char *cutRange=0) const
RooRealVar represents a fundamental (non-derived) real valued object.
void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Interface for detailed printing of object.
virtual void printName(std::ostream &os) const
Print name of dataset.
RooRealVar * rmsVar(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
Create a RooRealVar containing the RMS of observable 'var' in this dataset.
virtual void setArgStatus(const RooArgSet &set, Bool_t active)
virtual RooPlot * plotEffOn(RooPlot *frame, const RooAbsCategoryLValue &effCat, PlotOpt o) const
Create and fill a histogram with the efficiency N[1] / ( N[1] + N[0] ), where N(1/0) is the number of...
Double_t sigma(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
virtual Bool_t isNonPoissonWeighted() const
virtual RooPlot * statOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
Add a box with statistics information to the specified frame.
Double_t mean(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default print options, for a given print style.
RooAbsData is the common abstract base class for binned and unbinned datasets.
static void indent(ostringstream &buf, int indent_level)
RooAbsDataStore * store()
virtual RooAbsData * reduceEng(const RooArgSet &varSubset, const RooFormulaVar *cutVar, const char *cutRange=0, Int_t nStart=0, Int_t nStop=2000000000, Bool_t copyCache=kTRUE)=0
virtual TH1 * fillHistogram(TH1 *hist, const RooArgList &plotVars, const char *cuts="", const char *cutRange=0) const
Loop over columns of our tree data and fill the input histogram.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
virtual Double_t weightError(ErrorType etype=Poisson) const
Return error on current weight (dummy implementation returning zero)
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
static StorageType getDefaultStorageType()
RooAbsCachedPdf is the abstract base class for p.d.f.s that need or want to cache their evaluate() ou...
virtual Bool_t valid() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsDataStore * _dstore
Iterator over cached variables.
Double_t skewness(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
const RooAbsDataStore * store() const
TMatrixDSym * correlationMatrix(const RooArgList &vars, const char *cutSpec=0, const char *cutRange=0) const
virtual void cacheArgs(const RooAbsArg *owner, RooArgSet &varSet, const RooArgSet *nset=0, Bool_t skipZeroWeights=kFALSE)
Internal method – Cache given set of functions with data.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
Double_t moment(RooRealVar &var, Double_t order, const char *cutSpec=0, const char *cutRange=0) const
Calculate moment < (X - <X>)^n > where n = order.
static Bool_t releaseVars(RooAbsData *)
If return value is true variables can be deleted.
TMatrixDSym * covarianceMatrix(const RooArgList &vars, const char *cutSpec=0, const char *cutRange=0) const
virtual Bool_t isWeighted() const
static StorageType defaultStorageType
std::map< std::string, RooAbsData * > _ownedComponents
Bool_t canSplitFast() const
static void claimVars(RooAbsData *)
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
virtual Double_t weight() const =0
virtual void printClassName(std::ostream &os) const
Print class name of dataset.
Double_t kurtosis(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
Double_t standMoment(RooRealVar &var, Double_t order, const char *cutSpec=0, const char *cutRange=0) const
Calculate standardized moment < (X - <X>)^n > / sigma^n, where n = order.
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
virtual TList * split(const RooAbsCategory &splitCat, Bool_t createEmptyDataSets=kFALSE) const
Split dataset into subsets based on states of given splitCat in this dataset.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
TH1 * createHistogram(const char *name, const RooAbsRealLValue &xvar, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Create and fill a ROOT histogram TH1,TH2 or TH3 with the values of this dataset.
Roo1DTable implements a one-dimensional table.
virtual RooAbsData * cacheClone(const RooAbsArg *newCacheOwner, const RooArgSet *newCacheVars, const char *newName=0)=0
const TTree * tree() const
Bool_t allClientsCached(RooAbsArg *, const RooArgSet &)
Utility function that determines if all clients of object 'var' appear in given list of cached nodes...
virtual Int_t numEntries() const
TIterator * _cacheIter
Iterator over dimension variables.
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...
void setDirtyProp(Bool_t flag)
Control propagation of dirty flags from observables in dataset.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Bool_t correctForBinWidth
virtual Roo1DTable * table(const RooArgSet &catSet, const char *cuts="", const char *opts="") const
Construct table for product of categories in catSet.