To build the rootINpaw (RIP), you need the above source download and the source for the 2003 version of paw (the current development version). From cern you need to download all the .tar.gz files. Cern also provides a build script that we'll make use of in the build process.
You also need a version of LAPACK, which can be obtained from netlib. As of this writing, the current version is 3.0.
After obtaining the sources, the following should build them:
cd $CERN_ROOT/ gmake root # uncomment if you need the packlib bins # cd $CERN_ROOT/build/packlib # gmake install.bin cd $CERN_ROOT/build/pawlib gmake install.bin
> source ~cdfsoft/cdf2.shrc > setup gcc v3_3_1 > ups list -a root | grep -B 1 3_3_1 Product=root Version=v4_00_03a Flavor=Linux+2 Qualifiers="GCC_3_3_1" Chain="" > setup root -q GCC_3_3_1 v4_00_03a
You should have a version of PAW that can load Root files now. Currently, it only works with UCNtuples. If you want to support another form of ntuple you'll need to do the following minimum modifications in 2003/Root/interface.C:
If you find any bugs, add support for a new ntuple, clean up some of the messy code, please send patches back. At some point, I want to add support for multiple ntuples into the base release (specifically the top and ucn, but others are more than welcome). If anyone can make this work with the stntuple (I think all you might really need is custom streamers), that would also be helpful.