The current ROOT provides:
- make a 1-D projection of a 2-D histogram or Profile see functions TH2::ProjectionX,Y, TH2::ProfileX,Y, TProfile::ProjectionX
- make a 1-D, 2-D or profile out of a 3-D histogram see functions TH3::ProjectionX,Y,Z, TH3::Project3D, TH3:Project3DProfile
Unfortunately, these methods do not know the “width” option.
So, my proposal is to add it (like it exists in all Integral 2 methods).