Problem with TCut

Hello

     I am trying to condition a histogram with a TCut. But if I do it in the following way:

  Double_t mil=1000;
  TCut  En_Cut="Energy > mil";

I get an Error 30: Bad numerical expression mil.
Am I then obliged to write it like “Energy>1000” ? Isn’t there a way around this? I have to define many cuts and this is way is not practical for me.

     Thanks
                  Belen Gomez

Do:

Double_t mil=1000;
TCut En_Cut = Form(“Energy > %g”,mil);

Rene