Changeset 5595
- Timestamp:
- 12/14/04 18:24:32 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5594 r5595 25 25 * msignal/MExtractor.[h,cc] 26 26 - add possibility to set pedestal pointer from outside 27 28 * msignal/MExtractTimeAndCharge.[h,cc] 29 - make modification of extraction window only for case of now 30 high-gain saturation. 27 31 28 32 * msignal/MExtractTimeAndChargeSpline.cc -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r5570 r5595 191 191 if (pixel.HasLoGain()) 192 192 { 193 fLoGainFirstSave = (Int_t)fLoGainFirst; 194 const Int_t logainstart = (Int_t)(timehi+fLoGainStartShift); 195 fLoGainFirst = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave; 193 fLoGainFirstSave = fLoGainFirst; 194 const Byte_t logainstart = (Byte_t)(timehi+fLoGainStartShift); 195 if (!sathi) 196 fLoGainFirst = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave; 196 197 197 198 if ( fLoGainFirst < fLoGainLast ) … … 203 204 satlo, ped, logainabflag); 204 205 } 205 206 206 fLoGainFirst = fLoGainFirstSave; 207 207 } -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.h
r5528 r5595 13 13 static const Float_t fgLoGainStartShift; // Default for fLoGainStartShift (now set to: -2.8) 14 14 15 Int_tfLoGainFirstSave; //! Temporary variable to store the original position of low-gain start slice15 Byte_t fLoGainFirstSave; //! Temporary variable to store the original position of low-gain start slice 16 16 Float_t fLoGainStartShift; // Shift to start searching the low-gain signal obtained from the high-gain times. 17 17
Note:
See TracChangeset
for help on using the changeset viewer.