Ignore:
Timestamp:
11/10/04 15:00:17 (20 years ago)
Author:
otte
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedCalcFromLoGain.cc

    r5356 r5369  
    358358   
    359359    *fLog << inf << "Parameters used for pedestal calculation:"<<endl;
     360    *fLog << inf <<"Flag Pedestal Update: "<<fPedestalUpdate<<endl;
    360361    *fLog << inf <<"CheckWindow: First slice: "<<fCheckWinFirst<<"; Last slice: "<<fCheckWinLast<<endl;
    361362    *fLog << inf <<"ExtractWindow: First slice: "<<fExtractWinFirst<<"; Last slice: "<<fExtractWinLast<<endl;
     
    611612    Bool_t rc=kFALSE;
    612613
     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
    613627    Int_t lw = fExtractWinSize;
    614628    Int_t wf = fExtractWinFirst;
    615629
    616     if (IsEnvDefined(env, prefix, "ExtractWindowSize", print))
     630    if (IsEnvDefined(env, prefix, "SetExtractWindow", print))
    617631    {
    618632        lw = GetEnvValue(env, prefix, "ExtractWindowSize", lw);
     
    624638
    625639    Int_t num = fNumEventsDump;
    626     if (IsEnvDefined(env, prefix, "NumEventsDump", print))
     640    if (IsEnvDefined(env, prefix, "SetNumEventsDump", print))
    627641    {
    628642        num = GetEnvValue(env, prefix, "NumEventsDump", num);
     
    632646
    633647    Byte_t max = fMaxSignalVar;
    634     if (IsEnvDefined(env, prefix, "MaxSignalVar", print))
     648    if (IsEnvDefined(env, prefix, "SetMaxSignalVar", print))
    635649    {
    636650        max = GetEnvValue(env, prefix, "MaxSignalVar", max);
     
    640654
    641655    Bool_t upd = fPedestalUpdate;
    642     if (IsEnvDefined(env, prefix, "PedestalUpdate", print))
     656    if (IsEnvDefined(env, prefix, "SetPedestalUpdate", print))
    643657    {
    644658        upd = GetEnvValue(env, prefix, "PedestalUpdate", upd);
Note: See TracChangeset for help on using the changeset viewer.