47 if (proof == 0) proof =
gProof;
51 Error(
"TDrawFeedback",
"no valid proof session found");
57 Bool_t ok = proof->
Connect(
"Feedback(TList*)",
"TDrawFeedback",
58 this,
"Feedback(TList*)");
61 Error(
"TDrawFeedback",
"Connect() failed");
68 while((name = dynamic_cast<TObjString*>(next())) != 0) {
102 while( (o = next()) )
107 if (
TH1 *
h = dynamic_cast<TH1*>(o)) {
117 gROOT->MakeDefCanvas();
119 PDB(kFeedback,2)
Info(
"Feedback",
"Created canvas %s", name.
Data());
122 PDB(kFeedback,2)
Info(
"Feedback",
"Used canvas %s", name.
Data());
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Collectable string class.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
void Feedback(TList *objs)
Display feedback.
TObject * FindObject(const char *name) const
Find object using its name.
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
Sequenceable collection abstract base class.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
The TNamed class is the base class for all named ROOT classes.
const char * GetSessionTag() const
TVirtualPad is an abstract base class for the Pad and Canvas classes.
const char * GetName() const
Returns name of object.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
R__EXTERN TProof * gProof
This class controls a Parallel ROOT Facility, PROOF, cluster.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
Mother of all ROOT objects.
TDrawFeedback(TProof *proof=0, TSeqCollection *names=0)
Constructor.
virtual void Add(TObject *obj)
Utility class to draw objects in the feedback list during queries.
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
virtual const char * GetName() const
Returns name of object.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
~TDrawFeedback()
Destructor.
const char * Data() const