Ignore:
Timestamp:
01/19/03 14:52:29 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomCam.cc

    r1544 r1715  
    117117Float_t MGeomCam::GetPixRatio(Int_t i) const
    118118{
    119     return (*this)[0].GetA()/(*this)[i].GetA();
     119    return i<fNumPixels ? (*this)[0].GetA()/(*this)[i].GetA() : 0;
    120120}
    121121
Note: See TracChangeset for help on using the changeset viewer.