[Rivet] question on rivet-mkhtml

Chierici Roberto Roberto.Chierici at cern.ch
Mon Dec 8 10:13:40 GMT 2014


Hi Siegert,

if the acces to my yoda file is the only thing you need, I just fs sa'd 
my afs
directory for you:

/afs/cern.ch/user/r/rchieric/scratch0/CMSSW_7_2_0_pre3/src/UserCode/RivetAnalysis/results/TT_UEP11_8TeV_pythia6_tauola

thank you
Roberto

Le 08/12/2014 11.03, Frank Siegert a écrit :
> Hi Chierici,
>
> I can't reproduce your problem (for me plots do get produced if I
> follow your steps), but I also don't have your YODA file to test with.
> There is one minor issue, namely that the '*' will probably not match
> what you intended since it's interpreted as a regular expression, i.e.
> you probably wanted to use '.*'. But that shouldn't prevent you from
> getting any plots out.
>
> Maybe if you can provide a few more steps to reproduce this we can be
> more helpful.
>
> Cheers,
> Frank
>
>
>
> On 8 December 2014 at 10:48, Chierici Roberto <Roberto.Chierici at cern.ch> wrote:
>> 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
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet



More information about the Rivet mailing list