Thank you,Wile.
I have problem with reading value “nan”. I can replace it as “inf” or “0”.
But is there a way to represent nan value that readable from txt file?
/w/hallb-scshelf2102/dil/AnalysisRoot/RunRoot/cross_section/CD_efficiency_value.h:89:6:error: *cannot initialize an array element of type ‘const double’ with an lvalue of type 'double (const char ) throw()’
No, Nan, means “not a number”. You cannot read them as such from a txt file. You always should avoid generating Nan, that’s a bug in you code if it does that… Your program should be protected against that.