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

Labeled RHists should have Fill(const std::string_view&)-style methods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:
    • Development:

      Description

      Part of the point of having histograms with labeled axes is to be able to fill data based on textual label as opposed to floating-point coordinates.

      Of course, resolving this issue is blocked on ROOT-10403 . But even beyond that, the associated API design will require some thought:

      • Can we only expose those methods on RHist with labeled axes without making axis configuration part of the RHist type?
      • Can we resolve the combinatorial explosion of RHists with a mixture of RAxisLabels and other axis kinds?

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            hgraslan Hadrien Benjamin Grasland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: