Changeset 8720 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 08/30/07 21:32:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc
r8719 r8720 33 33 // pass to this class in different ways: 34 34 // 35 // 1. I sthe new spectrum will be a power law, just introduce the slope35 // 1. If the new spectrum will be a power law, just introduce the slope 36 36 // of this power law. 37 // 2. I sthe new spectrum will have a general shape:37 // 2. If the new spectrum will have a general shape: 38 38 // The new spectrum is passed as a char* (SetFormula()) 39 39 // … … 493 493 if (hasold) 494 494 { 495 *fLog << " Old Spectrum: " << GetFormulaSpecOldX(); 495 *fLog << " Old Spectrum: "; 496 if (fNewSlope==-99) 497 *fLog << "undefined"; 498 else 499 *fLog << GetFormulaSpecOldX(); 496 500 if (fEnergyMin>=0 && fEnergyMax>0) 497 501 *fLog << " (I=" << GetSpecOldIntegral() << ")"; … … 500 504 if (hasnew) 501 505 { 502 *fLog << " New Spectrum: " << GetFormulaSpecNewX(); 506 *fLog << " New Spectrum: "; 507 if (fNewSlope==-99 && fFormula.IsNull()) 508 *fLog << "undefined/no change"; 509 else 510 *fLog << GetFormulaSpecNewX(); 503 511 if (fEnergyMin>=0 && fEnergyMax>0) 504 512 *fLog << " (I=" << GetSpecNewIntegral() << ")";
Note:
See TracChangeset
for help on using the changeset viewer.