| 17 | 
  | 
  T( theInfo, the_ff ) | 
| 18 | 
  | 
{ | 
| 19 | 
  | 
  GenericData* data; | 
| 20 | 
< | 
  DoubleData * chiValue; | 
| 21 | 
< | 
  DoubleData * integralOfChidtValue; | 
| 20 | 
> | 
  DoubleGenericData * chiValue; | 
| 21 | 
> | 
  DoubleGenericData * integralOfChidtValue; | 
| 22 | 
  | 
 | 
| 23 | 
  | 
  chiValue = NULL; | 
| 24 | 
  | 
  integralOfChidtValue = NULL; | 
| 35 | 
  | 
    // retrieve chi and integralOfChidt from simInfo | 
| 36 | 
  | 
    data = info->getProperty(CHIVALUE_ID); | 
| 37 | 
  | 
    if(data){ | 
| 38 | 
< | 
      chiValue = dynamic_cast<DoubleData*>(data); | 
| 38 | 
> | 
      chiValue = dynamic_cast<DoubleGenericData*>(data); | 
| 39 | 
  | 
    } | 
| 40 | 
  | 
     | 
| 41 | 
  | 
    data = info->getProperty(INTEGRALOFCHIDT_ID); | 
| 42 | 
  | 
    if(data){ | 
| 43 | 
< | 
      integralOfChidtValue = dynamic_cast<DoubleData*>(data); | 
| 43 | 
> | 
      integralOfChidtValue = dynamic_cast<DoubleGenericData*>(data); | 
| 44 | 
  | 
    } | 
| 45 | 
  | 
     | 
| 46 | 
  | 
    // chi and integralOfChidt should appear by pair |