2d histogram

in a 2d histogram, iam cutting a portion by applying tcutg, but when i’m trying to make xprojection of that particular cut portion, i’m getting the projection of whole 2d spectrum. is it possible to get xprojection of a particular cut portion of a 2d histogram. thanks in advance. :question:

see documention of TH2::ProjectionX,Y

root.cern.ch/root/htmldoc/TH2.ht … rojectionX

Rene