Changeset 18539 for trunk/FACT++
- Timestamp:
- 08/21/16 13:11:56 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r17036 r18539 383 383 { 384 384 PixelMap mypMap; 385 if (map =="")386 { 387 if (!mypMap.Read(" /swdev_nfs/FACT++/FACTmap111030.txt"))388 { 389 if (!mypMap.Read(" ./FACTmap111030.txt"))385 if (map.empty()) 386 { 387 if (!mypMap.Read("FACTmap111030.txt")) 388 { 389 if (!mypMap.Read("/swdev_nfs/FACT++/FACTmap111030.txt")) 390 390 { 391 cerr << "ERROR - Problems reading FACTmap111030.txt" << endl; 392 exit(-1); 391 if (!mypMap.Read("./FACTmap111030.txt")) 392 { 393 cerr << "ERROR - Problems reading FACTmap111030.txt" << endl; 394 exit(-1); 395 } 393 396 } 394 397 } … … 398 401 if (!mypMap.Read(map)) 399 402 { 400 cerr << "ERROR - Problems reading " << map<< endl;403 cerr << "ERROR - Problems reading mapping file '" << map << "'" << endl; 401 404 exit(-1); 402 405 } … … 671 674 } 672 675 else 673 _softwareOrdering = false;676 _softwareOrdering = inputFile->Get<string>("ISMC", "F")=="T"; 674 677 675 678 if (inputFile->HasKey("OFFSET"))
Note:
See TracChangeset
for help on using the changeset viewer.