Changeset 5401 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 11/15/04 10:14:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r5302 r5401 825 825 // Re-direct the output to an ascii-file from now on: 826 826 // 827 MLog *oldlog = fLog; 827 828 MLog asciilog; 828 asciilog.SetOutputFile(GetOutputFile(),kTRUE); 829 SetLogStream(&asciilog); 829 if (!fOutputFile.IsNull()) 830 { 831 asciilog.SetOutputFile(GetOutputFile(),kTRUE); 832 SetLogStream(&asciilog); 833 } 834 830 835 // 831 836 // Finalize calibration statistics … … 874 879 "Pixels with unsuccesful Gauss fit to the Lo Gain: "); 875 880 876 SetLogStream(&gLog); 881 if (!fOutputFile.IsNull()) 882 SetLogStream(oldlog); 877 883 878 884 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.