|
[Rivet] Poll: deltaEta -- signed or unsigned?Andy Buckley andy.buckley at ed.ac.ukTue Apr 12 17:46:57 BST 2011
On 12/04/11 17:31, Hendrik Hoeth wrote: > Hi guys, > > I want to put deltaEta(somevector, somevector) functions in the > vector classes. Would you expect this function to return a signed > value or the abs()? I'm sitting beside Hendrik at the moment, but may as well publicly register my opinion that an unsigned delta is safer and more consistent with our deltaPhi functions. If someone wants a signed delta(eta), I don't think it's too much to ask that they say vec_ref.eta() - vec_i.eta(). My $0.02 :-) Andy -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |