[Rivet] Scaling histograms

Hendrik Hoeth hendrik.hoeth at cern.ch
Thu Sep 6 10:07:34 BST 2012


Hi Jennifer,

> how can I scale histograms with the rivet-rescale only by a constant
> factor? I need to multiply the values by 0.67. From the help I didn't
> really find out how this is possible.

Create a file with your histogram IDs and scale factors, something like
this:

/ATLAS_2012_I1083318/d01-x01-y01   0.555
/ATLAS_2012_I1083318/d01-x01-y02   0.555
/ATLAS_2012_I1083318/d03-x01-y01   0.555
/ATLAS_2012_I1083318/d03-x01-y02   0.555
/ATLAS_2012_I1083318/d04-x01-y01   0.555
/ATLAS_2012_I1083318/d04-x01-y02   0.555

Then run

rivet-rescale --fast -O your-scale-factor-file --multiply your-aida-file.aida

and you'll get a file called your-aida-file-rescaled.aida.

HTH,

   Hendrik

-- 
Journalist: "Can you explain 5 sigma as 99.999something percent?"
Fabiola G.: "Sure, that's 3*10^-7."
(after the CERN Higgs seminar, 4 July 2012)


More information about the Rivet mailing list