plotting scale and pdf unc. separately with HwU

Asked by Richard Ruiz

Hi folks,

I think this one is for Rik.

I have one BSM process, say p p > T Tbar at NLO, with scale and pdf uncertainties, and for three different mass values, m1,m2,m3.

Using HwU, I want a plot with:
(a) a main panel showing, say, pT(TTbar)
(b) a sub panel showing the scale variation
(b) a sub panel showing the PDF variation

Can I do this easily? I do not see how to adapt the examples in the FAQ for this situation.

At the moment, if I use the the command:

$ python path_to_1.HwU path_to_2.HwU path_to_3.HwU --keep_all_weights --variations=['scale','pdf'] --band=['pdf'] --out=test

The middle panel has lines for scale unc. and a band for pdf unc. all in one panel. The lower panel is the ratio w.r.t. the first curve. Is it easy to split the middle panel into two panels? It is easy enough to remove the lowest panel by commenting it out.

FYI: The event selection is the same for all three samples; the only difference would be the input parameter. I am also using 2.9.16_LTS (git).

cheers,
richard

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
Rikkert Frederix Edit question
Solved by:
Richard Ruiz
Solved:
Last query:
Last reply:
Revision history for this message
Rikkert Frederix (frederix) said :
#1

Hi Richard,

No, there is no easy way through the command line.

You can either hack the ./madgraph/various/histograms.py (or YourProc/bin/internal/histrograms.py) to change the format for all plots, or simply write your own gnuplot wrapper to read in the MADatNLO.HwU data file.

best,
Rikkert

Revision history for this message
Richard Ruiz (rruiz) said :
#2

Hi Rikkert,

I thought that this might be the case. Thanks for the quick response!

cheers,
richard