- Timestamp:
- 07/15/04 12:14:21 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc
r4386 r4388 29 29 // Extracts the signal from a fixed window in a given range. 30 30 // 31 // Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast) 32 // to modify the ranges. The "lo-gain" ranges are used for the NSB rejection 33 // whereas the high-gain ranges for blind pixel signal extraction. "High-gain" 34 // ranges can extend to the slices stored as "low-gain" in MRawEvtPixelIter 35 // Defaults are: 36 // 37 // fHiGainFirst = fgHiGainFirst = 12 38 // fHiGainLast = fgHiGainLast = 16 39 // fLoGainFirst = fgLoGainFirst = 0 40 // fLoGainLast = fgLoGainLast = 10 31 // Before run 31693 (gkModificationRun): 32 // 33 // Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast) 34 // to modify the ranges. The "low-gain" ranges are used for the NSB rejection 35 // whereas the high-gain ranges for blind pixel signal extraction. "High-gain" 36 // ranges can extend to the slices stored as "low-gain" in MRawEvtPixelIter 37 // 38 // Defaults are: 39 // 40 // fHiGainFirst = fgHiGainFirst = 10 41 // fHiGainLast = fgHiGainLast = 29 42 // fLoGainFirst = fgLoGainFirst = 0 43 // fLoGainLast = fgLoGainLast = 7 44 // 45 // After run 31693 (gkModificationRun): 46 // 47 // Call: SetFirst(), SetLast() to modify the ranges. No filter is applied, 48 // but instead the signal amplitude is extracted using Cubic spline. 49 // 50 // Defaults are: 51 // 52 // fHiGainFirst = fgFirst = 0 53 // fHiGainLast = fgLast = 7 41 54 // 42 55 ////////////////////////////////////////////////////////////////////////////// … … 68 81 const Byte_t MExtractBlindPixel::fgHiGainLast = 29; 69 82 const Byte_t MExtractBlindPixel::fgLoGainFirst = 0; 70 const Byte_t MExtractBlindPixel::fgLoGainLast = 6;83 const Byte_t MExtractBlindPixel::fgLoGainLast = 7; 71 84 const Int_t MExtractBlindPixel::fgNSBFilterLimit = 70; 72 85 const Float_t MExtractBlindPixel::fgResolution = 0.003; … … 329 342 330 343 *fLog << endl; 331 *fLog << inf << GetDescriptor() << ": Taking " << range 332 << " FADC samples from " 344 *fLog << inf << GetDescriptor() << ": Extracting " 345 << Form("%s",IsExtractionType(kAmplitude) ? "Amplitude " : " Integral ") 346 << " using " << range << " FADC samples from " 333 347 << Form("%s%2i",fHiLoFirst ? "Low Gain slice " : " High Gain slice ", 334 348 fHiLoFirst ? (Int_t)fHiLoFirst : (Int_t)fHiGainFirst) … … 337 351 fHiLoLast ? (Int_t)fHiLoLast-1 : (Int_t)fHiGainLast ) 338 352 << endl; 339 353 if (IsExtractionType(kFilter)) 354 *fLog << inf << GetDescriptor() << ": Will use Filter using " 355 << (Int_t)(fLoGainLast-fLoGainFirst+1) << " FADC slices " 356 << "from High Gain slice " << (Int_t)fLoGainFirst 357 << " to High Gain slice " << (Int_t)fLoGainLast << endl; 340 358 341 359 fBlindPixel->SetUsedFADCSlices(fHiGainFirst, range);
Note:
See TracChangeset
for help on using the changeset viewer.