I would like to project a TH2F histogram onto X axis by using ProjectionX function. But before doing it, I would like to apply a cut to the TH2F histogram (such as log10(x) + 10 < 6*y) prior to projection. In the ROOT documentation, ProjectionX is said to be used with a predefined TCutG. Can I use a TCut object instead of TCutG or is there any way to convert a TCut object into a TCutG object.
Thanks!