TNtuple::Fill function default parameters

Hello :smiley:

I am just curious: does anybody know a good reason why TNtuple::Fill
function should have two but not one parameter which does not have
a default value? :confused: As to me I often create NTuples with only one variable
and I have to fill them like this:

invMass->Fill(invMass12, 0.0); // the second variable is dummy

instead of the natural way:


Thanks a lot :smiley:


This was done by choice as a work-around some issue with overload resolution both in CINT and the compiler.
We have a uploaded in CVS a different work-around that allows calling TNtuple::Fill with only one numerical argument.