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,
virtual Double_t sumEntries() const =0
Double_t skewness(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
void addOwnedComponent(const char *idxlabel, RooAbsData &data)
const TTree * tree() const
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'...
RooRealVar * dataRealVar(const char *methodname, RooRealVar &extVar) const
Internal method to check if given RooRealVar maps to a RooRealVar in this dataset.
Double_t correlation(RooRealVar &x, RooRealVar &y, const char *cutSpec=0, const char *cutRange=0) const
RooAbsData * getSimData(const char *idxstate)
virtual Roo1DTable * table(const RooArgSet &catSet, const char *cuts="", const char *opts="") const
Construct table for product of categories in catSet.
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'.
virtual Bool_t valid() const
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default print options, for a given print style.
void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Interface for detailed printing of object.
void convertToVectorStore()
Convert tree-based storage to vector-based storage.
virtual Bool_t changeObservableName(const char *from, const char *to)
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
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.
virtual void resetCache()
Internal method – Remove cached function values.
TIterator * _iterator
External variables cached with this data set.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
Double_t covariance(RooRealVar &x, RooRealVar &y, 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.
virtual void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
Copy the cached value of another RooAbsArg to our cache.
TMatrixDSym * correlationMatrix(const RooArgList &vars, const char *cutSpec=0, const char *cutRange=0) const
Iterator abstract base class.
virtual Double_t weightSquared() const =0
static const RooCmdArg & none()
Return reference to null argument.
virtual void printName(std::ostream &os) const
Print name of dataset.
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.
Double_t sigma(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
virtual Bool_t isWeighted() const
virtual ~RooAbsData()
Destructor.
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.
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.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void printTitle(std::ostream &os) const
Print title of dataset.
Double_t mean(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
virtual void setArgStatus(const RooArgSet &set, Bool_t active)
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 kurtosis(RooRealVar &var, const char *cutSpec=0, const char *cutRange=0) const
virtual Int_t numEntries() const
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...
TMatrixDSym * covarianceMatrix(const RooArgList &vars, const char *cutSpec=0, const char *cutRange=0) const
RooAbsData is the common abstract base class for binned and unbinned datasets.
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.
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.
static void indent(ostringstream &buf, int indent_level)
RooAbsDataStore * store()
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.
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.
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
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.
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...
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
virtual void printClassName(std::ostream &os) const
Print class name of dataset.
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...
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.
static StorageType getDefaultStorageType()
RooAbsCachedPdf is the abstract base class for p.d.f.s that need or want to cache their evaluate() ou...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsDataStore * _dstore
Iterator over cached variables.
TMatrixDSym * covarianceMatrix(const char *cutSpec=0, const char *cutRange=0) const
virtual Bool_t isNonPoissonWeighted() 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.
static Bool_t releaseVars(RooAbsData *)
If return value is true variables can be deleted.
virtual TList * split(const RooAbsCategory &splitCat, Bool_t createEmptyDataSets=kFALSE) const
Split dataset into subsets based on states of given splitCat in this dataset.
virtual RooPlot * plotEffOn(RooPlot *frame, const RooAbsCategoryLValue &effCat, PlotOpt o) const
Create and fill a histogram with the effiency N[1] / ( N[1] + N[0] ), where N(1/0) is the number of d...
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.
static StorageType defaultStorageType
std::map< std::string, RooAbsData * > _ownedComponents
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
Bool_t canSplitFast() const
Bool_t hasFilledCache() const
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
virtual Double_t weightError(ErrorType etype=Poisson) const
Return error on current weight (dummy implementation returning zero)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
const RooAbsDataStore * store() const
Roo1DTable implements a one-dimensional table.
TMatrixDSym * correlationMatrix(const char *cutSpec=0, const char *cutRange=0) const
virtual RooAbsData * cacheClone(const RooAbsArg *newCacheOwner, const RooArgSet *newCacheVars, const char *newName=0)=0
Bool_t allClientsCached(RooAbsArg *, const RooArgSet &)
Utility function that determines if all clients of object 'var' appear in given list of cached nodes...
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