Changeset 8346 for trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
- Timestamp:
- 03/01/07 21:49:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r6253 r8346 74 74 // belong to the actual pixel 75 75 // 76 // 77 // Use is deprecated! 78 // 76 79 return fHiGainPos; 77 80 } 78 81 79 Byte_t GetNumHiGainSamples() const { return fNumHiGainSamples ; } 80 Byte_t GetNumLoGainSamples() const { return fNumLoGainSamples ; } 82 Byte_t *GetSamples() const 83 { 84 // 85 // return a pointer to the fadc samples of the hi gains 86 // WARNING: Don't forget to get the number of valid entries 87 // (GetNumSamples) to know how many entries of the array 88 // belong to the actual pixel 89 // 90 return fHiGainPos; 91 } 81 92 93 Byte_t GetNumHiGainSamples() const { return fNumHiGainSamples ; }// Use is deprecated! 94 Byte_t GetNumLoGainSamples() const { return fNumLoGainSamples ; }// Use is deprecated! 95 Byte_t GetNumSamples() const { return fNumHiGainSamples+fNumLoGainSamples; } 96 97 Byte_t GetIdxMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const; 98 Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0, const Byte_t lolast=0xff) const; 99 100 Byte_t GetMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const; 101 /* 82 102 ULong_t GetSumHiGainSamples() const; 83 103 ULong_t GetSumSqrHiGainSamples() const; 84 104 Float_t GetVarHiGainSamples() const; 85 105 86 Byte_t GetMaxHiGainSample() const;87 106 Byte_t GetMaxLoGainSample() const; 88 Byte_t GetIdxMaxHiGainSample() const;89 Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0) const;90 107 Short_t GetIdxMaxHiLoGainSample() const; 91 108 92 Bool_t HasLoGain() const; 109 ULong_t GetSumLoGainSamples() const; 110 ULong_t GetSumSqrLoGainSamples() const; 111 */ 112 Bool_t HasLoGain() const { return fNumLoGainSamples>0; } 93 113 Bool_t IsABFlagValid() const { return fABFlags ? kTRUE : kFALSE; } 94 114 Bool_t HasABFlag() const … … 116 136 } 117 137 118 ULong_t GetSumLoGainSamples() const;119 ULong_t GetSumSqrLoGainSamples() const;120 121 138 void Reset(); 122 139
Note:
See TracChangeset
for help on using the changeset viewer.