Plotting LHE Files
To plot different distributions (e.g. p_T, eta) from a generated LHE Files in
ROOT the python class
LHEAnalyzer Python script can be used together with an additional analysis file.
Note: The Python script was not created by myself, but due to the unknown origin of the python script I can not cite the original author.
Merge Histograms from Two or More ROOT Files in One Histogram
For the comparison it would be nice to have the possibility to merge easily histograms of the same distribution (e.g. p_T, eta) but from two or more
ROOT files (e.g.
MadGraph5 vs.
aMC@NLO) in one histogram.
This
ROOT macro plots automatically a common histogram for each distribution together with a ratio plot. The only requirement is, that the name of the distribution is the same in all
ROOT files.
Distribution Name | Description |
| |
Pt | pT distribution |
DeltaR | DeltaR distribution |
Eta | Eta distribution |
Mass | Mass distribution |
| |
t1 | Top quark or top antiquark with high pT |
t2 | Top quark or top antiquark with low pT |
top | Top quark |
topbar | Top antiquark |
b1 | Bottom quark or bottom antiquark with high pT |
b2 | Bottom quark or bottom antiquark with low pT |
bottom | Bottom quark |
bottombar | Bottom antiquark |
h | Higgs boson |
add | Additional particles / jets |
| |
DeltaR_t1t2 | DeltaR between top quark or top antiquark with high pT (t1) and top quark or top antiquark with low pT (t2) |
DeltaR_toptopbar | DeltaR between top quark and top antiquark |
Pt_t1 | pT of top quark or top antiquark with high pT |
Pt_t2 | pT of top quark or top antiquark with low pT |
Pt_top | pT of top quark |
Pt_topbar | pT of top antiquark |
Eta_t1 | Eta of top quark or top antiquark with high pT |
Eta_t2 | Eta of top quark or top antiquark with low pT |
Eta_top | Eta of top quark |
Eta_topbar | Eta of top antiquark |
Pt_b1 | pT of bottom quark |
Pt_h | pT of Higgs boson |
Mass_h | Mass of Higgs boson |
Pt_add | pT of additional particles / jets |
Eta_add | Eta of additional particles / jets |
--
MarcoHarrendorf - 31 Jan 2014