THnSparse Projections

Hi
I’ve tried doing a projection in the THnSparse class with variable width bin size but the bins do not maintain there original edges is there a simple way to do this projection?

thanks

Maki

Hi Maki,

which version of ROOT do you use? This is only implemented since v5-19/04. If you use that or a newer version: could you send me a working script that demonstrates this problem?

Cheers, Axel.

Hi Axel,
I’m running on ROOT v5-18, but the projection command is working it just isn’t binning in the way I wish, attached is my working code.

Thanks

Maki
sparse.C (1.29 KB)

Never mind…
I installed the new version and it appears to be working

Thanks

Maki