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

HistFactory models that are written to a file, then retrieved with updated histograms find only old histograms

    XMLWordPrintable

    Details

      Description

      When writing a HistFactory model to a file, and then appending histograms with the same name, one cannot get the model to pick up the new histograms.

      When re-opening the file and reading the model, and then re-collecting histograms, ROOT hands the old histograms to the read function.

      The reason that histograms with newer name cycles get ignored is that RooStats::HistFactory::Channel::GetHistogram reads histograms from memory after they have been read once.

        Attachments

          Activity

            People

            Assignee:
            shageboe Stephan Hageboeck
            Reporter:
            shageboe Stephan Hageboeck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: