|
From: Zinonas Z. <zin...@gm...> - 2013-03-14 10:24:39
|
Hi Peter,
what you guessed is correct. Thanks.
On 03/14/2013 10:17 AM, Peter Speckmayer wrote:
> Hi Zinonas,
>
> Please check if a variable of that exact name is present in all the
> trees you've added to the factory. What does ROOT tell you if you just
> load the trees and access this variable (e.g. with
> tree->Scan("myvariable"); )?
>
> cheers,
> Peter
>
>
>
> 2013/3/12 Zinonas Zinonos <zin...@gm... <mailto:zin...@gm...>>
>
> Hi,
>
> I often get this fatal error
>
> Error in <TTreeFormula::Compile>: Bad numerical expression :
> "myvariable"
> --- <FATAL> DataSetFactory : Expression myvariable could not
> be resolved to a valid formula.
> ***> abort program execution
>
> when adding variables to the factory
>
> factory->AddVariable( "myvariable", 'F');
>
> Why? My fault?
>
> Thanks!
> Zinonas
>
> PS I put a copy of a working tree in my lxplus public area:
> ~zenon/public/data.215063.root . You can try with BDT and the variable
> (double) "MMC_resonance_x0".
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The
> Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice"
> in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> TMVA-users mailing list
> TMV...@li...
> <mailto:TMV...@li...>
> https://lists.sourceforge.net/lists/listinfo/tmva-users
>
>
>
>
> --
> Sent from *---censored----*
>
|