Changeset 5368
- Timestamp:
- 11/10/04 10:25:55 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/msignal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc
r5364 r5368 24 24 ! 25 25 \* ======================================================================== */ 26 27 26 ////////////////////////////////////////////////////////////////////////////// 28 27 // … … 69 68 using namespace std; 70 69 71 const Byte_t MExtractTimeAndChargeDigitalFilter::fgHiGainFirst = 0;72 const Byte_t MExtractTimeAndChargeDigitalFilter::fgHiGainLast = 14;73 const Byte_t MExtractTimeAndChargeDigitalFilter::fgLoGainFirst = 3;74 const Byte_t MExtractTimeAndChargeDigitalFilter::fgLoGainLast = 14;75 const Int_t MExtractTimeAndChargeDigitalFilter::fgWindowSizeHiGain =6;76 const Int_t MExtractTimeAndChargeDigitalFilter::fgWindowSizeLoGain =6;70 const Byte_t MExtractTimeAndChargeDigitalFilter::fgHiGainFirst = 0; 71 const Byte_t MExtractTimeAndChargeDigitalFilter::fgHiGainLast = 14; 72 const Byte_t MExtractTimeAndChargeDigitalFilter::fgLoGainFirst = 3; 73 const Byte_t MExtractTimeAndChargeDigitalFilter::fgLoGainLast = 14; 74 const Int_t MExtractTimeAndChargeDigitalFilter::fgWindowSizeHiGain = 6; 75 const Int_t MExtractTimeAndChargeDigitalFilter::fgWindowSizeLoGain = 6; 77 76 const Int_t MExtractTimeAndChargeDigitalFilter::fgBinningResolutionHiGain = 10; 78 77 const Int_t MExtractTimeAndChargeDigitalFilter::fgBinningResolutionLoGain = 10; 79 const Int_t MExtractTimeAndChargeDigitalFilter::fgSignalStartBinHiGain = 4; 80 const Int_t MExtractTimeAndChargeDigitalFilter::fgSignalStartBinLoGain = 4; 81 78 const Int_t MExtractTimeAndChargeDigitalFilter::fgSignalStartBinHiGain = 4; 79 const Int_t MExtractTimeAndChargeDigitalFilter::fgSignalStartBinLoGain = 4; 82 80 // -------------------------------------------------------------------------- 83 81 // … … 171 169 // size of 6. The exact numbers have to be found still. 172 170 // 173 fNumHiGainSamples = (Float_t)fWindowSizeHiGain/ 2.5;174 fNumLoGainSamples = (Float_t)fWindowSizeLoGain/ 2.5;171 fNumHiGainSamples = (Float_t)fWindowSizeHiGain/1.4; 172 fNumLoGainSamples = (Float_t)fWindowSizeLoGain/1.4; 175 173 fSqrtHiGainSamples = TMath::Sqrt(fNumHiGainSamples); 176 174 fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples); -
trunk/MagicSoft/Mars/msignal/MExtractor.cc
r5360 r5368 397 397 } 398 398 399 if (IsEnvDefined(env, prefix, "NoiseCalculation", print)) 400 { 401 SetNoiseCalculation(GetEnvValue(env, prefix, "NoiseCalculation", fNoiseCalculation)); 402 rc = kTRUE; 403 } 404 399 405 return rc; 400 406 }
Note:
See TracChangeset
for help on using the changeset viewer.