16 #ifndef ROO_ABS_DATA_STORE
17 #define ROO_ABS_DATA_STORE
74 virtual void reset() = 0 ;
88 virtual void printName(std::ostream& os)
const ;
89 virtual void printTitle(std::ostream& os)
const ;
91 virtual void printArgs(std::ostream& os)
const ;
92 virtual void printValue(std::ostream& os)
const ;
RooAbsDataStore is the abstract base class for data collection that use a TTree as internal storage m...
virtual ~RooAbsDataStore()
Destructor.
virtual Double_t weight() 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 printMultiline(std::ostream &os, Int_t content, Bool_t verbose, TString indent) const
Detailed printing interface.
virtual RooArgSet * addColumns(const RooArgList &varList)=0
virtual void loadValues(const RooAbsDataStore *tds, const RooFormulaVar *select=0, const char *rangeName=0, Int_t nStart=0, Int_t nStop=2000000000)=0
virtual void printValue(std::ostream &os) const
Print value of the dataset, i.e. the sum of weights contained in the dataset.
virtual Bool_t changeObservableName(const char *from, const char *to)=0
virtual void printClassName(std::ostream &os) const
Print class name of dataset.
virtual Int_t defaultPrintContents(Option_t *opt) const
Define default print options, for a given print style.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual void attachBuffers(const RooArgSet &extObs)=0
Iterator abstract base class.
virtual const RooAbsArg * cacheOwner()=0
Bool_t _doDirtyProp
Iterator over cached variables.
virtual Int_t numEntries() 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.
TIterator * _cacheIter
Iterator over dimension variables.
virtual Bool_t valid() const =0
Return true if currently loaded coordinate is considered valid within the current range definitions o...
virtual void forceCacheUpdate()
virtual void append(RooAbsDataStore &other)=0
virtual Bool_t isWeighted() const =0
const RooArgSet & cachedVars() const
virtual void resetCache()=0
virtual void setDirtyProp(Bool_t flag)
virtual RooAbsDataStore * merge(const RooArgSet &allvars, std::list< RooAbsDataStore * > dstoreList)=0
virtual Double_t sumEntries() const
virtual void attachCache(const RooAbsArg *newOwner, const RooArgSet &cachedVars)=0
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual Bool_t hasFilledCache() const
virtual void printTitle(std::ostream &os) const
Print title of dataset.
virtual RooAbsDataStore * clone(const char *newname=0) const =0
static void indent(ostringstream &buf, int indent_level)
virtual void printArgs(std::ostream &os) const
Print argument of dataset, i.e. the observable names.
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
void select(Int_t replica=1, Int_t color=kGreen)
RooAbsDataStore()
Default constructor.
virtual void setExternalWeightArray(Double_t *, Double_t *, Double_t *, Double_t *)
virtual void printName(std::ostream &os) const
Print name of dataset.
virtual void setArgStatus(const RooArgSet &set, Bool_t active)=0
virtual Double_t weightError(RooAbsData::ErrorType etype=RooAbsData::Poisson) const =0
virtual void checkInit() const
A TTree object has a header with a name and a title.
float type_of_call hi(const int &, const int &)
virtual const TTree * tree() const
virtual void resetBuffers()=0
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual void recalculateCache(const RooArgSet *, Int_t, Int_t, Int_t, Bool_t)
virtual RooAbsArg * addColumn(RooAbsArg &var, Bool_t adjustRange=kTRUE)=0
virtual void cacheArgs(const RooAbsArg *cacheOwner, RooArgSet &varSet, const RooArgSet *nset=0, Bool_t skipZeroWeights=kFALSE)=0