Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbourjau/tpyselector_example
Example of running a local analysis within the pyroot framework using the TPyselector class
https://github.com/cbourjau/tpyselector_example
Last synced: about 1 month ago
JSON representation
Example of running a local analysis within the pyroot framework using the TPyselector class
- Host: GitHub
- URL: https://github.com/cbourjau/tpyselector_example
- Owner: cbourjau
- License: gpl-3.0
- Created: 2014-01-23T15:28:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-23T21:25:52.000Z (almost 11 years ago)
- Last Synced: 2023-08-11T18:00:34.779Z (over 1 year ago)
- Language: C++
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TPySelector example
===================
Granted, this example does not make a lot of sense from a physical point of few but demonstrates how to run a local analysis written in python and using the TPySelector class.
Unfortunately, I cannot make the root files with the data available so on cannot run this but I hope that the code is clear enough to see what is going on and trust me, it works!
What this progam actuall does is:1. Get options from the command line and put the files in a chain or fileset.
2. Process the files with Proof-lite. It is not really any analysis, just categorizing tracks into "associated" and "trigger" particles and filling it into a histogram.It can be run (if one had the files ;)) with:
$ python main.py --assoc 0.5 1 --triggers 1