Changeset 651 for trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
- Timestamp:
- 02/23/01 16:49:26 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r650 r651 55 55 } 56 56 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; 72 58 73 59 Bool_t IsLoGain() const … … 88 74 } 89 75 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; 108 77 109 78 void Reset();
Note:
See TracChangeset
for help on using the changeset viewer.