5 printf(
"Reading MWPC mapping file ...\n");
6 fMapFileName = TString(getenv(
"VMCWORKDIR")) + TString(
"/input/") + mapName;
8 fMapFile.open((fMapFileName).Data());
9 if (!fMapFile.is_open()) {
10 cout <<
"Error opening map-file (" << fMapFileName <<
")!" << endl;
18 fMapFile >> dummy >> dummy >> dummy;
20 while (!fMapFile.eof()) {
21 fMapFile >> hex >> ser >> dec >> station >> plane;
22 if (!fMapFile.good())
break;
27 fMap.push_back(record);