Ignore:
Timestamp:
08/04/06 10:09:16 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MArrivalTimePix.h

    r7829 r7843  
    1414  Float_t fArrivalTimeLoGainError; // error of the mean value of the ArrivalTime
    1515
    16   Byte_t fNumHiGainSaturated;
    17   Byte_t fNumLoGainSaturated;
     16  Byte_t fNumHiGainSaturated;      // Number of first hi-gain slice which has saturated (could be negative if already the first slice saturates)
     17  Byte_t fNumLoGainSaturated;      // Number of first lo-gain slices which have saturated
    1818
    1919public:
     
    5353
    5454    Bool_t IsLoGainUsed()               const { return fNumHiGainSaturated > 0; }
     55    Bool_t IsLoGainValid()              const { return fArrivalTimeLoGainError>=0 && fNumLoGainSaturated==0; }
     56    Bool_t IsHiGainValid()              const { return fArrivalTimeHiGainError>=0 && fNumHiGainSaturated==0; }
    5557    Bool_t IsValid()                    const;   
    5658
Note: See TracChangeset for help on using the changeset viewer.