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");
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());
winID h TVirtualViewer3D TVirtualGLPainter p
R__EXTERN TProof * gProof
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
TObject * FindObject(const char *name) const override
Find an object in this collection using its name.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Utility class to draw objects in the feedback list during queries.
void Feedback(TList *objs)
Display feedback.
TDrawFeedback(TProof *proof=0, TSeqCollection *names=0)
Constructor.
~TDrawFeedback() override
Destructor.
TH1 is the base class of all histogram classes in ROOT.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TObject * FindObject(const char *name) const override
Find object using its name.
void Add(TObject *obj) override
The TNamed class is the base class for all named ROOT classes.
Collectable string class.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
This class controls a Parallel ROOT Facility, PROOF, cluster.
const char * GetSessionTag() const
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.
Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
Sequenceable collection abstract base class.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.