Changeset 5878


Ignore:
Timestamp:
01/17/05 18:56:14 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/callisto.rc

    r5873 r5878  
    254254#MJCalibrateSignal.MCalibrateData.PedestalFlag: Event
    255255#MJCalibrateSignal.MCalibrateData.CalibrationMode: Default
     256#MJCalibrateSignal.MCalibrateData.SignalType: Default
    256257
    257258# -------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc

    r5865 r5878  
    792792    }
    793793
     794    if (IsEnvDefined(env, prefix, "SignalType", print))
     795    {
     796        rc = kTRUE;
     797        TString s = GetEnvValue(env, prefix, "SignalType", "");
     798        s.ToLower();
     799        if (s.BeginsWith("phot"))
     800            SetSignalType(kPhot);
     801        if (s.BeginsWith("phe"))
     802            SetSignalType(kPhe);
     803        if (s.BeginsWith("default"))
     804            SetSignalType();
     805    }
     806
    794807    return rc;
    795808}
Note: See TracChangeset for help on using the changeset viewer.