Graphical Cut Application

Dear Rooters,

I have a graphical cut saved as a root file and I want to apply this cut on a set of events inside an event loop. How to do that?

Thank you very much in advance

First retrieve the cut in the root file using Get.
Then you can use it in TTree::Draw as a selection.

1 Like

Thank you very much for your reply. Actually I found IsInside(x,y) method that can be applied inside the event loop.

Kind Regards,