Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # pyjano
0002 
0003 
0004 ![Pyjano](logo.png) 
0005 
0006 Pyjano stands for **Py**thon **Jan**a2 **O**rchestrator. Python wrapper over 
0007 [jana2](https://github.com/JeffersonLab/JANA2) framework to make configuration
0008  and running convenient. 
0009 
0010 
0011 ```bash
0012 pip install pyjano
0013 ```
0014 
0015 Usage:
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