[Rivet] plotting of multi-weight curves in 3.0.0alpha1

Andy Buckley andy.buckley at cern.ch
Tue Feb 16 23:00:08 GMT 2016


Hi Christian,

I'll look into improving this. There might be a few things that need to 
be upgraded to understand those new extended paths, as well as making 
rivet-cmphistos itself a bit more flexible -- I just hacked in something 
that would demonstrate the multiweight ability; should have known that 
enhancements would immediately be requested ;-)

Andy


On 28/01/16 16:47, Christian Gütschow wrote:
> Hi,
>
>     Not necessarily, you could also use .* for the file, couldn't you?
>     I also haven't used it in a while, but I remember it as a way to
>     overwrite properties for individual histograms, instead of plots, and
>     since linecolor/style is a histo property and not a plot property I
>     thought this might work?
>
>
> Looks like neither
>
> .*/MC_JETS/\[MUR0.5_MUF1_PDF261000\]::LineColor=blue
>
> nor the version where I use the specific yoda file name work. Escaping
> the square brackets didn’t help either.
>
> I have a feeling this is because in rivet-cmphistos, there is a loop
> over all canonical analysis objects (I guess that’s the nominal curves?)
> and within that there’s a loop over all the variations for that object.
> It looks like the style of the variations is hardcoded to be the same as
> the style of the canonical objects. So it seems that currently there is
> indeed no way to overwrite the style for a specific variation.
>
> Cheers,
> Chris
>
>
>
>
> On 28 January 2016 at 17:29, Frank Siegert <frank.siegert at cern.ch
> <mailto:frank.siegert at cern.ch>> wrote:
>
>     Hi Chris,
>
>     > this is to overwrite properties for specific histograms in a local file, no?
>
>     Not necessarily, you could also use .* for the file, couldn't you?
>     I also haven't used it in a while, but I remember it as a way to
>     overwrite properties for individual histograms, instead of plots, and
>     since linecolor/style is a histo property and not a plot property I
>     thought this might work?
>
>     > Besides, as far as I can tell this doesn’t work with the
>     > /path/name[variation] syntax used in v3.0.0alpha1 (at least I couldn’t get
>     > it to work).
>
>     As Andy mentioned, you might just have to be careful to build the
>     regexp correctly, in particular including those square brackets?
>
>     Cheers,
>     Frank
>
>
>
>
> --
>
>   Dr. Christian Gütschow
>
>   TU Dresden
>   Institut für Kern- und Teilchenphysik
>   Zellescher Weg 19
>   01069 Dresden
>
>   > at CERN: 104-02-C02
>   > at IKTP: E17, ASB
>   > chris.g at cern.ch <mailto:chris.g at cern.ch>
>
>
>
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
>


-- 
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow


More information about the Rivet mailing list