Does "add" function not work anymore for more than 9 variables?

Hi everyone,

I have a set of variables - more than 9 - and I was trying to store it to RooArgSet as:

RooArgSet s(var1, var2, …, var9);
s.add(var10, var11…);

although it seems it does not work anymore. Do you know how to do it for ROOT 6.22?

Thank you!

I think @moneta can give you a correct answer

ok, the answer is RooArgSet s(var1, var2, …, var9);
s.add((RooArgSet(var10, var11, …))

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.