STAR Computing | |
ROOT in STAR | |
Maintenance Valeri Fine | |
To use ROOT framework some environment should be provided.
ROOT environment is set in two steps.
The last means if you do nothing special your ROOT defaults are defined via the $ROOTSYS/.rootrc profile. ROOT profile defines many useful parameters. For example it defines
Below we present the piece of the STAR ROOT profile:
Unix.*.Root.DynamicPath:
.:$(ROOTSYS)/lib:$(STAR_LIB):$(STAF_LIB)
Unix.*.Root.MacroPath:
.:$(STAR)/StRoot/macros:$(STAR)/StRoot/test:$(ROOTSYS)/macros
WinNT.*.Root.DynamicPath:./;$(ROOTSYS)/star/bin;//Sol/afs_rhic/star/packages/dev/.intel_wnt/bin;$(ROOTSYS);$(ROOTSYS)/bin;$(PATH)
WinNT.*.Root.MacroPath:./;$(home)/root/macros;$(ROOTSYS)/tutorials;$(ROOTSYS)/star/macros;//Sol/afs_rhic/star/packages/dev/.intel_wnt/bin;$(ROOTSYS)/macros
# Rint (interactive ROOT
executable) specific alias, logon and logoff macros
Rint.Load: $(ROOTSYS)/tutorials/rootalias.C
Rint.Logon: $(STAR)/StRoot/macros/rootlogon.C
Rint.Logoff: $(ROOTSYS)/tutorials/rootlogoff.C
Rint.History: $(HOME)/.root_hist
To see some ROOT startup options just type root4star to get:
J:\Public\root>root4star -h Usage: root [-l] [-b] [-n] [-q] [file1.C ... fileN.C] Options: -b : run in batch mode without graphics -n : do not execute logon and logoff macros as specified in .rootrc -q : exit after processing command line macro files -l : do not show splash screen
- starpro - to select <pro> version
- stardev - to select <dev> version
- starnew - to select <new> version
- starver 98j - to select the version <98j> of STAR library
To end the interactive ROOT session just type ".q" command as follows:
root [3] .q This is the end of ROOT -- Goodbye
Watch for ROOT banner:
ROOT
is under evaluation for use as an analysis tool in STAR, with
possible application also for parts of the transient and
persistent OO/C++ data model we plan to migrate to.
State of
ROOT in STAR as of 6/23/98