[Rivet] Yodascale

Gavin Hesketh gavin.hesketh at ucl.ac.uk
Wed Feb 25 12:42:49 GMT 2015


Hi,
just a small patch for the yodascale script, to avoid crashes when there 
are empty histos (which I found when there are electron and muon channel 
plots in an analysis, but only one channel is filled):

L117 :
         if norm > 0:
             sf = refnorm / norm
         else:
             sf = 0

or something similar.

cheers,
Gavin


More information about the Rivet mailing list