Changeset 2236 for trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
- Timestamp:
- 06/26/03 16:21:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
r2229 r2236 228 228 // -------------------------------------------------------------------------- 229 229 // 230 // Returns the index of the FADC slice the maximum signal in 231 // 232 Byte_t MRawEvtPixelIter::GetNumMaxLoGainSample() const 233 { 234 Byte_t max = 0; 235 Byte_t maxi = 0; 236 237 for (int i=0; i<fNumLoGainSamples; i++) 238 if (fLoGainPos[i]>max) 239 { 240 max = fLoGainPos[i]; 241 maxi = i; 242 } 243 244 return maxi; 245 } 246 247 // -------------------------------------------------------------------------- 248 // 230 249 // returns the sum of all lo gain fadc samples of the actual pixel. 231 250 // if no lo gain information is available 0 is returned.
Note:
See TracChangeset
for help on using the changeset viewer.