|
[Rivet] question on rivet-mkhtmlFrank Siegert frank.siegert at cern.chMon Dec 8 10:03:50 GMT 2014
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 |