Changeset 5369 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 11/10/04 15:00:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc
r5356 r5369 358 358 359 359 *fLog << inf << "Parameters used for pedestal calculation:"<<endl; 360 *fLog << inf <<"Flag Pedestal Update: "<<fPedestalUpdate<<endl; 360 361 *fLog << inf <<"CheckWindow: First slice: "<<fCheckWinFirst<<"; Last slice: "<<fCheckWinLast<<endl; 361 362 *fLog << inf <<"ExtractWindow: First slice: "<<fExtractWinFirst<<"; Last slice: "<<fExtractWinLast<<endl; … … 611 612 Bool_t rc=kFALSE; 612 613 614 Int_t fs = fCheckWinFirst; 615 Int_t ls = fCheckWinLast; 616 617 if (IsEnvDefined(env, prefix, "SetCheckRange", print)) 618 { 619 fs = GetEnvValue(env, prefix, "FirstCheckWindowSlice", fs); 620 ls = GetEnvValue(env, prefix, "LastCheckWindowSlice", ls); 621 rc = kTRUE; 622 623 } 624 SetCheckRange(fs,ls); 625 626 613 627 Int_t lw = fExtractWinSize; 614 628 Int_t wf = fExtractWinFirst; 615 629 616 if (IsEnvDefined(env, prefix, " ExtractWindowSize", print))630 if (IsEnvDefined(env, prefix, "SetExtractWindow", print)) 617 631 { 618 632 lw = GetEnvValue(env, prefix, "ExtractWindowSize", lw); … … 624 638 625 639 Int_t num = fNumEventsDump; 626 if (IsEnvDefined(env, prefix, " NumEventsDump", print))640 if (IsEnvDefined(env, prefix, "SetNumEventsDump", print)) 627 641 { 628 642 num = GetEnvValue(env, prefix, "NumEventsDump", num); … … 632 646 633 647 Byte_t max = fMaxSignalVar; 634 if (IsEnvDefined(env, prefix, " MaxSignalVar", print))648 if (IsEnvDefined(env, prefix, "SetMaxSignalVar", print)) 635 649 { 636 650 max = GetEnvValue(env, prefix, "MaxSignalVar", max); … … 640 654 641 655 Bool_t upd = fPedestalUpdate; 642 if (IsEnvDefined(env, prefix, " PedestalUpdate", print))656 if (IsEnvDefined(env, prefix, "SetPedestalUpdate", print)) 643 657 { 644 658 upd = GetEnvValue(env, prefix, "PedestalUpdate", upd);
Note:
See TracChangeset
for help on using the changeset viewer.