Ignore:
Timestamp:
08/27/04 17:26:06 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4768 r4769  
    134134    }
    135135
     136    fGeomCam = 0;
     137    if (!IsUseInterpolation())
     138        return kTRUE;
     139
    136140    fGeomCam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam"));
    137     if (!fGeomCam && TESTBIT(fFlags, kUseInterpolation))
     141    if (!fGeomCam)
    138142    {
    139143        *fLog << err << AddSerialNumber("MGeomCam") << " not found - can't use interpolation... abort." << endl;
     
    150154            return kFALSE;
    151155        }
    152         *fLog << inf << "Processing Pedestals..." << endl;
    153156    }
    154157
     
    162165            return kFALSE;
    163166        }
    164         *fLog << inf << "Processing Times..." << endl;
    165     }
     167    }
     168
     169    if (IsProcessPedestalEvt())
     170        *fLog << inf << "Processing Pedestals once per event..." << endl;
     171    if (IsProcessPedestalRun())
     172        *fLog << inf << "Processing Pedestals once per run..." << endl;
     173    if (IsProcessTimes())
     174        *fLog << inf << "Processing Arrival Times once per event..." << endl;
    166175
    167176    return kTRUE;
     
    610619Bool_t MBadPixelsTreat::ReInit(MParList *pList)
    611620{
    612     if (IsProcessPedestalRun())
     621    if (IsUseInterpolation() && IsProcessPedestalRun())
    613622        InterpolatePedestals();
    614623    return kTRUE;
     
    621630Int_t MBadPixelsTreat::Process()
    622631{
    623     if (TESTBIT(fFlags, kUseInterpolation) && fGeomCam)
     632    if (IsUseInterpolation())
    624633    {
    625634        InterpolateSignal();
Note: See TracChangeset for help on using the changeset viewer.