RooArgSet Limit

Hi Experts,

I am reading from a tree to make various unbinned likelihood fits. I am also importing other branches to make cuts on the fly for various versions.

I am limited to 9 other variables because RooArgSet will not take more than 10 RooRealVars. I want to overcome this limit. Is there a way to do so?

I have attached the pertinent lines of code below at [1]. More variables cause the crash at [2].

Thanks,
Chris

[1]
RooArgSet dataArgs = RooArgSet(invMassSC,cutLevel1,cutLevel2,et1,et2,eta1,eta2,type,signProd);
RooDataSet data(“data”,“all data”,dataArgs,Import(*Tree));

[2]
/home/users/capalmer/Active/aug2010/Macros/./fits.C:49: error: no matching function for call to ?RooArgSet::RooArgSet(RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&, RooRealVar&)?