ROOT Version: 6.20
Dear experts,
I’ve switched my python project that is build on top of ROOT from ROOT6.18 to ROOT6.20 and now I get a weird error while running my code:
Traceback (most recent call last):
File "fit/fit.py", line 595, in <module>
fit(**vars(args))
File "fit/fit.py", line 112, in fit
pdfBuild = Bs2JpsiPhiRun2_PdfBuilder(**pdfConfig)
File "/user/egovorko/p2vv/standalone/python/P2VV/Parameterizations/FullPDFs.py", line 1579, in __init__
self['pdf'] = self._createSimultaneous()
File "/user/egovorko/p2vv/standalone/python/P2VV/Parameterizations/FullPDFs.py", line 1789, in _createSimultaneous
, SplitParameters = [ pars[0] for pars in splitPars if "dummy" not in pars[0][0].GetName() ] )
File "/user/egovorko/p2vv/standalone/python/P2VV/RooFitWrappers.py", line 1275, in __init__
self._declare(spec)
File "/user/egovorko/p2vv/standalone/python/P2VV/RooFitWrappers.py", line 167, in _declare
x = self._factory(spec)
File "/user/egovorko/p2vv/standalone/python/P2VV/RooFitWrappers.py", line 81, in _factory
return self.ws().factory(spec)
TypeError: none of the 2 overloaded methods succeeded. Full details:
RooFactoryWSTool& RooWorkspace::factory() =>
takes at most 0 arguments (1 given)
RooAbsArg* RooWorkspace::factory(const char* expr) =>
Unexpected character in brace expression. (C++ exception of type regex_error)
it seem to point to spec variables that has "Unexpected character in brace expression. ", however spec looks completely fine:
SIMCLONE::FitConfig_sig_t_angles_simul(FitConfig_sig_t_angles,$SplitParam({FitConfig_ASOddPhase,FitConfig_C_SP,FitConfig_f_S},{KKMassCat}),$SplitParam({FitConfig_effC_000,FitConfig_effC_020,FitConfig_effC_021,FitConfig_effC_022,FitConfig_effC_02m1,FitConfig_effC_02m2,FitConfig_effC_100,FitConfig_effC_121,FitConfig_effC_12m1,FitConfig_effC_200,FitConfig_sf_placeholder},{hlt1b,year}))
I read the release notes throughout to try to understand the causes, but haven’t found anything so far. Any suggestions are very appreciated. Thanks .