Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TROOT.cxx File Reference
#include <ROOT/RConfig.hxx>
#include <ROOT/TErrorDefaultHandler.hxx>
#include <ROOT/RVersion.hxx>
#include "RConfigure.h"
#include "RConfigOptions.h"
#include <string>
#include <map>
#include <cstdlib>
#include <dlfcn.h>
#include <iostream>
#include "ROOT/FoundationUtils.hxx"
#include "TROOT.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassGenerator.h"
#include "TDataType.h"
#include "TStyle.h"
#include "TObjectTable.h"
#include "TClassTable.h"
#include "TSystem.h"
#include "THashList.h"
#include "TObjArray.h"
#include "TEnv.h"
#include "TError.h"
#include "TColor.h"
#include "TGlobal.h"
#include "TFunction.h"
#include "TVirtualPad.h"
#include "TBrowser.h"
#include "TSystemDirectory.h"
#include "TApplication.h"
#include "TInterpreter.h"
#include "TGuiFactory.h"
#include "TMessageHandler.h"
#include "TFolder.h"
#include "TQObject.h"
#include "TProcessUUID.h"
#include "TPluginManager.h"
#include "TVirtualMutex.h"
#include "TListOfTypes.h"
#include "TListOfDataMembers.h"
#include "TListOfEnumsWithLock.h"
#include "TListOfFunctions.h"
#include "TListOfFunctionTemplates.h"
#include "TFunctionTemplate.h"
#include "ThreadLocalStorage.h"
#include "TVirtualRWMutex.h"
#include "TVirtualX.h"
Include dependency graph for TROOT.cxx:

Classes

class  ROOT::Internal::TROOTAllocator
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Internal
 

Typedefs

typedef TROOT *(* ROOT::Internal::GetROOTFun_t) ()
 

Functions

static void at_exit_of_TROOT ()
 
static void CallCloseFiles ()
 Insure that the files, canvases and sockets are closed.
 
static void CleanUpROOTAtExit ()
 Clean up at program termination before global objects go out of scope.
 
void ROOT::DisableImplicitMT ()
 Disables the implicit multi-threading in ROOT (see EnableImplicitMT).
 
void ROOT::Internal::DisableParBranchProcessing ()
 Globally disables the IMT use case of parallel branch processing, deactivating the corresponding locks.
 
void ROOT::EnableImplicitMT (UInt_t numthreads=0)
 Enable ROOT's implicit multi-threading for all objects and methods that provide an internal parallelisation mechanism.
 
void ROOT::Internal::EnableParBranchProcessing ()
 Globally enables the parallel branch processing, which is a case of implicit multi-threading (IMT) in ROOT, activating the required locks.
 
void ROOT::EnableThreadSafety ()
 Enable support for multi-threading within the ROOT code in particular, enables the global mutex to make ROOT thread safe/aware.
 
TStringROOT::GetMacroPath ()
 
Bool_tGetReadingObject ()
 
TROOTROOT::GetROOT ()
 
TROOTROOT::Internal::GetROOT1 ()
 
TROOTROOT::Internal::GetROOT2 ()
 
static Func_t ROOT::Internal::GetSymInLibImt (const char *funcname)
 
UInt_t ROOT::GetThreadPoolSize ()
 Returns the size of ROOT's thread pool.
 
static Int_t IDATQQ (const char *date)
 Return built date as integer, i.e. "Apr 28 2000" -> 20000428.
 
Bool_t ROOT::IsImplicitMTEnabled ()
 Returns true if the implicit multi-threading in ROOT is enabled.
 
static Bool_tROOT::Internal::IsImplicitMTEnabledImpl ()
 Keeps track of the status of ImplicitMT w/o resorting to the load of libImt.
 
Bool_t ROOT::Internal::IsParBranchProcessingEnabled ()
 Returns true if parallel branch processing is enabled.
 
static Int_t ITIMQQ (const char *time)
 Return built time as integer (with min precision), i.e.
 
static Int_t IVERSQ ()
 Return version id as an integer, i.e. "2.22/04" -> 22204.
 
static TClassR__GetClassIfKnown (const char *className)
 Check whether className is a known class, and only autoload if we can.
 
void R__SetZipMode (int)
 

Variables

Int_t gDebug
 
static DestroyInterpreter_tgDestroyInterpreter = nullptr
 
static GetROOTFun_t ROOT::Internal::gGetROOT = &GetROOT1
 
static void * gInterpreterLib = nullptr
 
TVirtualMutexgROOTMutex = nullptr
 
void **(* gThreadTsd )(void *, Int_t) = nullptr
 

Function Documentation

◆ at_exit_of_TROOT()

static void at_exit_of_TROOT ( )
static

Definition at line 294 of file TROOT.cxx.

◆ CallCloseFiles()

static void CallCloseFiles ( )
static

Insure that the files, canvases and sockets are closed.

Definition at line 2494 of file TROOT.cxx.

◆ CleanUpROOTAtExit()

static void CleanUpROOTAtExit ( )
static

Clean up at program termination before global objects go out of scope.

Definition at line 230 of file TROOT.cxx.

◆ GetReadingObject()

Bool_t & GetReadingObject ( )

Definition at line 2424 of file TROOT.cxx.

◆ IDATQQ()

static Int_t IDATQQ ( const char *  date)
static

Return built date as integer, i.e. "Apr 28 2000" -> 20000428.

Definition at line 192 of file TROOT.cxx.

◆ ITIMQQ()

static Int_t ITIMQQ ( const char *  time)
static

Return built time as integer (with min precision), i.e.

"17:32:37" -> 1732.

Definition at line 220 of file TROOT.cxx.

◆ IVERSQ()

static Int_t IVERSQ ( )
static

Return version id as an integer, i.e. "2.22/04" -> 22204.

Definition at line 182 of file TROOT.cxx.

◆ R__GetClassIfKnown()

static TClass * R__GetClassIfKnown ( const char *  className)
static

Check whether className is a known class, and only autoload if we can.

Helper function for TROOT::IgnoreInclude().

Definition at line 1879 of file TROOT.cxx.

◆ R__SetZipMode()

void R__SetZipMode ( int  )

Variable Documentation

◆ gDebug

Int_t gDebug

Definition at line 595 of file TROOT.cxx.

◆ gDestroyInterpreter

DestroyInterpreter_t* gDestroyInterpreter = nullptr
static

Definition at line 168 of file TROOT.cxx.

◆ gInterpreterLib

void* gInterpreterLib = nullptr
static

Definition at line 169 of file TROOT.cxx.

◆ gROOTMutex

TVirtualMutex* gROOTMutex = nullptr

Definition at line 172 of file TROOT.cxx.

◆ gThreadTsd

void **(* gThreadTsd) (void *, Int_t) ( void *  ,
Int_t   
) = nullptr

Definition at line 176 of file TROOT.cxx.