#define ClassDef(name, id)
TExec is a utility class that can be used to execute a C++ command when some event happens in a pad.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Mother of all ROOT objects.
virtual UInt_t GetUniqueID() const
Return the unique object id.
A TProcessID identifies a ROOT job in a unique way in time and space.
Persistent Reference link to a TObject A TRef is a lightweight object pointing to any TObject.
static void SetObject(TObject *obj)
static Obsolete function kept for back compatibility.
static void SetStaticObject(TObject *obj)
Static function to set the object found on the Action on Demand function.
void operator=(TObject *obj)
Assign object to reference.
static TObject * fgObject
TProcessID * GetPID() const
static TObject * GetStaticObject()
Returns the static object.
virtual void SetAction(const char *name)
Store the exec number (in the ROOT list of Execs) into the fBits of this TRef.
friend Bool_t operator==(const TRef &r1, const TRef &r2)
Return kTRUE if r1 and r2 point to the same object.
TObject * GetObject() const
Return a pointer to the referenced object.
friend Bool_t operator!=(const TRef &r1, const TRef &r2)
Return kTRUE if r1 and r2 do not point to the same object.
static TObjArray * GetListOfExecs()
Return a pointer to the static TObjArray holding the list of Execs.
static Int_t AddExec(const char *name)
If Exec with name does not exist in the list of Execs, it is created.
static TObjArray * fgExecs
Pointer to ProcessID when TRef was written.