Skip to content

Implement RDataFrame action for filling THnSparse #13428

Open
@jgalan

Description

@jgalan

Feature description

It seems possible to create on the fly a TH1/2/3 and THn histograms from an existing RDataFrame instance.

However, it seems not to be possible to fill directly a THnSparse object from the data frame.

It would be great to be able to invoke RDataFrame::HistoNSparseD or similar to get this kind of object in a similar way as we can retrieve it using RDataFrame::HistoND.

See further discussions at the following root-forum post:

https://root-forum.cern.ch/t/creating-a-thnsparse-using-rdataframe/55965/5

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions