30 #include "RConfigure.h" 184 void InitInterpreter();
186 void *
operator new(
size_t l) {
return TObject::operator
new(
l); }
187 void *
operator new(
size_t l,
void *ptr) {
return TObject::operator
new(
l,ptr); }
189 friend class ::ROOT::Internal::TROOTAllocator;
205 void EndOfProcessCleanups();
206 virtual TObject *FindObject(
const char *
name)
const;
208 virtual TObject *FindObjectAny(
const char *
name)
const;
209 virtual TObject *FindObjectAnyFile(
const char *
name)
const;
210 TObject *FindSpecialObject(
const char *
name,
void *&where);
211 const char *FindObjectClassName(
const char *
name)
const;
212 const char *FindObjectPathName(
const TObject *obj)
const;
233 const char *GetGitDate();
251 TCollection *GetListOfFunctionOverloads(
const char* name)
const;
269 TFile *GetFile(
const char *name)
const;
271 TStyle *GetStyle(
const char *name)
const;
272 TObject *GetFunction(
const char *name)
const;
277 TObject *GetGeometry(
const char *name)
const;
285 void Idle(
UInt_t idleTimeInSec,
const char *command = 0);
286 Int_t IgnoreInclude(
const char *fname,
const char *expandedfname);
294 Bool_t IsRootFile(
const char *filename)
const;
297 void ls(
Option_t *option =
"")
const;
298 Int_t LoadClass(
const char *classname,
const char *libname,
Bool_t check =
kFALSE);
302 TCanvas *MakeDefCanvas()
const;
306 Long_t ProcessLineSync(
const char *line,
Int_t *error = 0);
307 Long_t ProcessLineFast(
const char *line,
Int_t *error = 0);
308 Bool_t ReadingObject()
const;
309 void RecursiveRemove(
TObject *obj);
310 void RefreshBrowsers();
311 static void RegisterModule(
const char* modulename,
312 const char** headers,
313 const char** includePaths,
314 const char* payLoadCode,
315 const char* fwdDeclCode,
316 void (*triggerFunc)(),
317 const FwdDeclArgsToKeepCollection_t& fwdDeclsArgToSkip,
318 const char** classesHeaders,
319 bool hasCxxModule =
false);
326 void SetWebDisplay(
const char *webdisplay);
327 void SetCutClassName(
const char *name =
"TCutG");
330 void SetEditorMode(
const char *mode =
"");
341 void SetStyle(
const char *stylename =
"Default");
346 static Int_t DecreaseDirLevel();
347 static Int_t GetDirLevel();
349 static void SetMacroPath(
const char *newpath);
350 static Int_t IncreaseDirLevel();
351 static void IndentLevel();
352 static Bool_t Initialized();
354 static void SetDirLevel(
Int_t level = 0);
355 static Int_t ConvertVersionCode2Int(
Int_t code);
357 static Int_t RootVersionCode();
358 static const char**&GetExtraInterpreterArgs();
360 static const TString& GetRootSys();
361 static const TString& GetBinDir();
362 static const TString& GetLibDir();
363 static const TString& GetIncludeDir();
364 static const TString& GetEtcDir();
365 static const TString& GetDataDir();
366 static const TString& GetDocDir();
367 static const TString& GetMacroDir();
368 static const TString& GetTutorialDir();
369 static const TString& GetSourceDir();
370 static const TString& GetIconPath();
371 static const TString& GetTTFFontDir();
374 static const char *GetTutorialsDir();
410 #define gROOT (ROOT::GetROOT()) TSeqCollection * fStreamerInfo
void AddClass(const char *cname, Version_t id, const std::type_info &info, DictFuncPtr_t dict, Int_t pragmabits)
Global function called by the ctor of a class's init class (see the ClassImp macro).
void SetSelectedPad(TVirtualPad *pad)
virtual UInt_t GetUniqueID() const
Return the unique object id.
TListOfFunctionTemplates * fFuncTemplate
UInt_t GetImplicitMTPoolSize()
Returns the size of the pool used for implicit multi-threading.
const TObject * GetSelectedPrimitive() const
A TFolder object is a collection of objects and folders.
Bool_t GetForceStyle() const
A collection of TDataMember objects designed for fast access given a DeclId_t and for keep track of T...
TList * GetListOfBrowsables() const
This class defines an abstract interface to a generic command line interpreter.
Bool_t IsWebDisplay() const
void SetDefCanvasName(const char *name="c1")
TSeqCollection * GetListOfMappedFiles() const
TParBranchProcessingRAII()
ROOT top level object description.
This class is a specialized TProcessID managing the list of UUIDs.
void SetLineIsProcessing()
Namespace for new ROOT classes and functions.
TSeqCollection * GetListOfCleanups() const
TCollection * GetListOfClasses() const
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
TSeqCollection * fGeometries
TCollection * GetListOfClassGenerators() const
~TParTreeProcessingRAII()
Dictionary for function template This class describes one single function template.
void DisableImplicitMT()
Disables the implicit multi-threading in ROOT (see EnableImplicitMT).
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
void SetExecutingMacro(Bool_t flag=kTRUE)
Int_t GetVersionInt() const
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
TProcessUUID * GetUUIDs() const
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
const char * GetConfigFeatures() const
This class implements a mutex interface.
void DisableParTreeProcessing()
Globally disables the IMT use case of parallel branch processing, deactivating the corresponding lock...
Int_t GetVersionDate() const
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
R__EXTERN TVirtualMutex * gROOTMutex
Int_t GetBuiltDate() const
Type GetType(const std::string &Name)
const char * GetCutClassName() const
std::atomic< TApplication * > fApplication
const char * GetDefCanvasName() const
Int_t GetVersionCode() const
void SetBatch(Bool_t batch=kTRUE)
void ForceStyle(Bool_t force=kTRUE)
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TInterpreter * fInterpreter
TSeqCollection * fMappedFiles
Sequenceable collection abstract base class.
#define ClassDef(name, id)
Bool_t IsParTreeProcessingEnabled()
Returns true if parallel tree processing is enabled.
TSeqCollection * fCleanups
void SetEscape(Bool_t flag=kTRUE)
TSeqCollection * GetListOfSpecials() const
void EnableParTreeProcessing()
Globally enables the parallel tree processing, which is a case of implicit multi-threading in ROOT...
TPluginManager * GetPluginManager() const
const char * GetConfigOptions() const
Bool_t IsLineProcessing() const
void SetFromPopUp(Bool_t flag=kTRUE)
void SetMustClean(Bool_t flag=kTRUE)
Bool_t IsInterrupted() const
Int_t GetNclasses() const
TSeqCollection * fClipboard
TVirtualPad is an abstract base class for the Pad and Canvas classes.
TCollection * GetListOfFunctions() const
TSeqCollection * GetListOfClosedObjects() const
TSeqCollection * GetListOfGeometries() const
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...
virtual void SetUniqueID(UInt_t uid)
Set the unique object id.
TStyle objects may be created to define special styles.
R__EXTERN TROOT * gROOTLocal
Using a TBrowser one can browse all ROOT objects.
void Time(Int_t casetime=1)
Bool_t IsParBranchProcessingEnabled()
Returns true if parallel branch processing is enabled.
TSeqCollection * fDataSets
TSeqCollection * fMessageHandlers
void RemoveClass(const char *cname)
Global function called by the dtor of a class's init class (see the ClassImp macro).
Basic data type descriptor (datatype information is obtained from CINT).
TFolder * GetRootFolder() const
TPluginManager * fPluginManager
std::atomic< TListOfEnums * > AListOfEnums_t
TSeqCollection * GetListOfCanvases() const
TSeqCollection * GetListOfDataSets() const
TSeqCollection * fSecContexts
Collection abstract base class.
TSeqCollection * GetListOfSecContexts() const
void SetApplication(TApplication *app)
Bool_t RequiresCleanup(TObject &obj)
This class implements a plugin library manager.
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
The ROOT global object gROOT contains a list of all defined classes.
Int_t GetBuiltTime() const
Int_t GetEditorMode() const
Global variables class (global variables are obtained from CINT).
void Reset(Detail::TBranchProxy *x)
Bool_t GetEditHistograms() const
TInterpreter * GetInterpreter() const
TSeqCollection * fSpecials
~TParBranchProcessingRAII()
Bool_t IsExecutingMacro() const
TSeqCollection * GetListOfColors() const
TListOfFunctions * fGlobalFunctions
Bool_t IsWebDisplayBatch() const
TSeqCollection * fCanvases
TSeqCollection * GetListOfSockets() const
TVirtualPad * GetSelectedPad() const
void EnableThreadSafety()
Enables the global mutex to make ROOT thread safe/aware.
void SetEditHistograms(Bool_t flag=kTRUE)
void RecursiveRemove(TObject *obj)
Recursively remove this object from the list of Cleanups.
Describe directory structure in memory.
TSeqCollection * GetListOfStyles() const
TSeqCollection * GetListOfFiles() const
Int_t GetVersionTime() const
void EnableParBranchProcessing()
Globally enables the parallel branch processing, which is a case of implicit multi-threading (IMT) in...
The color creation and management class.
void SetInterrupt(Bool_t flag=kTRUE)
TSeqCollection * GetListOfStreamerInfo() const
TCollection * fClassGenerators
const char * GetGitCommit() const
Binding & operator=(OUT(*fun)(void))
Bool_t IsProofServ() const
Mother of all ROOT objects.
void GetColor(Float_t v, Float_t vmin, Float_t vmax, Int_t type, Float_t *rgba)
This function creates color for parametric surface's vertex, using its 'u' value. ...
Global functions class (global functions are obtained from CINT).
std::vector< std::pair< std::string, int > > FwdDeclArgsToKeepCollection_t
const char * GetGitBranch() const
Bool_t fIsWebDisplayBatch
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
TListOfDataMembers * fGlobals
Bool_t IsImplicitMTEnabled()
Returns true if the implicit multi-threading in ROOT is enabled.
TSeqCollection * fClosedObjects
TSeqCollection * GetClipboard() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
void SetSelectedPrimitive(const TObject *obj)
TSeqCollection * fBrowsers
TSeqCollection * GetListOfProofs() const
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
TSeqCollection * fSockets
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
TSeqCollection * GetListOfMessageHandlers() const
TSeqCollection * GetListOfBrowsers() const
void SetLineHasBeenProcessed()
TSeqCollection * GetListOfTasks() const
void DisableParBranchProcessing()
Globally disables the IMT use case of parallel branch processing, deactivating the corresponding lock...
const TObject * fPrimitive
void SetRequireCleanup(TObject &obj)
const TString & GetWebDisplay() const
TApplication * GetApplication() const
const char * GetVersion() const