Dear All,
I’m beginner in root.
I had written a c++ code to our analysis using root-6-18-04. Everything works well. For some special reasons, I force to change root version to 5-34-3. When I try to run again my code, it gives following error
Error: Can’t call basic_ifstream<char,char_traits >::basic_ifstream<char,char_traits >(filename) in current scope ttww_model_analysis_3lepton_same_sign_fitting.C:990:
Possible candidates are…
public: basic_ifstream<char,char_traits > basic_ifstream<char,char_traits >::basic_ifstream<char,char_traits >(void);
public: basic_ifstream<char,char_traits > basic_ifstream<char,char_traits >::basic_ifstream<char,char_traits >(const char* s,ios_base::openmode mode=ios_base::in);
*** Interpreter error recovered ***
It should be mentioned here, in a part of our code, i use ifstream function to read a piece of text file. Also below line gives above error.
that part including ifstream is as follows
string filename="/data/ttwwmodel/ttww_yt_reweighting_original.lhe";
ifstream myfile (filename);
Would you please clearly help me to solve this problem?
Bests,
Mahdi