RooMCStudy 5 dimension fit, error

Hello All,

I am making a RooMCStudy for a 5Dimensional fit.

If I define my mcstudy with RooArgSet>4 variables. When I do generateAndFit I get the following error:

Info in TUnixSystem::ACLiC: creating shared library /shome/bmillanm/CMSSW_4_4_2/src/HeavyFlavorAnalysis/BsToJpsiPhi/2012_2_Fit/Fit_ToyMC/./toy_C.so
[#0] PROGRESS:Generation – RooMCStudy::run: sample 9
Error: Symbol #include is not defined in current scope :0:
Error: Symbol exception is not defined in current scope :0:
Syntax Error: #include :0:
Error: Symbol G__exception is not defined in current scope :0:
Error: type G__exception not defined FILE: LINE:0
(void)0
*** Interpreter error recovered ***

If I use 4 variables instead it works (independently of which 4 variables I used.)

Do you know why do I get this error?

Thanks in advance,

Barbara


Try to re-run your macro with CINT’s “exception catching” switched on:
root [0] .except
root [1] .x toy.C++

Thank you it takes away the error.

However, now it seams to run but the fit crashes without giving me any error line. I even took away the Silence() option.
If I do the fit on 4Dimensions it does work.
Is there a verbose I can use to get an error?

Thanks,

B.