Changeset 1142


Ignore:
Timestamp:
01/09/02 15:43:27 (23 years ago)
Author:
blanch
Message:
It has been added the CheckBounds function to check that program does not try to
access pedestal outside the camera size.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc

    r1081 r1142  
    6060}
    6161
     62// --------------------------------------------------------------------------
     63//
     64// Check if position i is inside bounds
     65//
     66Bool_t MPedestalCam::CheckBounds(UInt_t i)
     67{
     68    return i < fArray->GetEntriesFast();
     69}
     70
     71
Note: See TracChangeset for help on using the changeset viewer.