Changeset 2259
- Timestamp:
- 07/01/03 17:12:50 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2258 r2259 1 1 -*-*- END OF LINE -*-*- 2 3 2003/07/01: Thomas Bretz 4 5 * manalysis/MCerPhotAnal2.cc: 6 - fixed some problems with the lo-gains 7 8 * mraw/MRawEvtPixelIter.cc: 9 - Determin the maximum sample of the lo gains from the end. 10 11 2 12 3 13 2003/07/01: Abelardo Moralejo … … 15 25 degrees. 16 26 27 28 17 29 2003/07/01: Wolfgang Wittek 18 30 19 * mhist/MHSigmaTheta.cc 31 * manalysis/MSigmabar.cc, manalysis/MCT1PadSchweizer.cc, 32 manalysis/MCT1PadONOFF.cc, mhist/MHSigmaTheta.cc: 20 33 - change code because GetPixRatio returns area(pixel_zero)/area(pixel) 21 34 and not area(pixel)/area(pixel_zero) 22 35 23 * manalysis/MSigmabar.cc 24 MCT1PadSchweizer.cc 25 MCT1PadONOFF.cc 26 - change code because GetPixRatio returns area(pixel_zero)/area(pixel) 27 and not area(pixel)/area(pixel_zero) 28 29 * macros/CT1Analysis.C 30 ONOFFCT1Analysis.C 36 * macros/CT1Analysis.C, macros/ONOFFCT1Analysis.C 31 37 - current versions of CT1 macros 32 38 33 * macros/unfold.C 34 fluxunfold.C 39 * macros/unfold.C, macros/fluxunfold.C 35 40 - macros for testing the unfolding within root 36 41 -
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(); -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
r2236 r2259 235 235 Byte_t maxi = 0; 236 236 237 for (int i= 0; i<fNumLoGainSamples; i++)237 for (int i=fNumLoGainSamples-1; i>=0; i--) 238 238 if (fLoGainPos[i]>max) 239 239 {
Note:
See TracChangeset
for help on using the changeset viewer.