Changeset 2259 for trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc
- Timestamp:
- 07/01/03 17:12:50 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc
r2249 r2259 147 147 for (int i=0; i<num; i++) 148 148 { 149 if (ptr[i] >250)149 if (ptr[i]==255) 150 150 sat++; 151 if (sat>1)152 continue;151 //if (sat>1) 152 // continue; 153 153 154 154 if (i<max-fBefore || i>max+fAfter) … … 176 176 sumsb = 0; // sum signal+background 177 177 sqsb = 0; // sum sqares signal+background 178 sumb = 0; // sum background179 sqb = 0; // sum sqares background180 181 nb = 0;178 //sumb = 0; // sum background 179 //sqb = 0; // sum sqares background 180 181 //nb = 0; 182 182 nsb = 0; 183 183 for (int i=0; i<num; i++) … … 187 187 if (i<max-fBefore || i>max+fAfter) 188 188 { 189 /* 189 190 sumb += ptr[i]; 190 191 sqb += ptr[i]*ptr[i]; 191 nb++; 192 nb++;*/ 192 193 } 193 194 else … … 216 217 217 218 if (sat>1) 218 s*= 9;219 s*=10; // tgb has measured 9, but Florian said it's 10. 219 220 220 221 Int_t idx = pixel.GetPixelId();
Note:
See TracChangeset
for help on using the changeset viewer.