The STAR inner tracking upgradeRHIC/AGS users meeting 2008, BNL, June
2006
2005
2004
Publications
Pythia Comparisons
Directory with plots from pythia (pdf files)
BasePlot and GraphUtils
These small utility packages are based on root, that makes creating the typical physics plots with nx*ny panels much easier to deal with. The figure, text sizes are dealt i.e specified with in cm, the code calculates internally how to set the proper intrinsic root values for offsetsetc. When adjoing panels the lables on the axises can be justified (left or top) such that the first label in case it is on the boundary is not clipped.
No real documentation exists, but the README file and the examples in the test subdirectories should guide you along. The packages has been used by BRAHMS for several publications, conference proceedings and talks.
The packages comes with the usual qualification, that it comes for use as is. The package has exclusively been
developed on RCF linux system by Kris Hagel and myself; the latest gcc is 3.4.6.
One method is derived from the root source code (BanTGaxis) , and I refer to the license discussion on the root home page ( license). This was necessary to avoid the clipping aluded to in the first paragraph.
In addition to the BasePlot package, it contains a number of utility macros and methods, that are helpful in manipulating graphs and 1D-histograms.
In particular the GraphFromFile that can select columns to be used in graphs from on multicolumn text file may be useful.
A tar file
grutils_v5.4.tar (latest version 11.27.2010) containing code and macros in a tarfile is available.
I will be happy for comments, corrections, and suggestions to this package. Contributions with appropriate makefile for MAC will be appreciated.
Version information
- Version 5.4
Added alternate method for GraphFromFile.
Updated README and comments.
- Version 5.1
Updated comments to exmaples.
- Version 5.0
Added possibility to create sub-pads with different relative size in x and y direction. See Example6.C how this can be used. The global features of being able to define text size, tick mark size in a gloabl format is preserved.
Example Plots
- Example1 (figure) (macro) A two pad figure with two histograms each and a function. This code is commented for usage.
- Example2 (figure) (macro) As Example1 but with an added global text.
- Example3 (figure) (macro) A one pane figure with a TGraphAsymmErros for systemetics.
- Example4 (figure) (macro) As 3 but with additional tick mars.
- Example5 (figure) (macro) Illustration of different tic positions, as also available in root.
- Example6 (figure) (macro) A multipanel figure with different size panel in x and y.
- testGraphFromFile (macro) Macro reading coulom data from a text file defining columns associated with x, y, dy. Line with a leading # are treated a comment lines. It is possible to have columns not read by defining them a dummy e.g "x dummy y dy" as defining the layout.
Flemming Videbaek
Last modified: Sat Nov 27 15:02:24 EST 2010