Skip to content

[RF] RooDataHist::printDataHistogram should be renamed and moved #7822

@cburgard

Description

@cburgard

RooDataHist::printDataHistogram was recently added to print the bin contents of a RooDataHist. While very useful, this function needs several changes:

  • The observable should not be passed as an argument. Rather, the histogram already knows its observables and could behave accordingly.
  • The current implementation does not work for histograms with more than 1 observable
  • The function should be renamed to printContents and moved upwards the inheritance hierarchy to instead be declared in RooAbsData. A version for RooDataSet should be implemented as well.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions