87 string genie_path = gSystem->Getenv(
"GENIE");
88 string filename = genie_path +
"/VERSION";
89 bool vrs_file_found = ! (gSystem->AccessPathName(filename.c_str()));
90 if (!vrs_file_found) {
92 <<
"The GENIE version file [" << filename <<
"] is not accessible";
93 version =
"NO CVS version number was specified";
95 ifstream gvinp(filename.c_str(), ios::in);
100 string tunename(
"unknown");
105 this->
cvstag.SetString(version.c_str());
109 this->
tune.SetString(tunename.c_str());
110 this->tuneDir.SetString(
tuneDir.c_str());
111 this->customDirs.SetString(
customDirs.c_str());
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...