Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooRefCountList.hh"

RooRefCountList


class description - source file - inheritance tree (.pdf)

class RooRefCountList : public RooLinkedList

Inheritance Chart:
TObject
<-
RooLinkedList
<-
RooRefCountList

    public:
RooRefCountList() RooRefCountList(const RooRefCountList&) virtual ~RooRefCountList() virtual void Add(TObject* arg) virtual void Add(TObject* obj, Int_t count) static TClass* Class() virtual TClass* IsA() const RooRefCountList& operator=(const RooRefCountList&) Int_t refCount(TObject* obj) virtual Bool_t Remove(TObject* obj) virtual Bool_t RemoveAll(TObject* obj) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

 A RooRefCountList is a RooLinkedList that keeps a reference counter
 with each added node. Multiple Add()s of the same object will increase
 the counter instead of adding multiple copies. Remove() decrements the
 reference count until zero, when the object is actually removed.

RooRefCountList() : RooLinkedList(17)

void Add(TObject* obj, Int_t count)
 Check if we already have it

Bool_t Remove(TObject* obj)

Bool_t RemoveAll(TObject* obj)

Int_t refCount(TObject* obj)



Inline Functions


                    void ~RooRefCountList()
                    void Add(TObject* obj, Int_t count)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         RooRefCountList RooRefCountList(const RooRefCountList&)
        RooRefCountList& operator=(const RooRefCountList&)
Last CVS Update: v 1.9 2005/06/20 15:45:14 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo