Changeset 8573 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 06/17/07 21:50:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MSignalCalc.cc
r8519 r8573 134 134 for (int i=0; i<npix; i++) 135 135 { 136 Byte_t *raw = fRawEvt->GetSamplesRaw(i);137 138 Byte_t *ptr = raw;139 Byte_t *max = ptr+fRawEvt->GetMaxPos(i, 0, nhi);140 Byte_t *end = ptr+nhi;141 Byte_t *first = max-fBefore;142 Byte_t *last = max+fAfter;136 USample_t *raw = fRawEvt->GetSamplesRaw(i); 137 138 USample_t *ptr = raw; 139 USample_t *max = ptr+fRawEvt->GetMaxPos(i, 0, nhi); 140 USample_t *end = ptr+nhi; 141 USample_t *first = max-fBefore; 142 USample_t *last = max+fAfter; 143 143 144 144 ULong_t sumb = 0; // sum background … … 152 152 Int_t nsb = 0; 153 153 154 if (*max==255) 154 if (*max==255) // FIXME!!!! 155 155 sat++; 156 156 … … 201 201 max = ptr+fRawEvt->GetMaxPos(i, nhi, nhi+nlo); 202 202 203 if (*max>250) 203 if (*max>250) // FIXME!!!! 204 204 { 205 205 fSkip++;
Note:
See TracChangeset
for help on using the changeset viewer.