Ignore:
Timestamp:
01/25/09 14:32:11 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MSignalCalc.cc

    r8939 r9261  
    127127Int_t MSignalCalc::Process()
    128128{
     129    if (!fPedestals)
     130        return kFALSE;
     131
    129132    const Int_t npix = fRawEvt->GetNumPixels();
    130133    const Int_t nhi  = fRunHeader->GetNumSamplesHiGain();
     
    259262        // Preliminary: Do not overwrite pedestals calculated by
    260263        // MMcPedestalCopy and MMcPedestalNSBAdd
    261         if (fPedestals)
    262             (*fPedestals)[i].Set(b/fRunHeader->GetScale(), sigb/fRunHeader->GetScale());
     264        (*fPedestals)[i].Set(b/fRunHeader->GetScale(), sigb/fRunHeader->GetScale());
    263265    }
    264266
     
    266268    //fCerPhotEvt->SetReadyToSave();
    267269
    268     if (fPedestals)
    269         fPedestals->SetReadyToSave();
     270    fPedestals->SetReadyToSave();
    270271
    271272    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.