Ignore:
Timestamp:
02/23/01 16:49:26 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h

    r650 r651  
    5555    }
    5656
    57     ULong_t GetSumHiGainFadcSamples() const
    58     {
    59         //
    60         // return the sum of the hi gain samples of the present pixel
    61         //
    62               Byte_t *ptr = fHiGainPos;
    63         const Byte_t *end = ptr + fData->GetNumHiGainSamples();
    64 
    65         ULong_t sum=0;
    66 
    67         do sum += *ptr++;
    68         while (ptr != end);
    69 
    70         return sum;
    71     }
     57    ULong_t GetSumHiGainFadcSamples() const;
    7258
    7359    Bool_t IsLoGain() const
     
    8874    }
    8975
    90     ULong_t GetSumLoGainFadcSamples() const
    91     {
    92         //
    93         // return the sum of the lo gain samples of the present pixel
    94         //
    95         if (!IsLoGain())
    96             return 0;
    97 
    98               Byte_t *ptr = fLoGainPos;
    99         const Byte_t *end = ptr + fData->GetNumLoGainSamples();
    100 
    101         ULong_t sum=0;
    102 
    103         do sum += *ptr++;
    104         while (ptr != end);
    105 
    106         return sum;
    107     }
     76    ULong_t GetSumLoGainFadcSamples() const;
    10877
    10978    void Reset();
Note: See TracChangeset for help on using the changeset viewer.