30 #include "RConfigure.h" 181 void InitInterpreter();
183 void *
operator new(
size_t l) {
return TObject::operator
new(
l); }
184 void *
operator new(
size_t l,
void *ptr) {
return TObject::operator
new(
l,ptr); }
186 friend class ::ROOT::Internal::TROOTAllocator;
202 void EndOfProcessCleanups();
203 virtual TObject *FindObject(
const char *
name)
const;
205 virtual TObject *FindObjectAny(
const char *
name)
const;
206 virtual TObject *FindObjectAnyFile(
const char *
name)
const;
207 TObject *FindSpecialObject(
const char *
name,
void *&where);
208 const char *FindObjectClassName(
const char *
name)
const;
209 const char *FindObjectPathName(
const TObject *obj)
const;
230 const char *GetGitDate();
248 TCollection *GetListOfFunctionOverloads(
const char* name)
const;
266 TFile *GetFile(
const char *name)
const;
268 TStyle *GetStyle(
const char *name)
const;
269 TObject *GetFunction(
const char *name)
const;
274 TObject *GetGeometry(
const char *name)
const;
281 void Idle(
UInt_t idleTimeInSec,
const char *command = 0);
282 Int_t IgnoreInclude(
const char *fname,
const char *expandedfname);
290 Bool_t IsRootFile(
const char *filename)
const;
291 void ls(
Option_t *option =
"")
const;
292 Int_t LoadClass(
const char *classname,
const char *libname,
Bool_t check =
kFALSE);
296 TCanvas *MakeDefCanvas()
const;
300 Long_t ProcessLineSync(
const char *line,
Int_t *error = 0);
301 Long_t ProcessLineFast(
const char *line,
Int_t *error = 0);
302 Bool_t ReadingObject()
const;
303 void RecursiveRemove(
TObject *obj);
304 void RefreshBrowsers();
305 static void RegisterModule(
const char* modulename,
306 const char** headers,
307 const char** includePaths,
308 const char* payLoadCode,
309 const char* fwdDeclCode,
310 void (*triggerFunc)(),
311 const FwdDeclArgsToKeepCollection_t& fwdDeclsArgToSkip,
312 const char** classesHeaders);
319 void SetCutClassName(
const char *name =
"TCutG");
322 void SetEditorMode(
const char *mode =
"");
333 void SetStyle(
const char *stylename =
"Default");
338 static Int_t DecreaseDirLevel();
339 static Int_t GetDirLevel();
341 static void SetMacroPath(
const char *newpath);
342 static Int_t IncreaseDirLevel();
343 static void IndentLevel();
344 static Bool_t Initialized();
346 static void SetDirLevel(
Int_t level = 0);
347 static Int_t ConvertVersionCode2Int(
Int_t code);
349 static Int_t RootVersionCode();
350 static const char**&GetExtraInterpreterArgs();
352 static const TString& GetRootSys();
353 static const TString& GetBinDir();
354 static const TString& GetLibDir();
355 static const TString& GetIncludeDir();
356 static const TString& GetEtcDir();
357 static const TString& GetDataDir();
358 static const TString& GetDocDir();
359 static const TString& GetMacroDir();
360 static const TString& GetTutorialDir();
361 static const TString& GetSourceDir();
362 static const TString& GetIconPath();
363 static const TString& GetTTFFontDir();
366 static const char *GetTutorialsDir();
402 #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.
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
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
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
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)
TApplication * GetApplication() const
const char * GetVersion() const