Changeset 18148 for trunk/Mars/mdrs/MDrsCalibration.h
- Timestamp:
- 02/18/15 12:12:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mdrs/MDrsCalibration.h
r18144 r18148 30 30 } 31 31 32 bool ReadFits( const TString &str)32 bool ReadFits(TString fname) 33 33 { 34 gSystem->ExpandPathName( str);34 gSystem->ExpandPathName(fname); 35 35 36 st ring msg;36 std::string msg; 37 37 try 38 38 { 39 msg = ReadFitsImp( str.Data());39 msg = ReadFitsImp(fname.Data()); 40 40 } 41 catch (const exception &e)41 catch (const std::exception &e) 42 42 { 43 43 msg = e.what(); … … 46 46 if (msg.empty()) 47 47 { 48 *fLog << inf << "Read DRS calibration file " << fname << endl;48 *fLog << inf << "Read DRS calibration file " << fname << std::endl; 49 49 return true; 50 50 } 51 51 52 *fLog << err << "Error reading from " << fname << ": " << msg << endl;52 *fLog << err << "Error reading from " << fname << ": " << msg << std::endl; 53 53 return false; 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.