Re: TNamed and CINT

From: Valery Fine (fine@bnl.gov)
Date: Wed Dec 22 1999 - 21:59:03 MET


I am begging a pardon I did a bug

>   The right (safe) way to do what you want:
> 
>  TFuzzyVariable TF1("anyTF1","TF1");
>  TFuzzyVariable TF2("anyTF2","TF2");
>  TFuzzyVariable TF3("anyTF3","TF3");
> 
>   char commandBuffer[256];
>   sprintf(commandLine,
>    "(*((TF1 *)(0x%x))) = (*((TF1 *)(0x%x))) + (*((TF1 *)(0x%x))) ", &TF1,&TF2,&TF3);
> 
>   gRoot->ProcessLineSync(commandLine);
> 
  The right line looks like  

   "(*((TFuzzyVariable *)(0x%x))) = (*((TFuzzyVariable *)(0x%x))) + (*((TFuzzyVariable *)(0x%x))) ", &TF1,&TF2,&TF3);

  Valery



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET