Back to home page

EIC code displayed by LXR

 
 

    


Warning, /pyjano/README.md is written in an unsupported language. File is not indexed.

0001 :# pyjano
0002 
0003 ![Pyjano](logo.png) 
0004 
0005 Pyjano stands for **Py**thon **Jan**a **O**rchestrator. Python wrapper over 
0006 [jana2](https://github.com/JeffersonLab/JANA2) framework to make configuration
0007  and running convenient. 
0008 
0009 **Install**
0010 
0011 ```bash
0012 python3 -m pip install pyjano    # use --user for user level install
0013 ```
0014 
0015 Simple configuration
0016 
0017 ```python
0018 from pyjano.jana import Jana
0019 jana = Jana()
0020 
0021 # Plugins configuration 
0022 jana.plugin('beagle_reader')\
0023     .plugin('vmeson')\
0024     .plugin('event_writer')\
0025     .plugin('jana', nevents=10000, output='beagle.root')\
0026     .source('../data/beagle_eD.txt')
0027 
0028 # Run
0029 jana.run()
0030 ```
0031 
0032 Custom executable