Changeset 4732 for trunk/MagicSoft/Mars/msignal/MExtractTimeFastSpline.cc
- Timestamp:
- 08/25/04 17:30:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeFastSpline.cc
r4284 r4732 54 54 const Float_t MExtractTimeFastSpline::fgResolution = 0.003; 55 55 const Float_t MExtractTimeFastSpline::fgRiseTime = 1.5; 56 56 57 // -------------------------------------------------------------------------- 57 58 // … … 672 673 } 673 674 674 675 // -------------------------------------------------------------------------- 676 // 677 // In addition to the resources of the base-class MExtractor: 678 // MJPedestal.MExtractor.Resolution: 0.003 679 // MJPedestal.MExtractor.RiseTime: 1.5 680 // 681 Int_t MExtractTimeFastSpline::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 682 { 683 Bool_t rc = kFALSE; 684 685 if (IsEnvDefined(env, prefix, "HiGainWindowSize", print)) 686 { 687 SetResolution(GetEnvValue(env, prefix, "Resolution", fResolution)); 688 rc = kTRUE; 689 } 690 if (IsEnvDefined(env, prefix, "LoGainWindowSize", print)) 691 { 692 SetRiseTime(GetEnvValue(env, prefix, "RiseTime", fRiseTime)); 693 rc = kTRUE; 694 } 695 696 return MExtractTime::ReadEnv(env, prefix, print) ? kTRUE : rc; 697 } 698 699 void MExtractTimeFastSpline::Print(Option_t *o) const 700 { 701 *fLog << all; 702 *fLog << GetDescriptor() << ":" << endl; 703 *fLog << " Resolution: " << fResolution << endl; 704 *fLog << " RiseTime: " << fRiseTime << endl; 705 MExtractTime::Print(o); 706 }
Note:
See TracChangeset
for help on using the changeset viewer.