Problem with TCutG in Ttree->Draw

Dear all,

I’m having problems with a TCutG when used with ttree->Draw.
Basically my code it draws an empty histogram when a TCutG is applied. I’m using ROOT 6.14/06 on Ubuntu 16.04
Please find attached my macro.

Thank you.
cheers,

DavideRead_Tree.C (1.2 KB)

Try with:

	mycutg->SetVarX("Br_Ql");
	mycutg->SetVarY("psd");

It works!
Thank you!

Is it possible to retrieve or select (or mark) the events inside the cut?

Thank you.