17 #include "TObjArray.h"
20 #include "TPaveText.h"
38 fIter = hs->GetHists()->MakeIterator();
48 fCurrent = fIter->Next();
64 return fCurrent->GetName();
69 return fCurrent->ClassName();
79 return fCurrent->ClassName();
111 return fHS ?
fHS->ClassName() : 0;
137 const char* objname = 0;
139 objname =
fHS->GetName();
142 slot->
SetPar(
"HStackProxy::StackName", objname);
144 if ((dir==0) || (
fHS==0))
return;
153 const char* objname = slot->
GetPar(
"HStackProxy::StackName");
154 if ((objname==0) || (dir==0))
return;
163 return (cl!=0) && cl->InheritsFrom(THStack::Class());
171 fHS =
dynamic_cast<THStack*
> (obj);
174 if ((
fHS==0) && (obj!=0) && owner)
delete obj;
193 TObject* obj = hs->GetHists()->FindObject(name);
virtual const char * name()
virtual void Finalize(TGo4Slot *slot)
TGo4HStackLevelIter(THStack *hs)
void UnregisterObject(TObject *obj, TGo4Slot *slot)
virtual TObject * GetAssignedObject()
virtual void WriteData(TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs)
virtual const char * GetContainedClassName()
virtual ~TGo4HStackProxy()
static TGo4LevelIter * ProduceIter(THStack *canv)
const char * GetPar(const char *name) const
virtual Bool_t isfolder()
void RegisterObjectWith(TObject *obj, TGo4Slot *slot)
virtual Bool_t RemoveRegisteredObject(TObject *obj)
virtual const char * GetClassName()
virtual void Initialize(TGo4Slot *slot)
virtual TGo4LevelIter * subiterator()
virtual const char * info()
static TGo4Access * CreateAccess(THStack *canv, const char *name)
virtual void ReadData(TGo4Slot *slot, TDirectory *dir)
void ForwardEvent(TGo4Slot *source, Int_t id, void *param=0)
virtual Bool_t IsAcceptObject(TClass *cl)
virtual Bool_t AssignObject(TGo4Slot *slot, TObject *obj, Bool_t owner)
virtual ~TGo4HStackLevelIter()
virtual TGo4ObjectManager * GetOM() const
void SetPar(const char *name, const char *value)
virtual Int_t GetObjectKind()