[Rivet] ATLAS inclusive isolated diphoton analysis in Rivet

Hendrik Hoeth hendrik.hoeth at cern.ch
Wed Sep 28 15:46:32 BST 2011


Thus spake Andy Buckley (andy.buckley at ed.ac.uk):

> >I'm not familiar with that analysis, but I guess you are trying to
> >calculate a median here. Shouldn't it then be (nDens+2)/2 instead of
> >(nDens-2)/2 in the first line?
> 
> Really? Let's say the array has 10 entries -- in that case
> Giovanni's median is the mean of the 5th and 6th entries.

*doh*

Forget it. I screwed up my pen'n'paper example. The code is fine.

-- 
A man without a dream in his heart already has one foot in the grave.


More information about the Rivet mailing list