This project is a satellite of supy for TopRef format TTrees.
supy dependencies:
- Python (2.x, x>=6)
- ROOT (>=5.27.06) with PyROOT enabled
Further dependencies:
- NumPy and SciPy
CMSSW is not required, but is often the easiest way to get functioning PyROOT.
Steps 1 and 3 need to be run any time you start in a new shell; step 2 only needs to be done once per machine.
-
Set up ROOT and Python, for example, by running
cmsenvfrom an appropriate path. -
Initialize local repository (only once)
git clone git://github.com/betchart/topref.git # no repo write permission, or
#git clone git://github.com/<username>/topref.git # if you have forked it
cd topref/
git submodule update --init # initialize the supy submodule- Configure path variables
export PYTHONPATH=$PYTHONPATH:`pwd` # add parent directory of supy to python path
export PATH=$PATH:`pwd`/supy/bin # optionally add supy/bin to your path- Run Tests
supy-testPlease report problems at issues