Read only bins with content

Hallo rooters,

I filled a Profile with my values written by my measurement system. The histogramm isn’t filled continuously (only when an action is registrated). After filling I want to use a median filter on these contents. But there a gaps between the bins with content, root filled it up with zero and increments binx. When I use for example a filter length of 3, I enumerate the gaps, too.

Is there a possibility to read only the bins with content and to avoid the gaps?


–> …Rebin…