Changeset 5824 for trunk/MagicSoft


Ignore:
Timestamp:
01/13/05 18:59:07 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5822 r5824  
    5454       different from 0.
    5555
     56   * mpedestal/MExtractPedestal.cc
     57     - fix the output of the print to the correct value for the case
     58       that the extractor is used.
    5659
    5760
  • trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc

    r5715 r5824  
    664664        *fLog << (fRandomCalculation?"":"non-") << "random)" << endl;
    665665    }
    666     *fLog << "ExtractWindow from slice " << fExtractWinFirst << " to " << fExtractWinLast << " incl." << endl;
    667 }
     666    const Int_t last = fExtractor
     667      ? fExtractWinFirst + (Int_t)(fExtractor->GetHiGainLast()-fExtractor->GetHiGainFirst())
     668      : fExtractWinLast;
     669
     670    *fLog << "ExtractWindow from slice " << fExtractWinFirst << " to " << last << " incl." << endl;
     671}
Note: See TracChangeset for help on using the changeset viewer.