The nominal mass point gets an unexpected value when calling BuildRooMorphing with the file parameter, for example when creating the workspace and datacards including:
and calling then FitDiagnostics and PostFitShapesFromWorkspace to have a look on the pre/postfits one gets as a prefit the plot that corresponds to scannedParameter=18 in this example, so to the last value set in RooRealVar. My colleague pointed me that the actual reason for this is the way the RooRealVar is handed along in the Morphing process (as a pointer) and the fact that its value gets modified when writing the debug file. One can come around it by not using the file parameter, not by using the --setParameters option. I believe it's not a wanted behaviour?
Hi!
The nominal mass point gets an unexpected value when calling
BuildRooMorphing
with the file parameter, for example when creating the workspace and datacards including:and calling then
FitDiagnostics
andPostFitShapesFromWorkspace
to have a look on the pre/postfits one gets as a prefit the plot that corresponds to scannedParameter=18 in this example, so to the last value set in RooRealVar. My colleague pointed me that the actual reason for this is the way the RooRealVar is handed along in the Morphing process (as a pointer) and the fact that its value gets modified when writing the debug file. One can come around it by not using the file parameter, not by using the--setParameters
option. I believe it's not a wanted behaviour?Thank you for your assistence!
Best regards, Olena