Hi Manoel,
You should put the ! inside the quotes, eg
ntuple->Draw("t:E","px<0 && py>0")
ntuple->Draw("t:E","!(px<0 && py>0")
or
TCut cut="px<0 && py>0"
ntuple->Draw("t:E",cut)
ntuple->Draw("t:E",!cut)
Rene Brun
Manoel Couder wrote:
>
> I have a ntuple and a cut in this ntuple.
> I can draw the ntuple selection by:
>
> ntuple->Draw("t:E","MyCut");
>
> How do I draw the inverse selection.
> Something like...
> ntuple->Draw("t:E",!"MyCut");
>
> cheers,
>
> Manoel.
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET