ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooCompositeDataStore

class RooCompositeDataStore: public RooAbsDataStore



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

Function Members (Methods)

public:
RooCompositeDataStore()
RooCompositeDataStore(const RooCompositeDataStore& other, const char* newname = 0)
RooCompositeDataStore(const RooCompositeDataStore& other, const RooArgSet& vars, const char* newname = 0)
RooCompositeDataStore(const char* name, const char* title, const RooArgSet& vars, RooCategory& indexCat, map<std::string,RooAbsDataStore*> inputData)
virtual~RooCompositeDataStore()
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 voidTObject::Browse(TBrowser* b)
virtual voidcacheArgs(const RooAbsArg* owner, RooArgSet& varSet, const RooArgSet* nset = 0)
const RooArgSet&RooAbsDataStore::cachedVars() const
virtual const RooAbsArg*cacheOwner()
virtual Bool_tchangeObservableName(const char* from, const char* to)
virtual voidRooAbsDataStore::checkInit() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
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_tRooAbsDataStore::defaultPrintContents(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
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 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(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_tRooAbsDataStore::hasFilledCache() 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 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
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)
RooCompositeDataStore&operator=(const RooCompositeDataStore&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidRooAbsDataStore::Print(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidRooAbsDataStore::printArgs(ostream& os) const
virtual voidRooAbsDataStore::printClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidRooAbsDataStore::printMultiline(ostream& os, Int_t content, Bool_t verbose, TString indent) const
virtual voidRooAbsDataStore::printName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidRooAbsDataStore::printTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidRooAbsDataStore::printValue(ostream& os) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidreset()
voidTObject::ResetBit(UInt_t f)
virtual voidresetCache()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& 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 voidRooAbsDataStore::setDirtyProp(Bool_t flag)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
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, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
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*RooAbsDataStore::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
protected:
virtual voidattachCache(const RooAbsArg* newOwner, const RooArgSet& cachedVars)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
TIterator*RooAbsDataStore::_cacheIter! Iterator over cached variables
RooArgSetRooAbsDataStore::_cachedVars
Int_t_curIndex! Index associated with current event
RooAbsDataStore*_curStore! Datastore associated with current event
map<std::string,RooAbsDataStore*>_dataMap
Bool_tRooAbsDataStore::_doDirtyPropSwitch do (de)activate dirty state propagation when loading a data point
RooCategory*_indexCat
TIterator*RooAbsDataStore::_iterator! Iterator over dimension variables
static Int_tRooPrintable::_nameLength
RooArgSetRooAbsDataStore::_vars
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooCompositeDataStore()
RooCompositeDataStore(const char* name, const char* title, const RooArgSet& vars, RooCategory& indexCat,map<string,RooAbsDataStore*> inputData)
RooCompositeDataStore(const RooCompositeDataStore& other, const char* newname = 0)
RooCompositeDataStore(const RooCompositeDataStore& other, const RooArgSet& vars, const char* newname = 0)
~RooCompositeDataStore()
 Destructor
Bool_t valid() const
 Return true if currently loaded coordinate is considered valid within
 the current range definitions of all observables
Int_t fill()
 Forward fill request to appropriate subset
const RooArgSet* get(Int_t index) const
 Load the n-th data point (n='index') in memory
 and return a pointer to the internal RooArgSet
 holding its coordinates.
Double_t weight() const
Double_t weight(Int_t index) const
Double_t weightError(RooAbsData::ErrorType etype = RooAbsData::Poisson) const
void weightError(Double_t& lo, Double_t& hi, RooAbsData::ErrorType etype = RooAbsData::Poisson) const
Bool_t isWeighted() const
Bool_t changeObservableName(const char* from, const char* to)
 Change name of internal observable named 'from' into 'to'
RooAbsArg* addColumn(RooAbsArg& var, Bool_t adjustRange = kTRUE)
 WVE ownership issue here!! Caller (a RooAbsData) should take ownership of all
 arguments, but only does for the first one here...
RooArgSet* addColumns(const RooArgList& varList)
 WVE ownership issue here!! Caller (a RooAbsData) should take ownership of all
 arguments, but only does for the first one here...
RooAbsDataStore* merge(const RooArgSet& allvars, list<RooAbsDataStore*> dstoreList)
void append(RooAbsDataStore& other)
Int_t numEntries() const
void reset()
void cacheArgs(const RooAbsArg* owner, RooArgSet& varSet, const RooArgSet* nset = 0)
void setArgStatus(const RooArgSet& set, Bool_t active)
void attachCache(const RooAbsArg* newOwner, const RooArgSet& cachedVars)
 Initialize cache of dataset: attach variables of cache ArgSet
 to the corresponding TTree branches
void resetCache()
RooAbsDataStore* clone(const RooArgSet& vars, const char* newname = 0) const
 Empty ctor
{ return new RooCompositeDataStore(*this,vars,newname) ; }
const RooAbsArg* cacheOwner()
{ return 0 ; }