Ignore:
Timestamp:
03/30/09 09:06:00 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc

    r9328 r9413  
    210210    const UInt_t npix = fStat->GetMaxIndex()+1;
    211211
     212    if (npix>(UInt_t)fElectronicNoise->GetSize())
     213    {
     214        *fLog << err << "ERROR - More indices (" << npix << ") ";
     215        *fLog << "assigned than existing in camera (";
     216        *fLog << fElectronicNoise->GetSize() << ")!" << endl;
     217        return kERROR;
     218    }
     219
    212220    const Double_t pl = fSpline->GetXmin()*freq;
    213221    const Double_t pr = fSpline->GetXmax()*freq;
Note: See TracChangeset for help on using the changeset viewer.