Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10605

wrong slice in plotting simultaneous pdf built with RooSimWSTool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.08/06, 6.18/04
    • Fix Version/s: 6.22/00, 6.20/02
    • Component/s: RooFit/RooStats
    • Labels:
      None
    • Environment:

      CentOS Linux 7 (Core)

      Description

      Similar problem as reported in https://root-forum.cern.ch/t/wrong-pdf-projection-when-using-ploton-with-roosimultaneous/11670 , but with RooSimWSTool in place of RooSimPdfBuilder, which is superseded.

      Basically the simultaneous PDF generated with RooSimWSTool works well during the fit, but when plotted in the two different slices, it does not change, i. e. the slice category "peaches" is plotted even if

      Slice(sample,"apples")

      is requested.

      Attached a minimal example where a simple gaussian is used as a prototype and the mean is different for each category. The fit on the generated pseudodata works well, so the problem seems only during the plot.

        Attachments

        1. Screenshot 2020-03-09 at 20.02.26.png
          Screenshot 2020-03-09 at 20.02.26.png
          32 kB
        2. test.C
          3 kB
        3. testPlot.png
          testPlot.png
          11 kB

          Issue Links

            Activity

              People

              • Assignee:
                shageboe Stephan Hageboeck
                Reporter:
                fbetti Federico Betti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: