[Rivet] stacking or adding .aida files

Hendrik Hoeth hendrik.hoeth at cern.ch
Tue Feb 7 13:09:23 GMT 2012


Hi Lynn,

Thus spake Lynn Marx (Lynn.Marx at hep.manchester.ac.uk):

> The problem is however as soon as I need to Stack more than one pair,
> i.e. if I for example want to plot MCatNLO versus Powheg, then doing
> 
> Stack=MCatNLOWpZ MCatNLOWmZ
> Stack=PowhegWpZ PowhegWmZ
> 
> gives me funny results.

This is indeed not supported by make-plots. Internally, the
Something=Value lines are handled as a python dictionary. That means
your second "Stack" line overwrites the first one.

> Is there any work around to this?

That depends. If you want to make one specific plot and don't mind some
manual work, you can do the following:

 - Make one plot for MC at NLO. Set XMin, XMax, YMin, YMax manually!!!
 - Run make-plots with the --tex option. This will give you the LaTeX
   code for the plot.
 - Do the same for the Powheg plot.
 - Copy the plot line from the Powheg .tex file into the MC at NLO .tex
   file (or vice versa). Those LaTeX lines is fairly easy to find:
     - Search for "linecolor=yourlinecolor" (replace yourlinecolor by
       the line color of the plot). That should appear 
     - take that whole block from \psclip{\psframe... (which is the line
       above the linecolor setting to \endpsclip.
 - Run latex, dvips and maybe ps2pdf (not pdflatex).
 - Enjoy!

Cheers,

    Hendrik

-- 
A man without a dream in his heart already has one foot in the grave.


More information about the Rivet mailing list