ROOT logo

class RooAbsDataStore: public TNamed, public RooPrintable

RooAbsDataStore is the abstract base class for data collection that use a TTree as internal storage mechanism

Function Members (Methods)

    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

voidTObject::AbstractMethod(const char* method) const
virtual RooAbsArg*addColumn(RooAbsArg& var, Bool_t adjustRange = kTRUE)
virtual RooArgSet*addColumns(const RooArgList& varList)
virtual voidappend(RooAbsDataStore& other)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidattachBuffers(const RooArgSet& extObs)
virtual voidattachCache(const RooAbsArg* newOwner, const RooArgSet& cachedVars)
virtual voidTObject::Browse(TBrowser* b)
virtual voidcacheArgs(const RooAbsArg* cacheOwner, RooArgSet& varSet, const RooArgSet* nset = 0)
const RooArgSet&cachedVars() const
virtual const RooAbsArg*cacheOwner()
virtual Bool_tchangeObservableName(const char* from, const char* to)
virtual voidcheckInit() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual RooAbsDataStore*clone(const char* newname = 0) const
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual RooAbsDataStore*clone(const RooArgSet& vars, const char* newname = 0) const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tdefaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual voidTObject::Delete(Option_t* option = "")MENU
Bool_tdirtyProp() const
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voiddump()
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual Int_tfill()
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual const RooArgSet*get() const
virtual const RooArgSet*get(Int_t index) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_thasFilledCache() const
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tisWeighted() const
Bool_tTObject::IsZombie() const
virtual voidloadValues(const RooAbsDataStore* tds, const RooFormulaVar* select = 0, const char* rangeName = 0, Int_t nStart = 0, Int_t nStop = 2000000000)
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual RooAbsDataStore*merge(const RooArgSet& allvars, list<RooAbsDataStore*> dstoreList)
static voidRooPrintable::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
virtual Int_tnumEntries() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooAbsDataStore&operator=(const RooAbsDataStore&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidprintArgs(ostream& os) const
virtual voidprintClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidprintMultiline(ostream& os, Int_t content, Bool_t verbose, TString indent) const
virtual voidprintName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidprintTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidprintValue(ostream& os) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidreset()
voidTObject::ResetBit(UInt_t f)
virtual voidresetBuffers()
virtual voidresetCache()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidsetArgStatus(const RooArgSet& set, Bool_t active)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidsetDirtyProp(Bool_t flag)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidsetExternalWeightArray(Double_t*, Double_t*, Double_t*, Double_t*)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual Double_tsumEntries() const
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual const TTree*tree() const
virtual voidTObject::UseCurrentStyle()
virtual Bool_tvalid() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Double_tweight() const
virtual Double_tweight(Int_t index) const
virtual Double_tweightError(RooAbsData::ErrorType etype = RooAbsData::Poisson) const
virtual voidweightError(Double_t& lo, Double_t& hi, RooAbsData::ErrorType etype = RooAbsData::Poisson) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

TIterator*_cacheIter! Iterator over cached variables
Bool_t_doDirtyPropSwitch do (de)activate dirty state propagation when loading a data point
TIterator*_iterator! Iterator over dimension variables
static Int_tRooPrintable::_nameLength
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t valid() const
 Return true if currently loaded coordinate is considered valid within
 the current range definitions of all observables
void printName(ostream& os) const
 Print name of dataset
void printTitle(ostream& os) const
 Print title of dataset
void printClassName(ostream& os) const
 Print class name of dataset
void printValue(ostream& os) const
 Print value of the dataset, i.e. the sum of weights contained in the dataset
void printArgs(ostream& os) const
 Print argument of dataset, i.e. the observable names
Int_t defaultPrintContents(Option_t* opt) const
 Define default print options, for a given print style
void printMultiline(ostream& os, Int_t content, Bool_t verbose, TString indent) const
 Detailed printing interface
RooAbsDataStore* clone(const char* newname = 0) const
RooAbsDataStore* clone(const RooArgSet& vars, const char* newname = 0) const
Int_t fill()
 Write current row
const RooArgSet* get(Int_t index) const
 Retrieve a row
const RooArgSet* get() const
{ return &_vars ; }
Double_t weight() const
Double_t weightError(RooAbsData::ErrorType etype = RooAbsData::Poisson) const
void weightError(Double_t& lo, Double_t& hi, RooAbsData::ErrorType etype = RooAbsData::Poisson) const
Double_t weight(Int_t index) const
Bool_t isWeighted() const
Bool_t changeObservableName(const char* from, const char* to)
 Change observable name
RooAbsArg* addColumn(RooAbsArg& var, Bool_t adjustRange = kTRUE)
 Add one or more columns
RooArgSet* addColumns(const RooArgList& varList)
RooAbsDataStore* merge(const RooArgSet& allvars, list<RooAbsDataStore*> dstoreList)
 Merge column-wise
void append(RooAbsDataStore& other)
 Add rows
Int_t numEntries() const
Double_t sumEntries() const
{ return 0 ; }
void reset()
void attachBuffers(const RooArgSet& extObs)
 Buffer redirection routines used in inside RooAbsOptTestStatistics
void resetBuffers()
void setExternalWeightArray(Double_t* , Double_t* , Double_t* , Double_t* )
void Print(Option_t* options = 0) const
 Printing interface (human readable)
void cacheArgs(const RooAbsArg* cacheOwner, RooArgSet& varSet, const RooArgSet* nset = 0)
 Constant term  optimizer interface
const RooAbsArg* cacheOwner()
void attachCache(const RooAbsArg* newOwner, const RooArgSet& cachedVars)
void setArgStatus(const RooArgSet& set, Bool_t active)
const RooArgSet& cachedVars() const
{ return _cachedVars ; }
void resetCache()
void setDirtyProp(Bool_t flag)
{ _doDirtyProp = flag ; }
Bool_t dirtyProp() const
{ return _doDirtyProp ; }
void checkInit() const
Bool_t hasFilledCache() const
{ return _cachedVars.getSize()>0 ; }
const TTree* tree() const
{ return 0 ; }
void dump()
void loadValues(const RooAbsDataStore* tds, const RooFormulaVar* select = 0, const char* rangeName = 0, Int_t nStart = 0, Int_t nStop = 2000000000)