TCutG and Events

Hi,

I do not manage to find a good solution to my problem,

I have a TH2F from Ttree with two different graphical cuts cut1 (with X entries) and cut2 (Y entries).

I want to project the TH2F along the X axis with the cut1 condition ( for example) but with Y entries. I want to plot only the first Y eventsin the cut1 region.

Thanks in advance.

valentina

see the doc of TTree::Draw. You can specify the number of events as well as the first event to process.

René