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

RooArgSet IsOnHeap result incorrect

    XMLWordPrintable

    Details

      Description

      Just spent a while trying to figure out why some RooArgSets I had put in an owning TList were not getting deleted when the TList was cleared.

      The answer appears to be that the RooArgSet IsOnHeap behaviour is incorrect for some reason:

      RooArgSet* s = new RooArgSet();
      s->IsOnHeap(); // this return false!!!!
      

      Doesn't seem to be an issue for RooArgList, RooRealVar .... dont know if there are other RooFit objects that have this issue?

        Attachments

          Activity

            People

            • Assignee:
              shageboe Stephan Hageboeck
              Reporter:
              will Will Buttinger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: