[ROOT] Re: your mail

From: Patois Yannick (patois@ganil.fr)
Date: Thu Sep 28 2000 - 19:43:45 MEST


On Thu, 28 Sep 2000, Maurizio Ungaro wrote:

> Hi all,
> if I have a variable defined into a  macro like:
> 
> float a = .9
> 
> It's not  possible to define a cut like
> 
>  TCut c1 = "W<a" ,

You can do :
char mycut[100]; // 100 is 'long enough'
sprintf(mycut,"W<%f",a);

And then use the variable 'mycut' as an argument for your TCut
constructor.

	Yannick



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET