[Rivet] rivet-rescale ?

Hendrik Hoeth hendrik.hoeth at cern.ch
Wed Jun 2 09:14:08 BST 2010


Hi guys,

how does rivet-rescale work? I can call it without observable file, but
then it will rescale all histograms. If I pass it an observable file, I
get an error like this:

----------------------------------------------------
$ rivet-rescale -O ../../normalise.list -r ../../ref/ out.aida
Read ref histos from folder ../../ref/
No bin definition given for /CDF_2000_S4155203/d01-x01-y01   1.0

Traceback (most recent call last):
  File "/home/hoeth/Dokumente/MCnet/rivet/installation/local/bin/rivet-rescale", line 235, in <module>
    obslist, obsnorms, bindefs = readObservableFile(opts.obsfile)
  File "/home/hoeth/Dokumente/MCnet/rivet/installation/local/bin/rivet-rescale", line 139, in readObservableFile
    bindefs[path] = (low, high)
NameError: global name 'path' is not defined
----------------------------------------------------

So what am I doing wrong here?

Cheers,

    Hendrik

-- 
Don't knock the weather. If it didn't change once in a while, nine
out of ten people couldn't start a conversation.    -- Kin Hubbard


More information about the Rivet mailing list