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

RooNDKeysPdf has no default constructor which causes a crash when reading it from a workspace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: < v5-28-00
    • Fix Version/s: 6.22/00
    • Component/s: RooFit/RooStats
    • Labels:
      None
    • Environment:

      GNU/Linux

      Description

      Hi,

      while importing a RooNDKeysPdf into a Workspace you get the following message:
      Warning in &lt;TBufferFile::WriteObjectAny&gt;: since RooNDKeysPdf has no public constructor
      which can be called without argument, objects of this class
      can not be read with the current library. You will need to
      add a default constructor before attempting to read it.

      And indeed, trying to recover the pdf from the workspace fails.
      Storing it as a TObject might be a temporary workaround.

      regards,
      Nils

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shageboe Stephan Hageboeck
                Reporter:
                ruthmann Nils Ruthmann (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: