Ignore:
Timestamp:
08/30/07 21:32:53 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc

    r8719 r8720  
    3333//  pass to this class in different ways:
    3434//
    35 //    1. Is the new spectrum will be a power law, just introduce the slope
     35//    1. If the new spectrum will be a power law, just introduce the slope
    3636//       of this power law.
    37 //    2. Is the new spectrum will have a general shape:
     37//    2. If the new spectrum will have a general shape:
    3838//       The new spectrum is passed as a char* (SetFormula())
    3939//
     
    493493    if (hasold)
    494494    {
    495         *fLog << " Old Spectrum:             " << GetFormulaSpecOldX();
     495        *fLog << " Old Spectrum:             ";
     496        if (fNewSlope==-99)
     497            *fLog << "undefined";
     498        else
     499            *fLog << GetFormulaSpecOldX();
    496500        if (fEnergyMin>=0 && fEnergyMax>0)
    497501            *fLog << "   (I=" << GetSpecOldIntegral() << ")";
     
    500504    if (hasnew)
    501505    {
    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();
    503511        if (fEnergyMin>=0 && fEnergyMax>0)
    504512            *fLog << "   (I=" << GetSpecNewIntegral() << ")";
Note: See TracChangeset for help on using the changeset viewer.