namespace ROOT

                R O O T 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:
       gROOT->GetListOfClasses
       gROOT->GetListOfColors
       gROOT->GetListOfTypes
       gROOT->GetListOfGlobals
       gROOT->GetListOfGlobalFunctions
       gROOT->GetListOfFiles
       gROOT->GetListOfMappedFiles
       gROOT->GetListOfSockets
       gROOT->GetListOfSecContexts
       gROOT->GetListOfCanvases
       gROOT->GetListOfStyles
       gROOT->GetListOfFunctions
       gROOT->GetListOfSpecials (for example graphical cuts)
       gROOT->GetListOfGeometries
       gROOT->GetListOfBrowsers
       gROOT->GetListOfCleanups
       gROOT->GetListOfMessageHandlers

   The TROOT class provides also many useful services:
     - Get pointer to an object in any of the lists above
     - Time utilities TROOT::Time

   The ROOT object must be created as a static object. An example
   of a main program creating an interactive version is shown below:

Example of a main program

       #include "TRint.h"

       int main(int argc, char **argv)
       {
          TRint *theApp = new TRint("ROOT example", &argc, argv);

          // Init Intrinsics, build all windows, and enter event loop
          theApp->Run();

          return(0);
       }
End of Main program

Function Members (Methods)

public:
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
voidAddClass(const char* cname, Version_t id, const type_info& info, VoidFuncPtr_t dict, Int_t pragmabits)
TClass*CreateClass(const char* cname, Version_t id, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
TClass*CreateClass(const char* cname, Version_t id, const type_info& info, TVirtualIsAProxy* isa, ShowMembersFunc_t show, const char* dfil, const char* ifil, Int_t dl, Int_t il)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
const ROOT::TQObjectInitBehavior*DefineBehavior(TQObject*, TQObject*)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
const ROOT::TInitBehavior*DefineBehavior(void*, void*)
TROOT*GetROOT()
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
TNamed*RegisterClassTemplate(const char* name, const char* file, Int_t line)
voidRemoveClass(const char* cname)
voidRemoveClass(const char* cname)
voidRemoveClass(const char* cname)
voidRemoveClass(const char* cname)
voidRemoveClass(const char* cname)
voidRemoveClass(const char* cname)
voidResetClassVersion(TClass*, const char*, Short_t)
voidResetClassVersion(TClass*, const char*, Short_t)
voidResetClassVersion(TClass*, const char*, Short_t)
voidResetClassVersion(TClass*, const char*, Short_t)
voidResetClassVersion(TClass*, const char*, Short_t)
voidResetClassVersion(TClass*, const char*, Short_t)

Class Charts

Function documentation

void AddClass(TClass *cl)
 Add a class to the list and map of classes.
void RemoveClass(TClass *oldcl)
 Remove a class from the list and map of classes
void AddClass(TClass *cl)
void RemoveClass(TClass *)
TROOT * GetROOT()

Author: Rene Brun 08/12/94
Last change: root/base:$Id: TROOT.h 22992 2008-04-05 09:43:01Z pcanal $
Last generated: 2008-06-25 08:29
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.