Skip to content
forked from HEP-FCC/heppy

A python analysis framework for high energy physics

License

Notifications You must be signed in to change notification settings

peterkostka/heppy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heppy : a python framework for high-energy physics data analysis

Prerequisites

python 2.x, x>5

ROOT 5, with pyroot support

Note that you need to ensure that ROOT was compiled with the same version of python as the one in your PATH.

To check that, do the following:

python
import ROOT

Any error message needs to be taken care of before going further.

Environment

Put the heppy package in a directory that is in your PYTHONPATH For example, you can do:

export PYTHONPATH=$PWD/..:$PYTHONPATH

Check that you can now import heppy:

python
import heppy 

From this directory, run the initialization script, which makes a few executable scripts available to you:

source init.sh

Examples

A simple example are provided in the test/ directory:

cd test/

Create a root file with a tree:

python create_tree.py

Process the root file:

heppy_loop.py  Output   simple_example_cfg.py

Investigate the contents of the Output folder and its subdirectories.

About

A python analysis framework for high energy physics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published