STAR   Computing Tutorials main page
ROOT C++ classes and the source tree organization
Offline computing tutorial Maintained by Fine and Wenaus

Base classes and ROOT C++ wrappers

The special C++ classes to organize an interface between the STAF packages and tables and ROOT framework reside in the StRoot subdirectory and belong the "New software domains" (see: chapter "Organization of software releases")

It can be examined using the CVS repository browser to browse the current directory structure, domains and packages and the ROOT generated html documentation. The page ROOT chain outlines the main steps an user should perform to develop his/her own C++ class code based on approach present below.

At the moment the STAR C++ base classes generate:

The most complicated example of the ROOT macro employing all "integration" classes is bfc.C file. Other more simple examples can be found at ROOT in STAR Web page.

Chains: The list of the STAR production chains under development from macros directory:

base: STAF2ROOT base classes (the files in the brackets are the names of the share libraries for UNIX or DLL for Windows NT containing the binary of the classes in question):

Apart this there are the derived wrapper classes for STAF modules and tables generated by stic compiler from the IDL description into .share/tables and .share/domains.

The scheme of the creating the STAF table wrapper classes is shown on the picture:

The full list of the STAF classes ready for ROOT is generated by ROOT itself and can be see too as a part of the St_Table class description.

The wrappers for the STAF modules are done the same way: