ROOT top level object description.
The TROOT object is the entry point to the ROOT system. The single instance of TROOT is accessible via the global gROOT. Using the gROOT pointer one has access to basically every object created in a ROOT based program. The TROOT object is essentially a container of several lists pointing to the main ROOT objects.
The following lists are accessible from gROOT object:
The TROOT class provides also many useful services:
The ROOT object must be created as a static object. An example of a main program creating an interactive version is shown below:
Public Types | |
typedef std::vector< std::pair< std::string, int > > | FwdDeclArgsToKeepCollection_t |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) } |
enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) } |
enum | EStatusBits { kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) , kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 )) } |
Public Member Functions | |
TROOT (const char *name, const char *title, VoidFuncPtr_t *initfunc=nullptr) | |
Initialize the ROOT system. | |
virtual | ~TROOT () |
Clean up and free resources used by ROOT (files, network sockets, shared memory segments, etc.). | |
void | AddClass (TClass *cl) |
Add a class to the list and map of classes. | |
void | AddClassGenerator (TClassGenerator *gen) |
Add a class generator. | |
void | Append (TObject *obj, Bool_t replace=kFALSE) override |
Append object to this directory. | |
void | Browse (TBrowser *b) override |
Add browsable objects to TBrowser. | |
Bool_t | ClassSaved (TClass *cl) |
return class status 'ClassSaved' for class cl This function is called by the SavePrimitive functions writing the C++ code for an object. | |
void | CloseFiles () |
Close any files and sockets that gROOT knows about. | |
void | EndOfProcessCleanups () |
Execute the cleanups necessary at the end of the process, in particular those that must be executed before the library start being unloaded. | |
TObject * | FindObject (const char *name) const override |
Returns address of a ROOT object if it exists. | |
TObject * | FindObject (const TObject *obj) const override |
Find an object in one Root folder. | |
TObject * | FindObjectAny (const char *name) const override |
Return a pointer to the first object with name starting at //root. | |
TObject * | FindObjectAnyFile (const char *name) const override |
Scan the memory lists of all files for an object with name. | |
const char * | FindObjectClassName (const char *name) const |
Returns class name of a ROOT object including CINT globals. | |
const char * | FindObjectPathName (const TObject *obj) const |
Return path name of obj somewhere in the //root/... path. | |
TObject * | FindSpecialObject (const char *name, void *&where) |
Returns address and folder of a ROOT object if it exists. | |
TClass * | FindSTLClass (const char *name, Bool_t load, Bool_t silent=kFALSE) const |
return a TClass object corresponding to 'name' assuming it is an STL container. | |
void | ForceStyle (Bool_t force=kTRUE) |
Bool_t | FromPopUp () const |
TApplication * | GetApplication () const |
Int_t | GetBuiltDate () const |
Int_t | GetBuiltTime () const |
TClass * | GetClass (const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE) const |
Return pointer to class with name. Obsolete, use TClass::GetClass directly. | |
TClass * | GetClass (const std::type_info &typeinfo, Bool_t load=kTRUE, Bool_t silent=kFALSE) const |
Return pointer to class from its name. | |
TSeqCollection * | GetClipboard () const |
TColor * | GetColor (Int_t color) const |
Return address of color with index color. | |
const char * | GetConfigFeatures () const |
const char * | GetConfigOptions () const |
const char * | GetCutClassName () const |
const char * | GetDefCanvasName () const |
Bool_t | GetEditHistograms () const |
Int_t | GetEditorMode () const |
TFile * | GetFile () const override |
TFile * | GetFile (const char *name) const |
Return pointer to file with name. | |
Bool_t | GetForceStyle () const |
TObject * | GetFunction (const char *name) const |
Return pointer to function with name. | |
TFunctionTemplate * | GetFunctionTemplate (const char *name) |
TObject * | GetGeometry (const char *name) const |
Return pointer to Geometry with name. | |
const char * | GetGitBranch () const |
const char * | GetGitCommit () const |
const char * | GetGitDate () |
Return date/time make was run. | |
TGlobal * | GetGlobal (const char *name, Bool_t load=kFALSE) const |
Return pointer to global variable by name. | |
TGlobal * | GetGlobal (const TObject *obj, Bool_t load=kFALSE) const |
Return pointer to global variable with address addr. | |
TFunction * | GetGlobalFunction (const char *name, const char *params=nullptr, Bool_t load=kFALSE) |
Return pointer to global function by name. | |
TFunction * | GetGlobalFunctionWithPrototype (const char *name, const char *proto=nullptr, Bool_t load=kFALSE) |
Return pointer to global function by name. | |
TInterpreter * | GetInterpreter () const |
TList * | GetListOfBrowsables () const |
TSeqCollection * | GetListOfBrowsers () const |
TSeqCollection * | GetListOfCanvases () const |
TCollection * | GetListOfClasses () const |
TCollection * | GetListOfClassGenerators () const |
TSeqCollection * | GetListOfCleanups () const |
TSeqCollection * | GetListOfClosedObjects () const |
TSeqCollection * | GetListOfColors () const |
TSeqCollection * | GetListOfDataSets () const |
TCollection * | GetListOfEnums (Bool_t load=kFALSE) |
TSeqCollection * | GetListOfFiles () const |
TCollection * | GetListOfFunctionOverloads (const char *name) const |
Return the collection of functions named "name". | |
TCollection * | GetListOfFunctions () const |
TCollection * | GetListOfFunctionTemplates () |
TSeqCollection * | GetListOfGeometries () const |
TCollection * | GetListOfGlobalFunctions (Bool_t load=kFALSE) |
Return list containing the TFunctions currently defined. | |
TCollection * | GetListOfGlobals (Bool_t load=kFALSE) |
Return list containing the TGlobals currently defined. | |
TSeqCollection * | GetListOfMappedFiles () const |
TSeqCollection * | GetListOfMessageHandlers () const |
TSeqCollection * | GetListOfProofs () const |
TSeqCollection * | GetListOfSecContexts () const |
TSeqCollection * | GetListOfSockets () const |
TSeqCollection * | GetListOfSpecials () const |
TSeqCollection * | GetListOfStreamerInfo () const |
TSeqCollection * | GetListOfStyles () const |
TSeqCollection * | GetListOfTasks () const |
TCollection * | GetListOfTypes (Bool_t load=kFALSE) |
Return a dynamic list giving access to all TDataTypes (typedefs) currently defined. | |
Int_t | GetNclasses () const |
Get number of classes. | |
Int_t | GetNtypes () const |
Get number of types. | |
TPluginManager * | GetPluginManager () const |
TFolder * | GetRootFolder () const |
TVirtualPad * | GetSelectedPad () const |
const TObject * | GetSelectedPrimitive () const |
TStyle * | GetStyle (const char *name) const |
Return pointer to style with name. | |
TDataType * | GetType (const char *name, Bool_t load=kFALSE) const |
Return pointer to type with name. | |
TProcessUUID * | GetUUIDs () const |
const char * | GetVersion () const |
Int_t | GetVersionCode () const |
Int_t | GetVersionDate () const |
Int_t | GetVersionInt () const |
Int_t | GetVersionTime () const |
const TString & | GetWebDisplay () const |
void | Idle (UInt_t idleTimeInSec, const char *command=nullptr) |
Execute command when system has been idle for idleTimeInSec seconds. | |
Int_t | IgnoreInclude (const char *fname, const char *expandedfname) |
Return 1 if the name of the given include file corresponds to a class that is known to ROOT, e.g. | |
TClass * | IsA () const override |
Bool_t | IsBatch () const |
Bool_t | IsEscaped () const |
Bool_t | IsExecutingMacro () const |
Bool_t | IsFolder () const override |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
Bool_t | IsInterrupted () const |
Bool_t | IsLineProcessing () const |
Bool_t | IsProofServ () const |
Bool_t | IsRootFile (const char *filename) const |
Return true if the file is local and is (likely) to be a ROOT file. | |
Bool_t | IsWebDisplay () const |
Bool_t | IsWebDisplayBatch () const |
Int_t | LoadClass (const char *classname, const char *libname, Bool_t check=kFALSE) |
Check if class "classname" is known to the interpreter (in fact, this check is not needed anymore, so classname is ignored). | |
TClass * | LoadClass (const char *name, Bool_t silent=kFALSE) const |
Helper function used by TClass::GetClass(). | |
Int_t | LoadMacro (const char *filename, Int_t *error=nullptr, Bool_t check=kFALSE) |
Load a macro in the interpreter's memory. | |
void | ls (Option_t *option="") const override |
To list all objects of the application. | |
Longptr_t | Macro (const char *filename, Int_t *error=nullptr, Bool_t padUpdate=kTRUE) |
Execute a macro in the interpreter. | |
TCanvas * | MakeDefCanvas () const |
Return a default canvas. | |
void | Message (Int_t id, const TObject *obj) |
Process message id called by obj. | |
Bool_t | MustClean () const |
Longptr_t | ProcessLine (const char *line, Int_t *error=nullptr) |
Process interpreter command via TApplication::ProcessLine(). | |
Longptr_t | ProcessLineFast (const char *line, Int_t *error=nullptr) |
Process interpreter command directly via CINT interpreter. | |
Longptr_t | ProcessLineSync (const char *line, Int_t *error=nullptr) |
Process interpreter command via TApplication::ProcessLine(). | |
Bool_t | ReadingObject () const |
Deprecated (will be removed in next release). | |
void | RecursiveRemove (TObject *obj) override |
Recursively remove this object from the list of Cleanups. | |
void | RefreshBrowsers () |
Refresh all browsers. | |
TObject * | Remove (TObject *) override |
Remove an object from the in-memory list. | |
void | RemoveClass (TClass *) |
Remove a class from the list and map of classes. | |
void | Reset (Option_t *option="") |
Delete all global interpreter objects created since the last call to Reset. | |
void | ResetClassSaved () |
Reset the ClassSaved status of all classes. | |
void | SaveContext () |
Save the current interpreter context. | |
void | SetApplication (TApplication *app) |
void | SetBatch (Bool_t batch=kTRUE) |
Set batch mode for ROOT If the argument evaluates to true , the session does not use interactive graphics. | |
void | SetCutClassName (const char *name="TCutG") |
Set the default graphical cut class name for the graphics editor By default the graphics editor creates an instance of a class TCutG. | |
void | SetDefCanvasName (const char *name="c1") |
void | SetEditHistograms (Bool_t flag=kTRUE) |
void | SetEditorMode (const char *mode="") |
Set editor mode. | |
void | SetEscape (Bool_t flag=kTRUE) |
void | SetExecutingMacro (Bool_t flag=kTRUE) |
void | SetFromPopUp (Bool_t flag=kTRUE) |
void | SetInterrupt (Bool_t flag=kTRUE) |
void | SetLineHasBeenProcessed () |
void | SetLineIsProcessing () |
void | SetMustClean (Bool_t flag=kTRUE) |
void | SetReadingObject (Bool_t flag=kTRUE) |
void | SetSelectedPad (TVirtualPad *pad) |
void | SetSelectedPrimitive (const TObject *obj) |
void | SetStyle (const char *stylename="Default") |
Change current style to style with name stylename. | |
void | SetWebDisplay (const char *webdisplay="") |
Specify where web graphics shall be rendered. | |
void | Streamer (TBuffer &) override |
TDirectory Streamer. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | Time (Int_t casetime=1) |
Int_t | Timer () const |
Public Member Functions inherited from TDirectory | |
TDirectory () | |
Directory default constructor. | |
TDirectory (const char *name, const char *title, Option_t *option="", TDirectory *motherDir=nullptr) | |
Create a new Directory. | |
virtual | ~TDirectory () |
Destructor. | |
virtual void | Add (TObject *obj, Bool_t replace=kFALSE) |
virtual Int_t | AppendKey (TKey *) |
virtual void | Build (TFile *motherFile=nullptr, TDirectory *motherDir=nullptr) |
virtual Bool_t | cd () |
Change current directory to "this" directory. | |
virtual Bool_t | cd (const char *path) |
Change current directory to "this" directory or to the directory described by the path if given one. | |
void | Clear (Option_t *option="") override |
Delete all objects from a Directory list. | |
virtual TObject * | CloneObject (const TObject *obj, Bool_t autoadd=kTRUE) |
Clone an object. | |
virtual void | Close (Option_t *option="") |
Delete all objects from memory and directory structure itself. | |
void | Copy (TObject &) const override |
Copy this to obj. | |
void | Delete (const char *namecycle="") override |
Delete Objects or/and keys in a directory. | |
virtual void | DeleteAll (Option_t *option="") |
Delete all objects from memory. | |
void | Draw (Option_t *option="") override |
Fill Graphics Structure and Paint. | |
virtual TKey * | FindKey (const char *) const |
virtual TKey * | FindKeyAny (const char *) const |
virtual TObject * | Get (const char *namecycle) |
Return pointer to object identified by namecycle. | |
template<class T > | |
T * | Get (const char *namecycle) |
See documentation of TDirectoryFile::Get(const char *namecycle) | |
virtual Int_t | GetBufferSize () const |
virtual TDirectory * | GetDirectory (const char *namecycle, Bool_t printError=false, const char *funcname="GetDirectory") |
Find a directory using apath. | |
virtual TKey * | GetKey (const char *, Short_t=9999) const |
virtual TList * | GetList () const |
virtual TList * | GetListOfKeys () const |
TObject * | GetMother () const |
TDirectory * | GetMotherDir () const |
virtual Int_t | GetNbytesKeys () const |
virtual Int_t | GetNkeys () const |
template<class T > | |
void | GetObject (const char *namecycle, T *&ptr) |
Get an object with proper type checking. | |
virtual void * | GetObjectChecked (const char *namecycle, const char *classname) |
See documentation of TDirectory::GetObjectCheck(const char *namecycle, const TClass *cl) | |
virtual void * | GetObjectChecked (const char *namecycle, const TClass *cl) |
Return pointer to object identified by namecycle if and only if the actual object is a type suitable to be stored as a pointer to a "expectedClass" If expectedClass is null, no check is performed. | |
virtual void * | GetObjectUnchecked (const char *namecycle) |
Return pointer to object identified by namecycle. | |
virtual const char * | GetPath () const |
Returns the full path of the directory. | |
virtual const char * | GetPathStatic () const |
Returns the full path of the directory. | |
virtual Long64_t | GetSeekDir () const |
virtual Long64_t | GetSeekKeys () const |
virtual Long64_t | GetSeekParent () const |
TUUID | GetUUID () const |
Bool_t | IsBuilt () const |
virtual Bool_t | IsModified () const |
virtual Bool_t | IsWritable () const |
virtual TDirectory * | mkdir (const char *name, const char *title="", Bool_t returnExistingDirectory=kFALSE) |
Create a sub-directory "a" or a hierarchy of sub-directories "a/b/c/...". | |
virtual TFile * | OpenFile (const char *, Option_t *="", const char *="", Int_t=1, Int_t=0) |
void | Paint (Option_t *option="") override |
Paint all objects in the directory. | |
void | Print (Option_t *option="") const override |
Print all objects in the directory. | |
virtual void | Purge (Short_t=1) |
virtual void | pwd () const |
Print the path of the directory. | |
virtual void | ReadAll (Option_t *="") |
virtual Int_t | ReadKeys (Bool_t=kTRUE) |
virtual Int_t | ReadTObject (TObject *, const char *) |
virtual void | rmdir (const char *name) |
Removes subdirectory from the directory When directory is deleted, all keys in all subdirectories will be read first and deleted from file (if exists) Equivalent call is Delete("name;*");. | |
virtual void | Save () |
virtual Int_t | SaveObjectAs (const TObject *, const char *="", Option_t *="") const |
Save object in filename, if filename is nullptr or "", a file with "<objectname>.root" is created. | |
virtual void | SaveSelf (Bool_t=kFALSE) |
virtual void | SetBufferSize (Int_t) |
virtual void | SetModified () |
virtual void | SetMother (TObject *mother) |
void | SetName (const char *newname) override |
Set the name for directory If the directory name is changed after the directory was written once, ROOT currently would NOT change the name of correspondent key in the mother directory. | |
virtual void | SetSeekDir (Long64_t) |
virtual void | SetTRefAction (TObject *, TObject *) |
virtual void | SetWritable (Bool_t) |
Int_t | Sizeof () const override |
Return size of the TNamed part of the TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual Int_t | Write (const char *=nullptr, Int_t=0, Int_t=0) const override |
Write this object to the current directory. | |
virtual Int_t | Write (const char *=nullptr, Int_t=0, Int_t=0) override |
Write this object to the current directory. | |
virtual void | WriteDirHeader () |
virtual void | WriteKeys () |
template<typename T > | |
std::enable_if_t<!std::is_base_of< TObject, T >::value, Int_t > | WriteObject (const T *obj, const char *name, Option_t *option="", Int_t bufsize=0) |
Write an object with proper type checking. | |
template<typename T > | |
std::enable_if_t< std::is_base_of< TObject, T >::value, Int_t > | WriteObject (const T *obj, const char *name, Option_t *option="", Int_t bufsize=0) |
Write an object with proper type checking. | |
virtual Int_t | WriteObjectAny (const void *, const char *, const char *, Option_t *="", Int_t=0) |
virtual Int_t | WriteObjectAny (const void *, const TClass *, const char *, Option_t *="", Int_t=0) |
virtual Int_t | WriteTObject (const TObject *obj, const char *name=nullptr, Option_t *="", Int_t=0) |
Write an object with proper type checking. | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed copy ctor. | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
TNamed destructor. | |
void | Clear (Option_t *option="") override |
Set name and title to empty strings (""). | |
TObject * | Clone (const char *newname="") const override |
Make a clone of an object using the Streamer facility. | |
Int_t | Compare (const TObject *obj) const override |
Compare two TNamed objects. | |
void | Copy (TObject &named) const override |
Copy this to obj. | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. | |
const char * | GetName () const override |
Returns name of object. | |
const char * | GetTitle () const override |
Returns title of object. | |
ULong_t | Hash () const override |
Return hash value for this object. | |
Bool_t | IsSortable () const override |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. | |
void | Print (Option_t *option="") const override |
Print TNamed name and title. | |
virtual void | SetNameTitle (const char *name, const char *title) |
Set all the TNamed parameters (name and title). | |
virtual void | SetTitle (const char *title="") |
Set the title of the TNamed. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
Execute method on this object with the given parameter string, e.g. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
IsDestructed. | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification (the base implementation is no-op). | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete (void *ptr, void *vp) |
Only called by placement new when throwing an exception. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void | operator delete[] (void *ptr, void *vp) |
Only called by placement new[] when throwing an exception. | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
Static Public Member Functions | |
static const std::vector< std::string > & | AddExtraInterpreterArgs (const std::vector< std::string > &args) |
Provide command line arguments to the interpreter construction. | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static Int_t | ConvertVersionCode2Int (Int_t code) |
Convert version code to an integer, i.e. 331527 -> 51507. | |
static Int_t | ConvertVersionInt2Code (Int_t v) |
Convert version as an integer to version code as used in RVersion.h. | |
static const char * | DeclFileName () |
static Int_t | DecreaseDirLevel () |
Decrease the indentation level for ls(). | |
static const TString & | GetBinDir () |
Get the binary directory in the installation. Static utility function. | |
static const TString & | GetDataDir () |
Get the data directory in the installation. Static utility function. | |
static Int_t | GetDirLevel () |
return directory level | |
static const TString & | GetDocDir () |
Get the documentation directory in the installation. Static utility function. | |
static const TString & | GetEtcDir () |
Get the sysconfig directory in the installation. Static utility function. | |
static const char **& | GetExtraInterpreterArgs () |
INTERNAL function! Used by rootcling to inject interpreter arguments through a C-interface layer. | |
static const TString & | GetIconPath () |
Get the icon path in the installation. Static utility function. | |
static const TString & | GetIncludeDir () |
Get the include directory in the installation. Static utility function. | |
static const TString & | GetLibDir () |
Get the library directory in the installation. Static utility function. | |
static const TString & | GetMacroDir () |
Get the macro directory in the installation. Static utility function. | |
static const char * | GetMacroPath () |
Get macro search path. Static utility function. | |
static const TString & | GetRootSys () |
Get the rootsys directory in the installation. Static utility function. | |
static const TString & | GetSharedLibDir () |
Get the shared libraries directory in the installation. Static utility function. | |
static const TString & | GetSourceDir () |
Get the source directory in the installation. Static utility function. | |
static const TString & | GetTTFFontDir () |
Get the fonts directory in the installation. Static utility function. | |
static const TString & | GetTutorialDir () |
Get the tutorials directory in the installation. Static utility function. | |
static const char * | GetTutorialsDir () |
Get the tutorials directory in the installation. | |
static Int_t | IncreaseDirLevel () |
Increase the indentation level for ls(). | |
static void | IndentLevel () |
Functions used by ls() to indent an object hierarchy. | |
static void | Initialize () |
Initialize ROOT explicitly. | |
static Bool_t | Initialized () |
Return kTRUE if the TROOT object has been initialized. | |
static void | RegisterModule (const char *modulename, const char **headers, const char **includePaths, const char *payLoadCode, const char *fwdDeclCode, void(*triggerFunc)(), const FwdDeclArgsToKeepCollection_t &fwdDeclsArgToSkip, const char **classesHeaders, bool hasCxxModule=false) |
Called by static dictionary initialization to register clang modules for headers. | |
static Int_t | RootVersionCode () |
Return ROOT version code as defined in RVersion.h. | |
static void | SetDirLevel (Int_t level=0) |
Return Indentation level for ls(). | |
static void | SetMacroPath (const char *newpath) |
Set or extend the macro search path. | |
static void | ShutDown () |
Shut down ROOT. | |
Static Public Member Functions inherited from TDirectory | |
static void | AddDirectory (Bool_t add=kTRUE) |
Sets the flag controlling the automatic add objects like histograms, TGraph2D, etc in memory. | |
static Bool_t | AddDirectoryStatus () |
Static function: see TDirectory::AddDirectory for more comments. | |
static Bool_t | Cd (const char *path) |
Change current directory to "path". | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static std::atomic< TDirectory * > & | CurrentDirectory () |
Return the current directory for the current thread. | |
static const char * | DeclFileName () |
static void | DecodeNameCycle (const char *namecycle, char *name, Short_t &cycle, const size_t namesize=0) |
Decode a namecycle "aap;2" into name "aap" and cycle "2". | |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Protected Types | |
typedef std::atomic< TListOfEnums * > | AListOfEnums_t |
Protected Types inherited from TDirectory | |
using | SharedGDirectory_t = std::shared_ptr< std::atomic< TDirectory * > > |
Pointer to a list of TContext object pointing to this TDirectory. | |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
Protected Member Functions | |
TROOT () | |
Only used by Dictionary. | |
TListOfFunctions * | GetGlobalFunctions () |
Internal routine returning, and creating if necessary, the list of global function. | |
void | InitInterpreter () |
Initialize interpreter (cling) | |
void | InitSystem () |
Operating System interface. | |
void | InitThreads () |
Initialize threads library. | |
void * | operator new (size_t l) |
void * | operator new (size_t l, void *ptr) |
void | ReadGitInfo () |
Read Git commit SHA1 and branch name. | |
Protected Member Functions inherited from TDirectory | |
TDirectory (const TDirectory &directory)=delete | |
void | BuildDirectory (TFile *motherFile, TDirectory *motherDir) |
Initialise directory to defaults. | |
Bool_t | cd1 (const char *path) |
flag to add histograms, graphs,etc to the directory | |
void | CleanTargets () |
Clean the pointers to this object (gDirectory, TContext, etc.). | |
void | FillFullPath (TString &buf) const |
Recursive method to fill full path for directory. | |
void | operator= (const TDirectory &)=delete |
void | RegisterContext (TContext *ctxt) |
Register a TContext pointing to this TDirectory object. | |
void | RegisterGDirectory (SharedGDirectory_t &ptr) |
Register a std::atomic<TDirectory*> that will soon be pointing to this TDirectory object. | |
void | UnregisterContext (TContext *ctxt) |
UnRegister a TContext pointing to this TDirectory object. | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). | |
void | MakeZombie () |
Protected Attributes | |
std::atomic< TApplication * > | fApplication |
Pointer to current application. | |
Bool_t | fBatch |
True if session without graphics. | |
TList * | fBrowsables |
List of browsables. | |
TSeqCollection * | fBrowsers |
List of browsers. | |
Int_t | fBuiltDate |
Date of ROOT built. | |
Int_t | fBuiltTime |
Time of ROOT built. | |
TSeqCollection * | fCanvases |
List of canvases. | |
TCollection * | fClasses |
List of classes definition. | |
TCollection * | fClassGenerators |
List of user defined class generators;. | |
TSeqCollection * | fCleanups |
List of recursiveRemove collections. | |
TSeqCollection * | fClipboard |
List of clipboard objects. | |
TSeqCollection * | fClosedObjects |
List of closed objects from the list of files and sockets, so we can delete them if neededCl. | |
TSeqCollection * | fColors |
List of colors. | |
TString | fConfigFeatures |
ROOT ./configure detected build features. | |
TString | fConfigOptions |
ROOT ./configure set build options. | |
TString | fCutClassName |
Name of default CutG class in graphics editor. | |
TSeqCollection * | fDataSets |
List of data sets (TDSet or TChain) | |
TString | fDefCanvasName |
Name of default canvas. | |
Bool_t | fEditHistograms |
True if histograms can be edited with the mouse. | |
Int_t | fEditorMode |
Current Editor mode. | |
AListOfEnums_t | fEnums |
List of enum types. | |
Bool_t | fEscape |
True if ESC has been pressed. | |
Bool_t | fExecutingMacro |
True while executing a TMacro. | |
TSeqCollection * | fFiles |
List of files. | |
Bool_t | fForceStyle |
Force setting of current style when reading objects. | |
Bool_t | fFromPopUp |
True if command executed from a popup menu. | |
TListOfFunctionTemplates * | fFuncTemplate |
List of global function templates. | |
TCollection * | fFunctions |
List of analytic functions. | |
TSeqCollection * | fGeometries |
List of geometries. | |
TString | fGitBranch |
Git branch. | |
TString | fGitCommit |
Git commit SHA1 of built. | |
TString | fGitDate |
Date and time when make was run. | |
TListOfFunctions * | fGlobalFunctions |
List of global functions. | |
TListOfDataMembers * | fGlobals |
List of global variables. | |
TInterpreter * | fInterpreter |
Command interpreter. | |
Bool_t | fInterrupt |
True if macro should be interrupted. | |
Bool_t | fIsWebDisplay |
True if session uses web widgets. | |
Bool_t | fIsWebDisplayBatch |
True if web widgets are not displayed. | |
TSeqCollection * | fMappedFiles |
List of memory mapped files. | |
TSeqCollection * | fMessageHandlers |
List of message handlers. | |
Bool_t | fMustClean |
True if object destructor scans canvases. | |
TPluginManager * | fPluginManager |
Keeps track of plugin library handlers. | |
const TObject * | fPrimitive |
Currently selected primitive. | |
TSeqCollection * | fProofs |
List of proof sessions. | |
TFolder * | fRootFolder |
top level folder //root | |
TSeqCollection * | fSecContexts |
List of security contexts (TSecContext) | |
TVirtualPad * | fSelectPad |
Currently selected pad. | |
TSeqCollection * | fSockets |
List of network sockets. | |
TSeqCollection * | fSpecials |
List of special objects. | |
TSeqCollection * | fStreamerInfo |
List of active StreamerInfo classes. | |
TSeqCollection * | fStyles |
List of styles. | |
TSeqCollection * | fTasks |
List of tasks. | |
Int_t | fTimer |
Timer flag. | |
TCollection * | fTypes |
List of data types definition. | |
TProcessUUID * | fUUIDs |
Pointer to TProcessID managing TUUIDs. | |
TString | fVersion |
ROOT version (from CMZ VERSQQ) ex 0.05/01. | |
Int_t | fVersionCode |
ROOT version code as used in RVersion.h. | |
Int_t | fVersionDate |
Date of ROOT version (ex 951226) | |
Int_t | fVersionInt |
ROOT version in integer format (501) | |
Int_t | fVersionTime |
Time of ROOT version (ex 1152) | |
TString | fWebDisplay |
If not empty it defines where web graphics should be rendered (cef, qt5, browser...) | |
Protected Attributes inherited from TDirectory | |
TContext * | fContext {nullptr} |
Buffer for GetPath() function. | |
std::atomic< size_t > | fContextPeg {0} |
thread local gDirectory pointing to this object. | |
std::vector< SharedGDirectory_t > | fGDirectories |
TList * | fList {nullptr} |
TObject * | fMother {nullptr} |
TString | fPathBuffer |
std::atomic_flag | fSpinLock |
Counter delaying the TDirectory destructor from finishing. | |
TUUID | fUUID |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Private Member Functions | |
TROOT (const TROOT &)=delete | |
TROOT & | operator= (const TROOT &)=delete |
Private Attributes | |
Int_t | fLineIsProcessing |
To synchronize multi-threads. | |
Static Private Attributes | |
static Int_t | fgDirLevel = 0 |
Indentation level for ls() | |
static Bool_t | fgRootInit = kFALSE |
Singleton initialization flag. | |
Friends | |
class | ::ROOT::Internal::TROOTAllocator |
TROOT * | ROOT::Internal::GetROOT2 () |
class | TCling |
Additional Inherited Members | |
Static Protected Member Functions inherited from TDirectory | |
static Bool_t | Cd1 (const char *path) |
Change current directory to "path". | |
static SharedGDirectory_t & | GetSharedLocalCurrentDirectory () |
Return the (address of) a shared pointer to the struct holding the actual thread local gDirectory pointer and the atomic_flag for its lock. | |
Static Protected Attributes inherited from TDirectory | |
static Bool_t | fgAddDirectory = kTRUE |
MSVC doesn't support = ATOMIC_FLAG_INIT;. | |
#include <TROOT.h>
|
protected |
typedef std::vector<std::pair<std::string, int> > TROOT::FwdDeclArgsToKeepCollection_t |
|
privatedelete |
|
protected |
TROOT::TROOT | ( | const char * | name, |
const char * | title, | ||
VoidFuncPtr_t * | initfunc = nullptr |
||
) |
Initialize the ROOT system.
The creation of the TROOT object initializes the ROOT system. It must be the first ROOT related action that is performed by a program. The TROOT object must be created on the stack (can not be called via new since "operator new" is protected). The TROOT object is either created as a global object (outside the main() program), or it is one of the first objects created in main(). Make sure that the TROOT object stays in scope for as long as ROOT related actions are performed. TROOT is a so called singleton so only one instance of it can be created. The single TROOT object can always be accessed via the global pointer gROOT. The name and title arguments can be used to identify the running application. The initfunc argument can contain an array of function pointers (last element must be 0). These functions are executed at the end of the constructor. This way one can easily extend the ROOT system without adding permanent dependencies (e.g. the graphics system is initialized via such a function).
|
virtual |
void TROOT::AddClass | ( | TClass * | cl | ) |
Add a class to the list and map of classes.
This routine is deprecated, use TClass::AddClass directly.
void TROOT::AddClassGenerator | ( | TClassGenerator * | generator | ) |
Add a class generator.
This generator will be called by TClass::GetClass in case its does not find a loaded rootcint dictionary to request the creation of a TClass object.
|
static |
Provide command line arguments to the interpreter construction.
These arguments are added to the existing flags (e.g. -DNDEBUG
). They are evaluated once per process, at the time where TROOT (and thus TInterpreter) is constructed. Returns the new flags.
Append object to this directory.
If replace is true: remove any existing objects with the same same (if the name is not "")
Reimplemented from TDirectory.
|
overridevirtual |
Add browsable objects to TBrowser.
Reimplemented from TDirectory.
|
static |
|
inlinestaticconstexpr |
void TROOT::CloseFiles | ( | ) |
Convert version as an integer to version code as used in RVersion.h.
|
inlinestatic |
|
static |
void TROOT::EndOfProcessCleanups | ( | ) |
|
overridevirtual |
Returns address of a ROOT object if it exists.
If name contains at least one "/" the function calls FindObjectany else This function looks in the following order in the ROOT lists:
Reimplemented from TDirectory.
Find an object in one Root folder.
Reimplemented from TDirectory.
|
overridevirtual |
Return a pointer to the first object with name starting at //root.
This function scans the list of all folders. if no object found in folders, it scans the memory list of all files.
Reimplemented from TDirectory.
|
overridevirtual |
Scan the memory lists of all files for an object with name.
Reimplemented from TDirectory.
const char * TROOT::FindObjectClassName | ( | const char * | name | ) | const |
const char * TROOT::FindObjectPathName | ( | const TObject * | obj | ) | const |
Return path name of obj somewhere in the //root/... path.
The function returns the first occurence of the object in the list of folders. The returned string points to a static char array in TROOT. If this function is called in a loop or recursively, it is the user's responsibility to copy this string in their area.
TObject * TROOT::FindSpecialObject | ( | const char * | name, |
void *& | where | ||
) |
Returns address and folder of a ROOT object if it exists.
This function looks in the following order in the ROOT lists:
|
inline |
|
static |
Return pointer to class with name. Obsolete, use TClass::GetClass directly.
TClass * TROOT::GetClass | ( | const std::type_info & | typeinfo, |
Bool_t | load = kTRUE , |
||
Bool_t | silent = kFALSE |
||
) | const |
Return pointer to class from its name.
Obsolete, use TClass::GetClass directly See TClass::GetClass
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlineoverridevirtual |
Reimplemented from TDirectory.
TFile * TROOT::GetFile | ( | const char * | name | ) | const |
TObject * TROOT::GetFunction | ( | const char * | name | ) | const |
TFunctionTemplate * TROOT::GetFunctionTemplate | ( | const char * | name | ) |
TObject * TROOT::GetGeometry | ( | const char * | name | ) | const |
const char * TROOT::GetGitDate | ( | ) |
TFunction * TROOT::GetGlobalFunction | ( | const char * | function, |
const char * | params = nullptr , |
||
Bool_t | load = kFALSE |
||
) |
Return pointer to global function by name.
If params != 0 it will also resolve overloading other it returns the first name match. If params == 0 and load is true force reading of all currently defined global functions from Cling. The param string must be of the form: "3189,\"aap\",1.3".
|
protected |
|
static |
|
static |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TCollection * TROOT::GetListOfEnums | ( | Bool_t | load = kFALSE | ) |
|
inline |
TCollection * TROOT::GetListOfFunctionOverloads | ( | const char * | name | ) | const |
|
inline |
TCollection * TROOT::GetListOfFunctionTemplates | ( | ) |
|
inline |
TCollection * TROOT::GetListOfGlobalFunctions | ( | Bool_t | load = kFALSE | ) |
Return list containing the TFunctions currently defined.
Since functions are created and deleted during execution of the program, we need to update the list of functions every time we execute this method. However, when calling this function in a (tight) loop where no interpreter symbols will be created you can set load=kFALSE (default).
TCollection * TROOT::GetListOfGlobals | ( | Bool_t | load = kFALSE | ) |
Return list containing the TGlobals currently defined.
Since globals are created and deleted during execution of the program, we need to update the list of globals every time we execute this method. However, when calling this function in a (tight) loop where no interpreter symbols will be created you can set load=kFALSE (default).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TCollection * TROOT::GetListOfTypes | ( | Bool_t | load = kFALSE | ) |
Return a dynamic list giving access to all TDataTypes (typedefs) currently defined.
The list is populated on demand. Calling
will return the TDataType corresponding to 'nameoftype'. If the TDataType is not already in the list itself and the type does exist, a new TDataType will be created and added to the list.
Calling
list only the typedefs that have been previously accessed through the list (plus the builtins types).
|
static |
|
static |
Int_t TROOT::GetNclasses | ( | ) | const |
|
inline |
|
static |
|
inline |
|
inline |
|
static |
|
static |
TStyle * TROOT::GetStyle | ( | const char * | name | ) | const |
|
static |
|
static |
|
static |
|
inline |
void TROOT::Idle | ( | UInt_t | idleTimeInSec, |
const char * | command = nullptr |
||
) |
Int_t TROOT::IgnoreInclude | ( | const char * | fname, |
const char * | expandedfname | ||
) |
Return 1 if the name of the given include file corresponds to a class that is known to ROOT, e.g.
"TLorentzVector.h" versus TLorentzVector.
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
inlineoverridevirtual |
Reimplemented from TDirectory.
|
inlineoverridevirtual |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Reimplemented from TDirectory.
Bool_t TROOT::IsRootFile | ( | const char * | filename | ) | const |
Check if class "classname" is known to the interpreter (in fact, this check is not needed anymore, so classname is ignored).
If not it will load library "libname". If the library couldn't be found with original libname and if the name was not prefixed with lib, try to prefix with "lib" and search again. If DynamicPathName still couldn't find the library, return -1. If check is true it will only check if libname exists and is readable. Returns 0 on successful loading, -1 in case libname does not exist or in case of error and -2 in case of version mismatch.
Helper function used by TClass::GetClass().
This function attempts to load the dictionary for 'classname' either from the TClassTable or from the list of generator. If silent is 'true', do not warn about missing dictionary for the class. (typically used for class that are used only for transient members)
The 'requestedname' is expected to be already normalized.
Load a macro in the interpreter's memory.
Equivalent to the command line command ".L filename". If the filename has "+" or "++" appended the macro will be compiled by ACLiC. The filename must have the format: [path/]macro.C[+|++[g|O]]. The possible error codes are defined by TInterpreter::EErrorCode. If check is true it will only check if filename exists and is readable. Returns 0 on successful loading and -1 in case filename does not exist or in case of error.
|
overridevirtual |
To list all objects of the application.
Loop on all objects created in the ROOT linked lists. Objects may be files and windows or any other object directly attached to the ROOT linked list.
Reimplemented from TDirectory.
Execute a macro in the interpreter.
Equivalent to the command line command ".x filename". If the filename has "+" or "++" appended the macro will be compiled by ACLiC. The filename must have the format: [path/]macro.C[+|++[g|O]][(args)]. The possible error codes are defined by TInterpreter::EErrorCode. If padUpdate is true (default) update the current pad. Returns the macro return value.
TCanvas * TROOT::MakeDefCanvas | ( | ) | const |
|
inlineprotected |
Process interpreter command via TApplication::ProcessLine().
On Win32 the line will be processed asynchronously by sending it to the CINT interpreter thread. For explicit synchronous processing use ProcessLineSync(). On non-Win32 platforms there is no difference between ProcessLine() and ProcessLineSync(). The possible error codes are defined by TInterpreter::EErrorCode. In particular, error will equal to TInterpreter::kProcessing until the CINT interpreted thread has finished executing the line. Returns the result of the command, cast to a Longptr_t.
Process interpreter command directly via CINT interpreter.
Only executable statements are allowed (no variable declarations), In all other cases use TROOT::ProcessLine(). The possible error codes are defined by TInterpreter::EErrorCode.
Process interpreter command via TApplication::ProcessLine().
On Win32 the line will be processed synchronously (i.e. it will only return when the CINT interpreter thread has finished executing the line). On non-Win32 platforms there is no difference between ProcessLine() and ProcessLineSync(). The possible error codes are defined by TInterpreter::EErrorCode. Returns the result of the command, cast to a Longptr_t.
|
protected |
Bool_t TROOT::ReadingObject | ( | ) | const |
|
overridevirtual |
Recursively remove this object from the list of Cleanups.
Typically RecursiveRemove is implemented by classes that can contain mulitple references to a same object or shared ownership of the object with others.
Reimplemented from TDirectory.
void TROOT::RefreshBrowsers | ( | ) |
Refresh all browsers.
Call this method when some command line command or script has changed the browser contents. Not needed for objects that have the kMustCleanup bit set. Most useful to update browsers that show the file system or other objects external to the running ROOT session.
|
static |
Called by static dictionary initialization to register clang modules for headers.
Calls TCling::RegisterModule() unless gCling is NULL, i.e. during startup, where the information is buffered in the static GetModuleHeaderInfoBuffer().
Remove an object from the in-memory list.
Since TROOT is global resource, this is lock protected.
Reimplemented from TDirectory.
void TROOT::RemoveClass | ( | TClass * | oldcl | ) |
Remove a class from the list and map of classes.
This routine is deprecated, use TClass::RemoveClass directly.
void TROOT::Reset | ( | Option_t * | option = "" | ) |
Delete all global interpreter objects created since the last call to Reset.
If option="a" is set reset to startup context (i.e. unload also all loaded files, classes, structs, typedefs, etc.).
This function is typically used at the beginning (or end) of an unnamed macro to clean the environment.
IMPORTANT WARNING: Do not use this call from within any function (neither compiled nor interpreted. This should only be used from a unnamed macro (which starts with a { (curly braces) ). For example, using TROOT::Reset from within an interpreted function will lead to the unloading of the dictionary and source file, including the one defining the function being executed.
void TROOT::ResetClassSaved | ( | ) |
|
static |
Return ROOT version code as defined in RVersion.h.
void TROOT::SaveContext | ( | ) |
|
inline |
void TROOT::SetCutClassName | ( | const char * | name = "TCutG" | ) |
|
inline |
|
static |
void TROOT::SetEditorMode | ( | const char * | mode = "" | ) |
|
static |
|
inline |
|
inline |
void TROOT::SetStyle | ( | const char * | stylename = "Default" | ) |
void TROOT::SetWebDisplay | ( | const char * | webdisplay = "" | ) |
Specify where web graphics shall be rendered.
The input parameter webdisplay
defines where web graphics is rendered. webdisplay
parameter may contain:
qt5web
component build for ROOT)qt6web
component build for ROOT)cefweb
component build for ROOT)xdg-open
on Linux, start
on Mac or open
on Windows
|
overridevirtual |
TDirectory Streamer.
Reimplemented from TDirectory.
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
List of security contexts (TSecContext)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Pointer to TProcessID managing TUUIDs.
|
protected |
|
protected |
ROOT version code as used in RVersion.h.
|
protected |
|
protected |
|
protected |
|
protected |