Ignore:
Timestamp:
02/09/04 15:44:04 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r3055 r3069  
    5151#include "MReadMarsFile.h"
    5252#include "MGeomApply.h"
     53#include "MBadPixelsMerge.h"
    5354#include "MExtractSignal.h"
    5455#include "MExtractSignal2.h"
     
    382383        return kFALSE;
    383384    }
     385
     386    if (fBadPixels.Write()<=0)
     387    {
     388        *fLog << err << "Unable to write MBadPixelsCam to " << oname << endl;
     389        return kFALSE;
     390    }
     391
    384392    return kTRUE;
    385393
     
    426434        *fLog << "Unable to read MCalibrationCam from " << fname << endl;
    427435        return kFALSE;
     436    }
     437
     438    if (file.FindKey("MBadPixelsCam"))
     439    {
     440        MBadPixelsCam bad;
     441        if (bad.Read()<=0)
     442        {
     443            *fLog << "Unable to read MBadPixelsCam from " << fname << endl;
     444            return kFALSE;
     445        }
     446        fBadPixels.Merge(bad);
    428447    }
    429448
     
    466485
    467486    MGeomApply       apply;
     487    MBadPixelsMerge  merge(&fBadPixels);
     488    // MExtractSignal   extract; // Do not use this at the moment...
    468489    MExtractSignal2  extract;
    469490    MCalibrationCalc calcalc;
     
    476497    //calcalc.SkipBlindPixelFit();
    477498
     499    tlist.AddToList(&read);
    478500    tlist.AddToList(&apply);
    479     tlist.AddToList(&read);
     501    tlist.AddToList(&merge);
    480502    tlist.AddToList(&extract);
    481503    tlist.AddToList(&calcalc);
Note: See TracChangeset for help on using the changeset viewer.