Ignore:
Timestamp:
11/11/04 13:52:49 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r5381 r5387  
    336336    pedlo.SetPedestalUpdate(kTRUE);
    337337    // FIXME: How to get the fixed value 15 automatically?
    338     pedlo.SetExtractWindow(15, (Int_t)static_cast<MExtractor*>(extractor1)->GetNumHiGainSamples());
     338    const Float_t win = static_cast<MExtractor*>(extractor1)->GetNumHiGainSamples();
     339    pedlo.SetExtractWindow(15, (UShort_t)TMath::Nint(win));
    339340
    340341    MMcPedestalCopy        pcopy;
Note: See TracChangeset for help on using the changeset viewer.