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

Cannot clone histogram if gDirectory is null

    XMLWordPrintable

Details

    Description

      From Chris Jones:
      TH1::Clone fails if gDirectory is null. This is because TH1::Clone() calls TList::Clone() which calls TObject::Clone(). TObject::Clone() gives an error message if gDirectory is null.
      It is possible to successfully construct a TH1 when gDirectory is null. Similarly, it should be possible to clone an object even if gDirectory is null.
      This is needed by CMS for multithreading.

      Attachments

        Activity

          People

            pcanal Philippe Canal
            wmtan William Tanenbaum (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: