Menu

#84 problem using 2 PDFs created with RooClassFactory

v1.0 (example)
open
nobody
None
5
2013-06-10
2013-06-10
aviojet
No

Using RooFit v3.17, when including in a root macro 2 PDF classes autogenerated by RooClassFactory (and later on modified), if the call to "ClassImp" in the source file for both classes falls in the exact same line, the macro fails to compile with the following error:

                 from /mnt/ehs/user/ANALYSIS/morphology_fit/fit_radial_profile_C_ACLiC_dict.cxx:17:
/users/ehs/user/roofit_models/RooHat.cxx:17: error: redefinition of 'int ROOT::dImntdIehsdIuserdIANALYSISdImorphology_fitdIfit_radial_profile_C_ACLiC_dictR__dummyintdefault17'
/users/ehs/user/roofit_models/RooShell.cxx:17: error: 'int ROOT::dImntdIehsdIuserdIANALYSISdImorphology_fitdIfit_radial_profile_C_ACLiC_dictR__dummyintdefault17' previously declared here

If the call to "ClassImp" in the source file of one of the classes is moved to a different line, the macro compiles and runs perfectly.

Discussion


Log in to post a comment.