Ignore:
Timestamp:
08/23/04 09:06:37 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r4635 r4698  
    537537// --------------------------------------------------------------------------
    538538//
    539 // Interpolate Pedestals if kProcessRMS not set
     539// Interpolate Pedestals if kProcessPedestal not set
    540540//
    541541Bool_t MBadPixelsTreat::ReInit(MParList *pList)
    542542{
    543     if (!TESTBIT(fFlags, kProcessRMS))
     543    if (!TESTBIT(fFlags, kProcessPedestal))
    544544        InterpolatePedestals();
    545545    return kTRUE;
     
    555555    {
    556556        InterpolateSignal();
    557         if (TESTBIT(fFlags, kProcessRMS))
     557        if (TESTBIT(fFlags, kProcessPedestal))
    558558            InterpolatePedestals();
    559559    }
     
    580580    if (TESTBIT(fFlags, kUseCentralPixel))
    581581        out << "   " << GetUniqueName() << ".SetUseCentralPixel();" << endl;
    582     if (TESTBIT(fFlags, kProcessRMS))
    583         out << "   " << GetUniqueName() << ".SetProcessRMS();" << endl;
     582    if (TESTBIT(fFlags, kProcessPedestal))
     583        out << "   " << GetUniqueName() << ".SetProcessPedestal();" << endl;
    584584    if (TESTBIT(fFlags, kHardTreatment))
    585585        out << "   " << GetUniqueName() << ".SetHardTreatment();" << endl;
     
    594594//   MBadPixelsTreat.UseCentralPixel:  no
    595595//   MBadPixelsTreat.HardTreatment:    no
    596 //   MBadPixelsTreat.ProcessRMS:       no
     596//   MBadPixelsTreat.ProcessPedestal:  no
    597597//   MBadPixelsTreat.NumMinNeighbors:  3
    598598//
     
    615615        SetHardTreatment(GetEnvValue(env, prefix, "HardTreatment", IsHardTreatment()));
    616616    }
    617     if (IsEnvDefined(env, prefix, "ProcessRMS", print))
     617    if (IsEnvDefined(env, prefix, "ProcessPedestal", print))
    618618    {
    619619        rc = kTRUE;
    620         SetProcessRMS(GetEnvValue(env, prefix, "ProcessRMS", IsProcessRMS()));
     620        SetProcessPedestal(GetEnvValue(env, prefix, "ProcessPedestal", IsProcessPedestal()));
    621621    }
    622622    if (IsEnvDefined(env, prefix, "NumMinNeighbors", print))
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h

    r4633 r4698  
    2727        kUseInterpolation = 1,
    2828        kUseCentralPixel  = 2,
    29         kProcessRMS       = 3,
     29        kProcessPedestal  = 3,
    3030        kHardTreatment    = 4
    3131    };
     
    5656        b ? SETBIT(fFlags, kUseCentralPixel) : CLRBIT(fFlags, kUseCentralPixel);
    5757    }
    58     void SetProcessRMS(Bool_t b=kTRUE)
     58    void SetProcessPedestal(Bool_t b=kTRUE)
    5959    {
    60         b ? SETBIT(fFlags, kProcessRMS) : CLRBIT(fFlags, kProcessRMS);
     60        b ? SETBIT(fFlags, kProcessPedestal) : CLRBIT(fFlags, kProcessPedestal);
    6161    }
    6262    void SetHardTreatment(Bool_t b=kTRUE)
     
    6666
    6767    Bool_t IsHardTreatment() const    { return TESTBIT(fFlags, kHardTreatment); }
    68     Bool_t IsProcessRMS() const       { return TESTBIT(fFlags, kProcessRMS); }
     68    Bool_t IsProcessPedestal() const  { return TESTBIT(fFlags, kProcessPedestal); }
    6969    Bool_t IsUseCentralPixel() const  { return TESTBIT(fFlags, kUseCentralPixel); }
    7070    Bool_t IsUseInterpolation() const { return TESTBIT(fFlags, kUseInterpolation); }
Note: See TracChangeset for help on using the changeset viewer.