Ignore:
Timestamp:
04/07/05 11:32:22 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6824 r6913  
    175175
    176176const TString MExtractPedestal::fgNamePedestalCam = "MPedestalCam";
     177const UInt_t  MExtractPedestal::fgNumDump = 500;
    177178
    178179// --------------------------------------------------------------------------
     
    474475    Bool_t rc=kFALSE;
    475476
     477    // find resource for numdump
     478    if (IsEnvDefined(env, prefix, "NumDump", print))
     479    {
     480        const Int_t num = GetEnvValue(env, prefix, "NumDump", -1);
     481        if (num<=0)
     482        {
     483            *fLog << err << GetDescriptor() << ": ERROR - NumDump invalid!" << endl;
     484            return kERROR;
     485        }
     486
     487        SetNumDump(num);
     488        rc = kTRUE;
     489    }
     490
    476491    // find resource for numeventsdump
    477492    if (IsEnvDefined(env, prefix, "NumEventsDump", print))
Note: See TracChangeset for help on using the changeset viewer.