[Rivet] question on rivet-mkhtml

Chierici Roberto Roberto.Chierici at cern.ch
Mon Dec 8 09:48:04 GMT 2014


Dear experts,

have a basic question on the use of rivet-mkhtml to produce plots.
I have now a local rivet installation (the rivet-mkhtml on lxplus gave 
empty
plots, think there is an open ticket on that already) and with that I 
manage
to produce my plots. The command I use is, for instance:

rivet-mkhtml -s --mc-errs -o ~/www/MyRivetSelection 
results/TT_UEP11_8TeV_pythia6_tauola/out_1.yoda:'P11'

Now I want to change settings to my plots (zooming in, changing 
labels...) so I
made a plots.plot file with a standard syntax, trying with one plot first.
This file stays in my local directory and contains the following lines:

> # BEGIN PLOT /MyRivetSelection/D0Mass-b-jet1*
> XMin=1.0
> XMax=2.0
> LogY=0
> LegendXPos=0.65
> # END PLOT

and if I try now:
rivet-mkhtml -s --mc-errs -o ~/www/MyRivetSelection -c  plots.plot 
results/TT_UEP11_8TeV_pythia6_tauola/out_1.yoda:'P11'

nothing happens at all. No plots, not a single one out of the many I 
produce,
no warning, no error, no crash. So I wonder if the path I used is 
correct, namely
the line "# BEGIN PLOT  /MyRivetSelection/D0Mass-b-jet1*"

I tried many alternatives, no one worked. But indeed in my cc I do have
MyRivetSelection defined as a class, and the correct histogram name
(and indeed I have the files ~/www/MyRivetSelection/D0Mass-b-jet1* when
I run without the -c option)

> MyRivetSelection()  :
>       Analysis("MyRivetSelection")
>     {
...
>>   _h_D0Mass[0]  = bookHisto1D("D0Mass-b-jet1",100,0,10);

Should I define my directory /MyRivetSelection in some other file? Should I
touch any other file? Is the path I am using wrong?

Any hint would be appreciated.

Thank you
Roberto


More information about the Rivet mailing list