Changeset 5592


Ignore:
Timestamp:
12/14/04 16:24:04 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
2 edited

Legend:

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

    r5558 r5592  
    117117    SetNameSignalCam();
    118118    SetOffsetLoGain();
    119     SetRange();
    120119    SetSaturationLimit();
    121120    SetNoiseCalculation(kFALSE);
     
    160159    }
    161160 
    162   fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber(fNamePedestalCam), "MPedestalCam");
     161
    163162  if (!fPedestals)
    164163    {
    165       *fLog << err << fNamePedestalCam << " not found... aborting" << endl;
    166       return kFALSE;
     164      fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber(fNamePedestalCam), "MPedestalCam");
     165      if (!fPedestals)
     166        {
     167          *fLog << err << fNamePedestalCam << " not found... aborting" << endl;
     168          return kFALSE;
     169        }
    167170    }
    168171 
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r5548 r5592  
    8888  void SetNoiseCalculation( const Bool_t   b=kTRUE                   ) { fNoiseCalculation = b;    }
    8989
     90  void SetPedestals (MPedestalCam *pedcam)   { fPedestals = pedcam; }
     91
    9092  void Print(Option_t *o="") const;
    9193
Note: See TracChangeset for help on using the changeset viewer.