A Quick Histogram drawer for `ROOT::TTree` for smoother HEP analysis!
Project description
QHist – A Quick Histogram drawer for ROOT::TTree for smoother HEP analysis!
Examples:
Simple draw from tree and parameter (branch name):
h1 = QHist() h1.trees = t1 h1.params = 'M' h1.draw()
Overlaid comparison between branches, compact syntax:
QHist(trees=t1, params=['mu_PT/1e3','pi_PT/1e3'], xlabel='PT [GeV]', xmax=60).draw()
Compare between trees, with filtering, and reusable via templating:
H = QHist(trees=[t1, t2, t3], filters=['mu_PT>20e3']) H(params='APT' , xmin=0 , xlabel='PT-asymmetry').draw() H(params='M/1e3', xmax=120, xlabel='Mass [GeV]').draw()
Read more on https://qhist.readthedocs.io
Installation & dependencies
It’s available from pip install qhist. The package requires an existing installation of PyROOT.
Disclaimer
This packacge was written and used during my PhD in 2013-2017 at EPFL (Lausanne) and LHCb collaboration (CERN), for the work in Z->tau tau cross-section measurement and H->mu tau searches at LHCb (8TeV). I hope it can be of a good use for future analysis…
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for QHist-0.1.1.dev5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8652575ff98c658fdc460d1207d876dac617feb9662102ee62c41ef7eda4c9b4 |
|
MD5 | 3a3cd26b259b293598562af9a0c80c71 |
|
BLAKE2b-256 | a4f6505dd5a9679dd352d505410944969f49e590cbef966fc0c0b3b66a8bb3ab |