Logo ROOT  
Reference Guide
TROOT.h
Go to the documentation of this file.
1 // @(#)root/base:$Id$
2 // Author: Rene Brun 08/12/94
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TROOT
13 #define ROOT_TROOT
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TROOT //
19 // //
20 // The TROOT object is the entry point to the system. //
21 // The single instance of TROOT is accessible via the global gROOT. //
22 // Using the gROOT pointer one has access to basically every object //
23 // created in a ROOT based program. The TROOT object is essentially a //
24 // "dispatcher" with several lists pointing to the ROOT main objects. //
25 // //
26 //////////////////////////////////////////////////////////////////////////
27 
28 #include "TDirectory.h"
29 // #include "TList.h" // included in TDirectory.h
30 // #include "RConfigure.h" // included via Rtypes.h
31 
32 #include <atomic>
33 #include <string>
34 #include <vector>
35 #include <utility>
36 
37 class TClass;
38 class TCanvas;
39 class TColor;
40 class TDataType;
41 class TFile;
42 class TStyle;
43 class TVirtualPad;
44 class TApplication;
45 class TInterpreter;
46 class TBrowser;
47 class TGlobal;
48 class TFunction;
49 class TFolder;
50 class TPluginManager;
51 class TProcessUUID;
52 class TClassGenerator;
53 class TVirtualMutex;
54 class TROOT;
55 class TListOfDataMembers;
56 class TListOfEnums;
57 class TListOfFunctions;
59 class TSeqCollection;
60 class TFunctionTemplate;
62 
64 
65 namespace ROOT {
66 namespace Internal {
67  class TROOTAllocator;
68 
69  TROOT *GetROOT2();
70 
71  // Manage parallel branch processing
76  public:
79  };
80 } } // End ROOT::Internal
81 
82 namespace ROOT {
83  // Enable support for multi-threading within the ROOT code,
84  // in particular, enables the global mutex to make ROOT thread safe/aware.
85  void EnableThreadSafety();
86  /// \brief Enable ROOT's implicit multi-threading for all objects and methods that provide an internal
87  /// parallelisation mechanism.
88  void EnableImplicitMT(UInt_t numthreads = 0);
89  void DisableImplicitMT();
92 }
93 
94 class TROOT : public TDirectory {
95 
96 friend class TCling;
98 
99 private:
100  Int_t fLineIsProcessing; //To synchronize multi-threads
101 
102  static Int_t fgDirLevel; //Indentation level for ls()
103  static Bool_t fgRootInit; //Singleton initialization flag
104  static Bool_t fgMemCheck; //Turn on memory leak checker
105 
106  TROOT(const TROOT&); //Not implemented
107  TROOT& operator=(const TROOT&); //Not implemented
108 
109 protected:
110  typedef std::atomic<TListOfEnums*> AListOfEnums_t;
111 
112  TString fConfigOptions; //ROOT ./configure set build options
113  TString fConfigFeatures; //ROOT ./configure detected build features
114  TString fVersion; //ROOT version (from CMZ VERSQQ) ex 0.05/01
115  Int_t fVersionInt; //ROOT version in integer format (501)
116  Int_t fVersionCode; //ROOT version code as used in RVersion.h
117  Int_t fVersionDate; //Date of ROOT version (ex 951226)
118  Int_t fVersionTime; //Time of ROOT version (ex 1152)
119  Int_t fBuiltDate; //Date of ROOT built
120  Int_t fBuiltTime; //Time of ROOT built
121  TString fGitCommit; //Git commit SHA1 of built
122  TString fGitBranch; //Git branch
123  TString fGitDate; //Date and time when make was run
124  Int_t fTimer; //Timer flag
125  std::atomic<TApplication*> fApplication; //Pointer to current application
126  TInterpreter *fInterpreter; //Command interpreter
127  Bool_t fBatch; //True if session without graphics
128  TString fWebDisplay; //If not empty it defines where web graphics should be rendered (cef, qt5, browser...)
129  Bool_t fIsWebDisplay; //True if session with graphics on web
130  Bool_t fIsWebDisplayBatch; //True if session with graphics on web and batch mode
131  Bool_t fEditHistograms; //True if histograms can be edited with the mouse
132  Bool_t fFromPopUp; //True if command executed from a popup menu
133  Bool_t fMustClean; //True if object destructor scans canvases
134  Bool_t fForceStyle; //Force setting of current style when reading objects
135  Bool_t fInterrupt; //True if macro should be interrupted
136  Bool_t fEscape; //True if ESC has been pressed
137  Bool_t fExecutingMacro; //True while executing a TMacro
138  Int_t fEditorMode; //Current Editor mode
139  const TObject *fPrimitive; //Currently selected primitive
140  TVirtualPad *fSelectPad; //Currently selected pad
141  TCollection *fClasses; //List of classes definition
142  TCollection *fTypes; //List of data types definition
143  TListOfFunctionTemplates *fFuncTemplate; //List of global function templates
144  TListOfDataMembers*fGlobals; //List of global variables
145  TListOfFunctions*fGlobalFunctions; //List of global functions
146  TSeqCollection *fClosedObjects; //List of closed objects from the list of files and sockets, so we can delete them if neededCl.
147  TSeqCollection *fFiles; //List of files
148  TSeqCollection *fMappedFiles; //List of memory mapped files
149  TSeqCollection *fSockets; //List of network sockets
150  TSeqCollection *fCanvases; //List of canvases
151  TSeqCollection *fStyles; //List of styles
152  TCollection *fFunctions; //List of analytic functions
153  TSeqCollection *fTasks; //List of tasks
154  TSeqCollection *fColors; //List of colors
155  TSeqCollection *fGeometries; //List of geometries
156  TSeqCollection *fBrowsers; //List of browsers
157  TSeqCollection *fSpecials; //List of special objects
158  TSeqCollection *fCleanups; //List of recursiveRemove collections
159  TSeqCollection *fMessageHandlers; //List of message handlers
160  TSeqCollection *fStreamerInfo; //List of active StreamerInfo classes
161  TCollection *fClassGenerators; //List of user defined class generators;
162  TSeqCollection *fSecContexts; //List of security contexts (TSecContext)
163  TSeqCollection *fProofs; //List of proof sessions
164  TSeqCollection *fClipboard; //List of clipboard objects
165  TSeqCollection *fDataSets; //List of data sets (TDSet or TChain)
166  AListOfEnums_t fEnums; //List of enum types
167  TProcessUUID *fUUIDs; //Pointer to TProcessID managing TUUIDs
168  TFolder *fRootFolder; //top level folder //root
169  TList *fBrowsables; //List of browsables
170  TPluginManager *fPluginManager; //Keeps track of plugin library handlers
171  TString fCutClassName; //Name of default CutG class in graphics editor
172  TString fDefCanvasName; //Name of default canvas
173 
174  TROOT(); //Only used by Dictionary
175  void InitSystem(); //Operating System interface
176  void InitThreads(); //Initialize threads library
177  void InitInterpreter(); //Initialize interpreter (cling)
178  void ReadGitInfo(); //Read Git commit SHA1 and branch name
179  void *operator new(size_t l) { return TObject::operator new(l); }
180  void *operator new(size_t l, void *ptr) { return TObject::operator new(l,ptr); }
181 
182  friend class ::ROOT::Internal::TROOTAllocator;
183 
185 
186 public:
187 
188  typedef std::vector<std::pair<std::string, int> > FwdDeclArgsToKeepCollection_t;
189 
190  TROOT(const char *name, const char *title, VoidFuncPtr_t *initfunc = 0);
191  virtual ~TROOT();
192  void AddClass(TClass *cl);
194  virtual void Append(TObject *obj, Bool_t replace = kFALSE);
195  void Browse(TBrowser *b);
196  Bool_t ClassSaved(TClass *cl);
197  void CloseFiles();
198  void EndOfProcessCleanups();
199  virtual TObject *FindObject(const char *name) const;
200  virtual TObject *FindObject(const TObject *obj) const;
201  virtual TObject *FindObjectAny(const char *name) const;
202  virtual TObject *FindObjectAnyFile(const char *name) const;
203  TObject *FindSpecialObject(const char *name, void *&where);
204  const char *FindObjectClassName(const char *name) const;
205  const char *FindObjectPathName(const TObject *obj) const;
206  TClass *FindSTLClass(const char *name, Bool_t load, Bool_t silent = kFALSE) const;
207  void ForceStyle(Bool_t force = kTRUE) { fForceStyle = force; }
208  Bool_t FromPopUp() const { return fFromPopUp; }
212  TClass *GetClass(const char *name, Bool_t load = kTRUE, Bool_t silent = kFALSE) const;
213  TClass *GetClass(const std::type_info &typeinfo, Bool_t load = kTRUE, Bool_t silent = kFALSE) const;
214  TColor *GetColor(Int_t color) const;
215  const char *GetConfigOptions() const { return fConfigOptions; }
216  const char *GetConfigFeatures() const { return fConfigFeatures; }
217  const char *GetCutClassName() const { return fCutClassName; }
218  const char *GetDefCanvasName() const { return fDefCanvasName; }
220  Int_t GetEditorMode() const { return fEditorMode; }
221  Bool_t GetForceStyle() const { return fForceStyle; }
222  Int_t GetBuiltDate() const { return fBuiltDate; }
223  Int_t GetBuiltTime() const { return fBuiltTime; }
224  const char *GetGitCommit() const { return fGitCommit; }
225  const char *GetGitBranch() const { return fGitBranch; }
226  const char *GetGitDate();
227  Int_t GetVersionDate() const { return fVersionDate; }
228  Int_t GetVersionTime() const { return fVersionTime; }
229  Int_t GetVersionInt() const { return fVersionInt; }
230  Int_t GetVersionCode() const { return fVersionCode; }
231  const char *GetVersion() const { return fVersion; }
232  TCollection *GetListOfClasses() const { return fClasses; }
238  TSeqCollection *GetListOfFiles() const { return fFiles; }
244  TCollection *GetListOfFunctionOverloads(const char* name) const;
248  TSeqCollection *GetListOfTasks() const { return fTasks; }
259  TList *GetListOfBrowsables() const { return fBrowsables; }
260  TDataType *GetType(const char *name, Bool_t load = kFALSE) const;
261  TFile *GetFile() const { if (gDirectory != this) return gDirectory->GetFile(); else return 0;}
262  TFile *GetFile(const char *name) const;
264  TStyle *GetStyle(const char *name) const;
265  TObject *GetFunction(const char *name) const;
266  TGlobal *GetGlobal(const char *name, Bool_t load = kFALSE) const;
267  TGlobal *GetGlobal(const TObject *obj, Bool_t load = kFALSE) const;
268  TFunction *GetGlobalFunction(const char *name, const char *params = 0, Bool_t load = kFALSE);
269  TFunction *GetGlobalFunctionWithPrototype(const char *name, const char *proto = 0, Bool_t load = kFALSE);
270  TObject *GetGeometry(const char *name) const;
271  const TObject *GetSelectedPrimitive() const { return fPrimitive; }
272  TVirtualPad *GetSelectedPad() const { return fSelectPad; }
273  Int_t GetNclasses() const;
274  Int_t GetNtypes() const;
275  TFolder *GetRootFolder() const { return fRootFolder; }
276  TProcessUUID *GetUUIDs() const { return fUUIDs; }
277  const TString &GetWebDisplay() const { return fWebDisplay; }
278  void Idle(UInt_t idleTimeInSec, const char *command = 0);
279  Int_t IgnoreInclude(const char *fname, const char *expandedfname);
280  Bool_t IsBatch() const { return fBatch; }
282  Bool_t IsFolder() const { return kTRUE; }
283  Bool_t IsInterrupted() const { return fInterrupt; }
284  Bool_t IsEscaped() const { return fEscape; }
286  Bool_t IsProofServ() const { return fName == "proofserv" ? kTRUE : kFALSE; }
287  Bool_t IsRootFile(const char *filename) const;
288  Bool_t IsWebDisplay() const { return fIsWebDisplay; }
290  void ls(Option_t *option = "") const;
291  Int_t LoadClass(const char *classname, const char *libname, Bool_t check = kFALSE);
292  TClass *LoadClass(const char *name, Bool_t silent = kFALSE) const;
293  Int_t LoadMacro(const char *filename, Int_t *error = 0, Bool_t check = kFALSE);
294  Long_t Macro(const char *filename, Int_t *error = 0, Bool_t padUpdate = kTRUE);
295  TCanvas *MakeDefCanvas() const;
296  void Message(Int_t id, const TObject *obj);
297  Bool_t MustClean() const { return fMustClean; }
298  Long_t ProcessLine(const char *line, Int_t *error = 0);
299  Long_t ProcessLineSync(const char *line, Int_t *error = 0);
300  Long_t ProcessLineFast(const char *line, Int_t *error = 0);
301  Bool_t ReadingObject() const;
302  void RecursiveRemove(TObject *obj);
303  void RefreshBrowsers();
304  static void RegisterModule(const char* modulename,
305  const char** headers,
306  const char** includePaths,
307  const char* payLoadCode,
308  const char* fwdDeclCode,
309  void (*triggerFunc)(),
310  const FwdDeclArgsToKeepCollection_t& fwdDeclsArgToSkip,
311  const char** classesHeaders,
312  bool hasCxxModule = false);
314  void RemoveClass(TClass *);
315  void Reset(Option_t *option="");
316  void SaveContext();
318  void SetBatch(Bool_t batch = kTRUE) { fBatch = batch; }
319  void SetWebDisplay(const char *webdisplay);
320  void SetCutClassName(const char *name = "TCutG");
321  void SetDefCanvasName(const char *name = "c1") { fDefCanvasName = name; }
323  void SetEditorMode(const char *mode = "");
325  void SetFromPopUp(Bool_t flag = kTRUE) { fFromPopUp = flag; }
326  void SetInterrupt(Bool_t flag = kTRUE) { fInterrupt = flag; }
327  void SetEscape(Bool_t flag = kTRUE) { fEscape = flag; }
330  void SetReadingObject(Bool_t flag = kTRUE);
331  void SetMustClean(Bool_t flag = kTRUE) { fMustClean=flag; }
332  void SetSelectedPrimitive(const TObject *obj) { fPrimitive = obj; }
333  void SetSelectedPad(TVirtualPad *pad) { fSelectPad = pad; }
334  void SetStyle(const char *stylename = "Default");
335  void Time(Int_t casetime=1) { fTimer = casetime; }
336  Int_t Timer() const { return fTimer; }
337 
338  //---- static functions
339  static Int_t DecreaseDirLevel();
340  static Int_t GetDirLevel();
341  static const char *GetMacroPath();
342  static void SetMacroPath(const char *newpath);
343  static Int_t IncreaseDirLevel();
344  static void IndentLevel();
345  static void Initialize();
346  static Bool_t Initialized();
347  static Bool_t MemCheck();
348  static void SetDirLevel(Int_t level = 0);
349  static Int_t ConvertVersionCode2Int(Int_t code);
351  static Int_t RootVersionCode();
352  static const std::vector<std::string> &AddExtraInterpreterArgs(const std::vector<std::string> &args);
353  static const char**&GetExtraInterpreterArgs();
354 
355  static const TString& GetRootSys();
356  static const TString& GetBinDir();
357  static const TString& GetLibDir();
358  static const TString& GetIncludeDir();
359  static const TString& GetEtcDir();
360  static const TString& GetDataDir();
361  static const TString& GetDocDir();
362  static const TString& GetMacroDir();
363  static const TString& GetTutorialDir();
364  static const TString& GetSourceDir();
365  static const TString& GetIconPath();
366  static const TString& GetTTFFontDir();
367 
368  // Backward compatibility function - do not use for new code
369  static const char *GetTutorialsDir();
370  static void ShutDown();
371 
372  ClassDef(TROOT,0) //Top level (or root) structure for all classes
373 };
374 
375 
376 namespace ROOT {
377  TROOT *GetROOT();
378  namespace Internal {
380 
381  inline void SetRequireCleanup(TObject &obj) {
382  obj.SetBit(kIsReferenced);
383  obj.SetUniqueID(0);
384  }
385 
387  return obj.TestBit(kIsReferenced) && obj.GetUniqueID() == 0;
388  }
389  }
390 
391  /// \brief call RecursiveRemove for obj if gROOT is valid
392  /// and obj.TestBit(kMustCleanup) is true.
393  /// Note: this reset the kMustCleanup bit to allow
394  /// harmless multiple call to this function.
396  {
397  if (obj.TestBit(kMustCleanup)) {
399  if (root && root != &obj && (root->MustClean() || Internal::RequiresCleanup(obj))) {
400  root->RecursiveRemove(&obj);
401  obj.ResetBit(kMustCleanup);
402  }
403  }
404  }
405 }
406 #define gROOT (ROOT::GetROOT())
407 
408 #endif
TROOT::IsFolder
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Definition: TROOT.h:282
TROOT::SetDefCanvasName
void SetDefCanvasName(const char *name="c1")
Definition: TROOT.h:321
l
auto * l
Definition: textangle.C:4
ROOT::Internal::TParBranchProcessingRAII::TParBranchProcessingRAII
TParBranchProcessingRAII()
Definition: TROOT.h:77
TROOT::IsEscaped
Bool_t IsEscaped() const
Definition: TROOT.h:284
TROOT::fSelectPad
TVirtualPad * fSelectPad
Definition: TROOT.h:140
TROOT::fBrowsers
TSeqCollection * fBrowsers
Definition: TROOT.h:156
TROOT::ShutDown
static void ShutDown()
Shut down ROOT.
Definition: TROOT.cxx:3048
TROOT::Initialize
static void Initialize()
Initialize ROOT explicitly.
Definition: TROOT.cxx:2814
TProcessUUID
This class is a specialized TProcessID managing the list of UUIDs.
Definition: TProcessUUID.h:32
TListOfFunctions
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
Definition: TListOfFunctions.h:35
TROOT::GetListOfClassGenerators
TCollection * GetListOfClassGenerators() const
Definition: TROOT.h:252
TBrowser
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:37
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TROOT::RefreshBrowsers
void RefreshBrowsers()
Refresh all browsers.
Definition: TROOT.cxx:2468
TROOT::FindObjectPathName
const char * FindObjectPathName(const TObject *obj) const
Return path name of obj somewhere in the //root/...
Definition: TROOT.cxx:1425
TObject::TestBit
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Definition: TObject.h:172
TPluginManager
This class implements a plugin library manager.
Definition: TPluginManager.h:181
TListOfFunctionTemplates
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
Definition: TListOfFunctionTemplates.h:35
TROOT::SetSelectedPad
void SetSelectedPad(TVirtualPad *pad)
Definition: TROOT.h:333
TROOT::fVersionCode
Int_t fVersionCode
Definition: TROOT.h:116
TROOT::GetSelectedPrimitive
const TObject * GetSelectedPrimitive() const
Definition: TROOT.h:271
TROOT::GetNtypes
Int_t GetNtypes() const
Get number of types.
Definition: TROOT.cxx:1825
TROOT::GetBuiltDate
Int_t GetBuiltDate() const
Definition: TROOT.h:222
TROOT::MakeDefCanvas
TCanvas * MakeDefCanvas() const
Return a default canvas.
Definition: TROOT.cxx:1506
TDirectory.h
TROOT::GetVersionInt
Int_t GetVersionInt() const
Definition: TROOT.h:229
TROOT::ReadingObject
Bool_t ReadingObject() const
Deprecated (will be removed in next release).
Definition: TROOT.cxx:2416
TROOT::DecreaseDirLevel
static Int_t DecreaseDirLevel()
Decrease the indentation level for ls().
Definition: TROOT.cxx:2702
Option_t
const char Option_t
Definition: RtypesCore.h:66
TROOT::RootVersionCode
static Int_t RootVersionCode()
Return ROOT version code as defined in RVersion.h.
Definition: TROOT.cxx:2864
TROOT::fApplication
std::atomic< TApplication * > fApplication
Definition: TROOT.h:125
TROOT::GetType
TDataType * GetType(const char *name, Bool_t load=kFALSE) const
Return pointer to type with name.
Definition: TROOT.cxx:1514
TROOT::GetListOfGlobals
TCollection * GetListOfGlobals(Bool_t load=kFALSE)
Return list containing the TGlobals currently defined.
Definition: TROOT.cxx:1729
TROOT::fRootFolder
TFolder * fRootFolder
Definition: TROOT.h:168
TROOT::GetUUIDs
TProcessUUID * GetUUIDs() const
Definition: TROOT.h:276
TROOT::GetStyle
TStyle * GetStyle(const char *name) const
Return pointer to style with name.
Definition: TROOT.cxx:1531
TROOT::GetListOfTasks
TSeqCollection * GetListOfTasks() const
Definition: TROOT.h:248
TROOT::fUUIDs
TProcessUUID * fUUIDs
Definition: TROOT.h:167
TROOT::GetIncludeDir
static const TString & GetIncludeDir()
Get the include directory in the installation. Static utility function.
Definition: TROOT.cxx:2954
TROOT::GetListOfGlobalFunctions
TCollection * GetListOfGlobalFunctions(Bool_t load=kFALSE)
Return list containing the TFunctions currently defined.
Definition: TROOT.cxx:1767
VoidFuncPtr_t
void(* VoidFuncPtr_t)()
Definition: Rtypes.h:79
TROOT::InitInterpreter
void InitInterpreter()
Initialize the interpreter.
Definition: TROOT.cxx:2014
TROOT::GetListOfCleanups
TSeqCollection * GetListOfCleanups() const
Definition: TROOT.h:249
TROOT::Remove
TObject * Remove(TObject *)
Remove an object from the in-memory list.
Definition: TROOT.cxx:2574
TROOT::LoadMacro
Int_t LoadMacro(const char *filename, Int_t *error=0, Bool_t check=kFALSE)
Load a macro in the interpreter's memory.
Definition: TROOT.cxx:2218
TROOT::GetVersionDate
Int_t GetVersionDate() const
Definition: TROOT.h:227
ROOT::EnableThreadSafety
void EnableThreadSafety()
Enables the global mutex to make ROOT thread safe/aware.
Definition: TROOT.cxx:494
ROOT::DisableImplicitMT
void DisableImplicitMT()
Disables the implicit multi-threading in ROOT (see EnableImplicitMT).
Definition: TROOT.cxx:542
TROOT::GetMacroPath
static const char * GetMacroPath()
Get macro search path. Static utility function.
Definition: TROOT.cxx:2718
TFolder
A TFolder object is a collection of objects and folders.
Definition: TFolder.h:30
TROOT::operator=
TROOT & operator=(const TROOT &)
TROOT::GetFunction
TObject * GetFunction(const char *name) const
Return pointer to function with name.
Definition: TROOT.cxx:1539
TROOT::fExecutingMacro
Bool_t fExecutingMacro
Definition: TROOT.h:137
TROOT::fMappedFiles
TSeqCollection * fMappedFiles
Definition: TROOT.h:148
ROOT::Internal::IsParBranchProcessingEnabled
Bool_t IsParBranchProcessingEnabled()
Returns true if parallel branch processing is enabled.
Definition: TROOT.cxx:440
TROOT::fFuncTemplate
TListOfFunctionTemplates * fFuncTemplate
Definition: TROOT.h:143
TROOT::GetIconPath
static const TString & GetIconPath()
Get the icon path in the installation. Static utility function.
Definition: TROOT.cxx:3080
TROOT::GetForceStyle
Bool_t GetForceStyle() const
Definition: TROOT.h:221
TROOT::fGitCommit
TString fGitCommit
Definition: TROOT.h:121
TROOT::GetListOfMappedFiles
TSeqCollection * GetListOfMappedFiles() const
Definition: TROOT.h:239
TROOT::IsWebDisplay
Bool_t IsWebDisplay() const
Definition: TROOT.h:288
TROOT::GetMacroDir
static const TString & GetMacroDir()
Get the macro directory in the installation. Static utility function.
Definition: TROOT.cxx:3006
TROOT::fVersion
TString fVersion
Definition: TROOT.h:114
TROOT::ls
void ls(Option_t *option="") const
To list all objects of the application.
Definition: TROOT.cxx:2200
TROOT::GetTutorialDir
static const TString & GetTutorialDir()
Get the tutorials directory in the installation. Static utility function.
Definition: TROOT.cxx:3027
TROOT::GetVersionCode
Int_t GetVersionCode() const
Definition: TROOT.h:230
TROOT::RemoveClass
void RemoveClass(TClass *)
Remove a class from the list and map of classes.
Definition: TROOT.cxx:2584
TROOT::GetListOfSpecials
TSeqCollection * GetListOfSpecials() const
Definition: TROOT.h:247
TROOT::RegisterModule
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.
Definition: TROOT.cxx:2491
TROOT::GetConfigFeatures
const char * GetConfigFeatures() const
Definition: TROOT.h:216
Int_t
int Int_t
Definition: RtypesCore.h:45
TROOT::SetLineIsProcessing
void SetLineIsProcessing()
Definition: TROOT.h:328
TROOT::GetTutorialsDir
static const char * GetTutorialsDir()
Get the tutorials directory in the installation.
Definition: TROOT.cxx:3123
TROOT::IsLineProcessing
Bool_t IsLineProcessing() const
Definition: TROOT.h:285
TROOT::fgDirLevel
static Int_t fgDirLevel
Definition: TROOT.h:102
TROOT::SetFromPopUp
void SetFromPopUp(Bool_t flag=kTRUE)
Definition: TROOT.h:325
TVirtualMutex
This class implements a mutex interface.
Definition: TVirtualMutex.h:32
TROOT::SetMustClean
void SetMustClean(Bool_t flag=kTRUE)
Definition: TROOT.h:331
TObject::GetUniqueID
virtual UInt_t GetUniqueID() const
Return the unique object id.
Definition: TObject.cxx:377
TROOT::GetListOfClasses
TCollection * GetListOfClasses() const
Definition: TROOT.h:232
TNamed::fName
TString fName
Definition: TNamed.h:32
TROOT::GetGitDate
const char * GetGitDate()
Return date/time make was run.
Definition: TROOT.cxx:2430
TROOT::fEnums
AListOfEnums_t fEnums
Definition: TROOT.h:166
TROOT::GetNclasses
Int_t GetNclasses() const
Get number of classes.
Definition: TROOT.cxx:1817
TROOT::fWebDisplay
TString fWebDisplay
Definition: TROOT.h:128
TROOT::fClipboard
TSeqCollection * fClipboard
Definition: TROOT.h:164
TROOT::fVersionDate
Int_t fVersionDate
Definition: TROOT.h:117
TROOT::Reset
void Reset(Option_t *option="")
Delete all global interpreter objects created since the last call to Reset.
Definition: TROOT.cxx:2607
ROOT::GetROOT
TROOT * GetROOT()
Definition: TROOT.cxx:465
TROOT::GetCutClassName
const char * GetCutClassName() const
Definition: TROOT.h:217
TROOT::fForceStyle
Bool_t fForceStyle
Definition: TROOT.h:134
TROOT::SetEditorMode
void SetEditorMode(const char *mode="")
Set editor mode.
Definition: TROOT.cxx:2660
TROOT::SetStyle
void SetStyle(const char *stylename="Default")
Change current style to style with name stylename.
Definition: TROOT.cxx:2686
TROOT::MemCheck
static Bool_t MemCheck()
Return kTRUE if the memory leak checker is on.
Definition: TROOT.cxx:2829
TROOT::fCleanups
TSeqCollection * fCleanups
Definition: TROOT.h:158
TROOT::GetDefCanvasName
const char * GetDefCanvasName() const
Definition: TROOT.h:218
TCling
This class defines an interface to the cling C++ interpreter.
Definition: TCling.h:102
TROOT::EndOfProcessCleanups
void EndOfProcessCleanups()
Execute the cleanups necessary at the end of the process, in particular those that must be executed b...
Definition: TROOT.cxx:1203
TGlobal
Global variables class (global variables are obtained from CINT).
Definition: TGlobal.h:28
TROOT::fMustClean
Bool_t fMustClean
Definition: TROOT.h:133
TROOT::fClasses
TCollection * fClasses
Definition: TROOT.h:141
TString
Basic string class.
Definition: TString.h:136
ROOT::Internal::EnableParBranchProcessing
void EnableParBranchProcessing()
Globally enables the parallel branch processing, which is a case of implicit multi-threading (IMT) in...
Definition: TROOT.cxx:413
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TROOT::ProcessLineSync
Long_t ProcessLineSync(const char *line, Int_t *error=0)
Process interpreter command via TApplication::ProcessLine().
Definition: TROOT.cxx:2340
TROOT::ForceStyle
void ForceStyle(Bool_t force=kTRUE)
Definition: TROOT.h:207
TROOT::GetConfigOptions
const char * GetConfigOptions() const
Definition: TROOT.h:215
TROOT::GetListOfFunctionTemplates
TCollection * GetListOfFunctionTemplates()
Definition: TROOT.cxx:1712
TROOT::fCutClassName
TString fCutClassName
Definition: TROOT.h:171
v
@ v
Definition: rootcling_impl.cxx:3635
TROOT::GetGlobalFunctions
TListOfFunctions * GetGlobalFunctions()
Internal routine returning, and creating if necessary, the list of global function.
Definition: TROOT.cxx:1604
b
#define b(i)
Definition: RSha256.hxx:100
TROOT::SaveContext
void SaveContext()
Save the current interpreter context.
Definition: TROOT.cxx:2627
ROOT::Internal::RequiresCleanup
Bool_t RequiresCleanup(TObject &obj)
Definition: TROOT.h:386
TROOT::fInterpreter
TInterpreter * fInterpreter
Definition: TROOT.h:126
TROOT::fgMemCheck
static Bool_t fgMemCheck
Definition: TROOT.h:104
TROOT::IsInterrupted
Bool_t IsInterrupted() const
Definition: TROOT.h:283
TROOT::GetClass
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.
Definition: TROOT.cxx:1470
bool
TROOT
ROOT top level object description.
Definition: TROOT.h:94
ROOT::Internal::SetRequireCleanup
void SetRequireCleanup(TObject &obj)
Definition: TROOT.h:381
TROOT::GetRootSys
static const TString & GetRootSys()
Get the rootsys directory in the installation. Static utility function.
Definition: TROOT.cxx:2902
TROOT::SetCutClassName
void SetCutClassName(const char *name="TCutG")
Set the default graphical cut class name for the graphics editor By default the graphics editor creat...
Definition: TROOT.cxx:2639
ROOT::EnableImplicitMT
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...
Definition: TROOT.cxx:525
TROOT::fVersionInt
Int_t fVersionInt
Definition: TROOT.h:115
TROOT::GetListOfFunctions
TCollection * GetListOfFunctions() const
Definition: TROOT.h:243
TROOT::fEditorMode
Int_t fEditorMode
Definition: TROOT.h:138
TROOT::Macro
Long_t Macro(const char *filename, Int_t *error=0, Bool_t padUpdate=kTRUE)
Execute a macro in the interpreter.
Definition: TROOT.cxx:2266
TROOT::fgRootInit
static Bool_t fgRootInit
Definition: TROOT.h:103
TROOT::ConvertVersionCode2Int
static Int_t ConvertVersionCode2Int(Int_t code)
Convert version code to an integer, i.e. 331527 -> 51507.
Definition: TROOT.cxx:2845
TROOT::FromPopUp
Bool_t FromPopUp() const
Definition: TROOT.h:208
TROOT::SetBatch
void SetBatch(Bool_t batch=kTRUE)
Definition: TROOT.h:318
TROOT::FindObjectAny
virtual TObject * FindObjectAny(const char *name) const
Return a pointer to the first object with name starting at //root.
Definition: TROOT.cxx:1378
TROOT::GetGeometry
TObject * GetGeometry(const char *name) const
Return pointer to Geometry with name.
Definition: TROOT.cxx:1688
TROOT::GetSourceDir
static const TString & GetSourceDir()
Get the source directory in the installation. Static utility function.
Definition: TROOT.cxx:3059
TListOfDataMembers
A collection of TDataMember objects designed for fast access given a DeclId_t and for keep track of T...
Definition: TListOfDataMembers.h:33
TROOT::GetBuiltTime
Int_t GetBuiltTime() const
Definition: TROOT.h:223
TGlobalMappedFunction
Definition: TGlobal.h:53
TROOT::GetListOfFunctionOverloads
TCollection * GetListOfFunctionOverloads(const char *name) const
Return the collection of functions named "name".
Definition: TROOT.cxx:1613
TROOT::IsRootFile
Bool_t IsRootFile(const char *filename) const
Return true if the file is local and is (likely) to be a ROOT file.
Definition: TROOT.cxx:2180
TROOT::fDefCanvasName
TString fDefCanvasName
Definition: TROOT.h:172
TObject::ResetBit
void ResetBit(UInt_t f)
Definition: TObject.h:171
TROOT::AddExtraInterpreterArgs
static const std::vector< std::string > & AddExtraInterpreterArgs(const std::vector< std::string > &args)
Provide command line arguments to the interpreter construction.
Definition: TROOT.cxx:2875
TROOT::MustClean
Bool_t MustClean() const
Definition: TROOT.h:297
TDataType
Basic data type descriptor (datatype information is obtained from CINT).
Definition: TDataType.h:44
TROOT::TROOT
TROOT(const TROOT &)
TColor
The color creation and management class.
Definition: TColor.h:19
gROOTMutex
R__EXTERN TVirtualMutex * gROOTMutex
Definition: TROOT.h:61
TROOT::fEscape
Bool_t fEscape
Definition: TROOT.h:136
TROOT::AListOfEnums_t
std::atomic< TListOfEnums * > AListOfEnums_t
Definition: TROOT.h:110
TROOT::fGitBranch
TString fGitBranch
Definition: TROOT.h:122
TObject::SetBit
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Definition: TObject.cxx:696
TROOT::GetListOfCanvases
TSeqCollection * GetListOfCanvases() const
Definition: TROOT.h:241
TROOT::GetListOfGeometries
TSeqCollection * GetListOfGeometries() const
Definition: TROOT.h:245
TROOT::fSecContexts
TSeqCollection * fSecContexts
Definition: TROOT.h:162
TROOT::Initialized
static Bool_t Initialized()
Return kTRUE if the TROOT object has been initialized.
Definition: TROOT.cxx:2821
TROOT::SetDirLevel
static void SetDirLevel(Int_t level=0)
Return Indentation level for ls().
Definition: TROOT.cxx:2837
TROOT::SetEscape
void SetEscape(Bool_t flag=kTRUE)
Definition: TROOT.h:327
TROOT::SetApplication
void SetApplication(TApplication *app)
Definition: TROOT.h:317
TROOT::FindObject
virtual TObject * FindObject(const char *name) const
Returns address of a ROOT object if it exists.
Definition: TROOT.cxx:1265
TROOT::fEditHistograms
Bool_t fEditHistograms
Definition: TROOT.h:131
TROOT::GetPluginManager
TPluginManager * GetPluginManager() const
Definition: TROOT.h:209
TROOT::Message
void Message(Int_t id, const TObject *obj)
Process message id called by obj.
Definition: TROOT.cxx:2300
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TROOT::GetDocDir
static const TString & GetDocDir()
Get the documentation directory in the installation. Static utility function.
Definition: TROOT.cxx:2990
TROOT::SetReadingObject
void SetReadingObject(Bool_t flag=kTRUE)
Definition: TROOT.cxx:2421
TROOT::ClassSaved
Bool_t ClassSaved(TClass *cl)
return class status bit kClassSaved for class cl This function is called by the SavePrimitive functio...
Definition: TROOT.cxx:1051
TClassGenerator
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
Definition: TClassGenerator.h:28
ROOT::Internal::TParBranchProcessingRAII::~TParBranchProcessingRAII
~TParBranchProcessingRAII()
Definition: TROOT.h:78
TROOT::GetFile
TFile * GetFile() const
Definition: TROOT.h:261
Long_t
long Long_t
Definition: RtypesCore.h:54
TROOT::SetEditHistograms
void SetEditHistograms(Bool_t flag=kTRUE)
Definition: TROOT.h:322
ROOT::GetThreadPoolSize
UInt_t GetThreadPoolSize()
Returns the size of ROOT's thread pool.
Definition: TROOT.cxx:563
kIsReferenced
@ kIsReferenced
Definition: TObject.h:342
TROOT::InitThreads
void InitThreads()
Load and initialize thread library.
Definition: TROOT.cxx:2003
TROOT::fDataSets
TSeqCollection * fDataSets
Definition: TROOT.h:165
gDirectory
#define gDirectory
Definition: TDirectory.h:236
TROOT::fMessageHandlers
TSeqCollection * fMessageHandlers
Definition: TROOT.h:159
TROOT::fFromPopUp
Bool_t fFromPopUp
Definition: TROOT.h:132
TROOT::Timer
Int_t Timer() const
Definition: TROOT.h:336
TROOT::GetGlobal
TGlobal * GetGlobal(const char *name, Bool_t load=kFALSE) const
Return pointer to global variable by name.
Definition: TROOT.cxx:1572
TROOT::InitSystem
void InitSystem()
Initialize operating system interface.
Definition: TROOT.cxx:1919
TROOT::Browse
void Browse(TBrowser *b)
Add browsable objects to TBrowser.
Definition: TROOT.cxx:1032
TROOT::AddClassGenerator
void AddClassGenerator(TClassGenerator *gen)
Add a class generator.
Definition: TROOT.cxx:1011
TROOT::GetRootFolder
TFolder * GetRootFolder() const
Definition: TROOT.h:275
TStyle
TStyle objects may be created to define special styles.
Definition: TStyle.h:29
UInt_t
unsigned int UInt_t
Definition: RtypesCore.h:46
TROOT::GetListOfClosedObjects
TSeqCollection * GetListOfClosedObjects() const
Definition: TROOT.h:237
TROOT::fPluginManager
TPluginManager * fPluginManager
Definition: TROOT.h:170
TROOT::fGitDate
TString fGitDate
Definition: TROOT.h:123
TROOT::fFiles
TSeqCollection * fFiles
Definition: TROOT.h:147
ROOT::Internal::gROOTLocal
R__EXTERN TROOT * gROOTLocal
Definition: TROOT.h:379
TROOT::GetListOfDataSets
TSeqCollection * GetListOfDataSets() const
Definition: TROOT.h:256
TROOT::GetListOfSecContexts
TSeqCollection * GetListOfSecContexts() const
Definition: TROOT.h:253
TROOT::GetListOfColors
TSeqCollection * GetListOfColors() const
Definition: TROOT.h:233
TROOT::fGlobalFunctions
TListOfFunctions * fGlobalFunctions
Definition: TROOT.h:145
TROOT::ReadGitInfo
void ReadGitInfo()
Read Git commit information and branch name from the etc/gitinfo.txt file.
Definition: TROOT.cxx:2379
TROOT::SetWebDisplay
void SetWebDisplay(const char *webdisplay)
Specify where web graphics shall be rendered.
Definition: TROOT.cxx:2770
line
TLine * line
Definition: entrylistblock_figure1.C:235
TROOT::ConvertVersionInt2Code
static Int_t ConvertVersionInt2Code(Int_t v)
Convert version as an integer to version code as used in RVersion.h.
Definition: TROOT.cxx:2853
TROOT::GetSelectedPad
TVirtualPad * GetSelectedPad() const
Definition: TROOT.h:272
TROOT::GetListOfTypes
TCollection * GetListOfTypes(Bool_t load=kFALSE)
Return a dynamic list giving access to all TDataTypes (typedefs) currently defined.
Definition: TROOT.cxx:1806
TROOT::IncreaseDirLevel
static Int_t IncreaseDirLevel()
Increase the indentation level for ls().
Definition: TROOT.cxx:2798
TROOT::LoadClass
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,...
Definition: TROOT.cxx:2133
TROOT::GetGlobalFunctionWithPrototype
TFunction * GetGlobalFunctionWithPrototype(const char *name, const char *proto=0, Bool_t load=kFALSE)
Return pointer to global function by name.
Definition: TROOT.cxx:1659
TFile
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Definition: TFile.h:54
TROOT::fVersionTime
Int_t fVersionTime
Definition: TROOT.h:118
TROOT::Time
void Time(Int_t casetime=1)
Definition: TROOT.h:335
TROOT::IndentLevel
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
Definition: TROOT.cxx:2806
TROOT::Append
virtual void Append(TObject *obj, Bool_t replace=kFALSE)
Append object to this directory.
Definition: TROOT.cxx:1023
TROOT::GetColor
TColor * GetColor(Int_t color) const
Return address of color with index color.
Definition: TROOT.cxx:1488
TROOT::FindObjectClassName
const char * FindObjectClassName(const char *name) const
Returns class name of a ROOT object including CINT globals.
Definition: TROOT.cxx:1405
TROOT::fFunctions
TCollection * fFunctions
Definition: TROOT.h:152
TROOT::GetListOfStyles
TSeqCollection * GetListOfStyles() const
Definition: TROOT.h:242
TROOT::GetEtcDir
static const TString & GetEtcDir()
Get the sysconfig directory in the installation. Static utility function.
Definition: TROOT.cxx:2964
ROOT::Internal::TParBranchProcessingRAII
Definition: TROOT.h:75
TROOT::GetEditHistograms
Bool_t GetEditHistograms() const
Definition: TROOT.h:219
TROOT::fClosedObjects
TSeqCollection * fClosedObjects
Definition: TROOT.h:146
TROOT::ProcessLineFast
Long_t ProcessLineFast(const char *line, Int_t *error=0)
Process interpreter command directly via CINT interpreter.
Definition: TROOT.cxx:2357
TSeqCollection
Sequenceable collection abstract base class.
Definition: TSeqCollection.h:28
TROOT::GetInterpreter
TInterpreter * GetInterpreter() const
Definition: TROOT.h:211
TROOT::CloseFiles
void CloseFiles()
Close any files and sockets that gROOT knows about.
Definition: TROOT.cxx:1125
TROOT::fStyles
TSeqCollection * fStyles
Definition: TROOT.h:151
TListOfEnums
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
Definition: TListOfEnums.h:33
proto
const char * proto
Definition: civetweb.c:16604
TROOT::SetInterrupt
void SetInterrupt(Bool_t flag=kTRUE)
Definition: TROOT.h:326
TROOT::SetSelectedPrimitive
void SetSelectedPrimitive(const TObject *obj)
Definition: TROOT.h:332
ROOT::IsImplicitMTEnabled
Bool_t IsImplicitMTEnabled()
Returns true if the implicit multi-threading in ROOT is enabled.
Definition: TROOT.cxx:556
TROOT::GetGitCommit
const char * GetGitCommit() const
Definition: TROOT.h:224
TROOT::IsExecutingMacro
Bool_t IsExecutingMacro() const
Definition: TROOT.h:281
TROOT::GetDirLevel
static Int_t GetDirLevel()
return directory level
Definition: TROOT.cxx:2710
TVirtualPad
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Definition: TVirtualPad.h:51
TROOT::IsProofServ
Bool_t IsProofServ() const
Definition: TROOT.h:286
TROOT::fBrowsables
TList * fBrowsables
Definition: TROOT.h:169
TROOT::fBuiltTime
Int_t fBuiltTime
Definition: TROOT.h:120
TROOT::fCanvases
TSeqCollection * fCanvases
Definition: TROOT.h:150
TROOT::fIsWebDisplay
Bool_t fIsWebDisplay
Definition: TROOT.h:129
TROOT::IsBatch
Bool_t IsBatch() const
Definition: TROOT.h:280
TROOT::GetListOfSockets
TSeqCollection * GetListOfSockets() const
Definition: TROOT.h:240
TCanvas
The Canvas class.
Definition: TCanvas.h:23
TROOT::FindSpecialObject
TObject * FindSpecialObject(const char *name, void *&where)
Returns address and folder of a ROOT object if it exists.
Definition: TROOT.cxx:1319
TROOT::GetGitBranch
const char * GetGitBranch() const
Definition: TROOT.h:225
TROOT::GetFunctionTemplate
TFunctionTemplate * GetFunctionTemplate(const char *name)
Definition: TROOT.cxx:1559
kMustCleanup
@ kMustCleanup
Definition: TObject.h:340
TClass
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:80
TROOT::fIsWebDisplayBatch
Bool_t fIsWebDisplayBatch
Definition: TROOT.h:130
TROOT::fConfigOptions
TString fConfigOptions
Definition: TROOT.h:112
TROOT::GetListOfMessageHandlers
TSeqCollection * GetListOfMessageHandlers() const
Definition: TROOT.h:251
TROOT::GetEditorMode
Int_t GetEditorMode() const
Definition: TROOT.h:220
TROOT::RecursiveRemove
void RecursiveRemove(TObject *obj)
Recursively remove this object from the list of Cleanups.
Definition: TROOT.cxx:2454
TROOT::SetMacroPath
static void SetMacroPath(const char *newpath)
Set or extend the macro search path.
Definition: TROOT.cxx:2744
TROOT::SetLineHasBeenProcessed
void SetLineHasBeenProcessed()
Definition: TROOT.h:329
TROOT::fGlobals
TListOfDataMembers * fGlobals
Definition: TROOT.h:144
TROOT::GetLibDir
static const TString & GetLibDir()
Get the library directory in the installation. Static utility function.
Definition: TROOT.cxx:2933
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
TROOT::GetVersionTime
Int_t GetVersionTime() const
Definition: TROOT.h:228
ROOT::Internal::GetROOT2
TROOT * GetROOT2()
Definition: TROOT.cxx:380
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TROOT::fBatch
Bool_t fBatch
Definition: TROOT.h:127
TROOT::GetClipboard
TSeqCollection * GetClipboard() const
Definition: TROOT.h:255
TROOT::~TROOT
virtual ~TROOT()
Clean up and free resources used by ROOT (files, network sockets, shared memory segments,...
Definition: TROOT.cxx:854
TROOT::fSpecials
TSeqCollection * fSpecials
Definition: TROOT.h:157
TROOT::fLineIsProcessing
Int_t fLineIsProcessing
Definition: TROOT.h:100
TROOT::fTasks
TSeqCollection * fTasks
Definition: TROOT.h:153
TROOT::fConfigFeatures
TString fConfigFeatures
Definition: TROOT.h:113
name
char name[80]
Definition: TGX11.cxx:110
TROOT::fPrimitive
const TObject * fPrimitive
Definition: TROOT.h:139
TROOT::fTypes
TCollection * fTypes
Definition: TROOT.h:142
TROOT::GetWebDisplay
const TString & GetWebDisplay() const
Definition: TROOT.h:277
TROOT::fClassGenerators
TCollection * fClassGenerators
Definition: TROOT.h:161
TROOT::IgnoreInclude
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,...
Definition: TROOT.cxx:1869
TDirectory
Describe directory structure in memory.
Definition: TDirectory.h:40
TROOT::FindObjectAnyFile
virtual TObject * FindObjectAnyFile(const char *name) const
Scan the memory lists of all files for an object with name.
Definition: TROOT.cxx:1388
TROOT::GetBinDir
static const TString & GetBinDir()
Get the binary directory in the installation. Static utility function.
Definition: TROOT.cxx:2912
TROOT::TROOT
TROOT()
Default ctor.
Definition: TROOT.cxx:598
TROOT::ProcessLine
Long_t ProcessLine(const char *line, Int_t *error=0)
Process interpreter command via TApplication::ProcessLine().
Definition: TROOT.cxx:2320
TROOT::IsWebDisplayBatch
Bool_t IsWebDisplayBatch() const
Definition: TROOT.h:289
TROOT::fStreamerInfo
TSeqCollection * fStreamerInfo
Definition: TROOT.h:160
TROOT::GetGlobalFunction
TFunction * GetGlobalFunction(const char *name, const char *params=0, Bool_t load=kFALSE)
Return pointer to global function by name.
Definition: TROOT.cxx:1626
TROOT::FwdDeclArgsToKeepCollection_t
std::vector< std::pair< std::string, int > > FwdDeclArgsToKeepCollection_t
Definition: TROOT.h:188
R__EXTERN
#define R__EXTERN
Definition: DllImport.h:27
TROOT::fSockets
TSeqCollection * fSockets
Definition: TROOT.h:149
TROOT::GetDataDir
static const TString & GetDataDir()
Get the data directory in the installation. Static utility function.
Definition: TROOT.cxx:2974
TROOT::AddClass
void AddClass(TClass *cl)
Add a class to the list and map of classes.
Definition: TROOT.cxx:1001
TROOT::GetTTFFontDir
static const TString & GetTTFFontDir()
Get the fonts directory in the installation. Static utility function.
Definition: TROOT.cxx:3101
TCollection
Collection abstract base class.
Definition: TCollection.h:63
TApplication
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
Definition: TApplication.h:39
TROOT::Idle
void Idle(UInt_t idleTimeInSec, const char *command=0)
Execute command when system has been idle for idleTimeInSec seconds.
Definition: TROOT.cxx:1833
ROOT::CallRecursiveRemoveIfNeeded
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Definition: TROOT.h:395
TInterpreter
This class defines an abstract interface to a generic command line interpreter.
Definition: TInterpreter.h:64
TROOT::GetListOfFiles
TSeqCollection * GetListOfFiles() const
Definition: TROOT.h:238
TROOT::fTimer
Int_t fTimer
Definition: TROOT.h:124
TROOT::FindSTLClass
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.
Definition: TROOT.cxx:1436
TROOT::GetListOfEnums
TCollection * GetListOfEnums(Bool_t load=kFALSE)
Definition: TROOT.cxx:1695
ROOT::Internal::DisableParBranchProcessing
void DisableParBranchProcessing()
Globally disables the IMT use case of parallel branch processing, deactivating the corresponding lock...
Definition: TROOT.cxx:427
TROOT::fProofs
TSeqCollection * fProofs
Definition: TROOT.h:163
TROOT::fColors
TSeqCollection * fColors
Definition: TROOT.h:154
TROOT::GetListOfStreamerInfo
TSeqCollection * GetListOfStreamerInfo() const
Definition: TROOT.h:250
TROOT::GetListOfProofs
TSeqCollection * GetListOfProofs() const
Definition: TROOT.h:254
TROOT::GetApplication
TApplication * GetApplication() const
Definition: TROOT.h:210
TROOT::GetVersion
const char * GetVersion() const
Definition: TROOT.h:231
TROOT::GetExtraInterpreterArgs
static const char **& GetExtraInterpreterArgs()
INTERNAL function! Used by rootcling to inject interpreter arguments through a C-interface layer.
Definition: TROOT.cxx:2885
ROOT
VSD Structures.
Definition: StringConv.hxx:21
TROOT::fGeometries
TSeqCollection * fGeometries
Definition: TROOT.h:155
TFunction
Global functions class (global functions are obtained from CINT).
Definition: TFunction.h:30
TROOT::fBuiltDate
Int_t fBuiltDate
Definition: TROOT.h:119
TList
A doubly linked list.
Definition: TList.h:44
TROOT::fInterrupt
Bool_t fInterrupt
Definition: TROOT.h:135
TObject::SetUniqueID
virtual void SetUniqueID(UInt_t uid)
Set the unique object id.
Definition: TObject.cxx:707
TROOT::SetExecutingMacro
void SetExecutingMacro(Bool_t flag=kTRUE)
Definition: TROOT.h:324
TROOT::GetListOfBrowsables
TList * GetListOfBrowsables() const
Definition: TROOT.h:259
int
TFunctionTemplate
Dictionary for function template This class describes one single function template.
Definition: TFunctionTemplate.h:26
TROOT::GetListOfBrowsers
TSeqCollection * GetListOfBrowsers() const
Definition: TROOT.h:246