Ignore:
Timestamp:
09/14/04 00:20:44 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4944 r4987  
    6363//           MHCalibrationChargeBlindPix, MHCalibrationChargePINDiode
    6464//           MCalibrationChargePix, MCalibrationChargeCam, MCalibrationChargeCalc
    65 //           MCalibrationChargeBlindPix, MCalibrationChargePINDiode,
     65//           MCalibrationBlindPix, MCalibrationChargePINDiode,
    6666//           MCalibrationQECam, MBadPixelsPix, MBadPixelsCam
    6767//
     
    8888
    8989#include <TFile.h>
     90#include <TF1.h>
    9091#include <TStyle.h>
    9192#include <TCanvas.h>
     
    114115
    115116#include "MCalibrationIntensityChargeCam.h"
     117#include "MCalibrationIntensityBlindCam.h"
    116118#include "MCalibrationIntensityRelTimeCam.h"
    117119#include "MCalibrationIntensityQECam.h"
     
    123125#include "MCalibrationChargePix.h"
    124126#include "MCalibrationChargePINDiode.h"
    125 #include "MCalibrationChargeBlindPix.h"
    126 #include "MCalibrationChargeBlindCam.h"
    127 #include "MCalibrationChargeBlindCamOneOldStyle.h"
    128 #include "MCalibrationChargeBlindCamTwoNewStyle.h"
     127#include "MCalibrationBlindPix.h"
     128#include "MCalibrationBlindCam.h"
     129#include "MCalibrationBlindCamOneOldStyle.h"
     130#include "MCalibrationBlindCamTwoNewStyle.h"
    129131#include "MCalibrationChargeCalc.h"
    130132#include "MCalibColorSet.h"
     
    14281430    {
    14291431
    1430       MCalibrationChargeBlindCamOneOldStyle blindresults;
     1432      MCalibrationBlindCamOneOldStyle blindresults;
    14311433      blindresults.Copy(fCalibrationBlindCam);
    14321434
     
    14351437      blindext.SetRange(10,19,0,6);
    14361438      blindext.SetNSBFilterLimit(70);
    1437       blindcam.SetFitFunc( MHCalibrationChargeBlindPix::kEPoisson5 );
    14381439    }
    14391440  else if (run < gkThirdBlindPixelInstallation)
    14401441    {
    14411442
    1442       MCalibrationChargeBlindCamTwoNewStyle blindresults;
     1443      MCalibrationBlindCamTwoNewStyle blindresults;
    14431444      blindresults.Copy(fCalibrationBlindCam);
    14441445
    1445       blindext.SetNumBlindPixels(blindresults.GetNumBlindPixels());
    1446       for (UInt_t i=0;i<blindresults.GetNumBlindPixels();i++)
     1446      blindext.SetNumBlindPixels(blindresults.GetSize());
     1447      for (Int_t i=0;i<blindresults.GetSize();i++)
    14471448        blindext.SetBlindPixelIdx(blindresults[i].GetPixId(),i);
    14481449
     
    14751476//   5) MBadPixelsCam         (fBadPixels)
    14761477//   6) MCalibrationChargePINDiode
    1477 //   7) MCalibrationChargeBlindPix
     1478//   7) MCalibrationBlindPix
    14781479// - Put into the MTaskList:
    14791480//   1)  MReadMarsFile
     
    15741575        plist.AddToList(&fIntensQECam);
    15751576        plist.AddToList(&fIntensCalibCam);
    1576         //        plist.AddToList(&fIntensCalibrationBlindCam);
     1577        plist.AddToList(&fIntensBlindCam);
    15771578        //        plist.AddToList(&fIntensCalibrationPINDiode);
    15781579        plist.AddToList(&fIntensRelTimeCam);
     
    19311932// The following containers are written:
    19321933// - MStatusDisplay
    1933 // - MCalibrationChargeCam
    1934 // - MCalibrationChargeBlindPix
    1935 // - MCalibrationQECam
     1934// - MCalibrationChargeCam or MCalibrationIntensityChargeCam
     1935// - MCalibrationBlindCam  or MCalibrationIntensityBlindCam
     1936// - MCalibrationQECam     or MCalibrationIntensityQECam     
    19361937// - MBadPixelsCam
    19371938//
     
    19741975          {
    19751976            *fLog << err << "Unable to write MCalibrationIntensityQECam to " << oname << endl;
     1977            return kFALSE;
     1978          }
     1979        *fLog << inf << "ok." << endl;
     1980        *fLog << inf << " - MCalibrationIntensityBlindCam..." << flush;
     1981        if (fIntensBlindCam.Write()<=0)
     1982          {
     1983            *fLog << err << "Unable to write MCalibrationIntensityBlindCam to " << oname << endl;
    19761984            return kFALSE;
    19771985          }
     
    19952003          }
    19962004        *fLog << inf << "ok." << endl;
     2005
     2006        *fLog << inf << " - MCalibrationBlindCam..." << flush;
     2007        if (fCalibrationBlindCam.Write()<=0)
     2008          {
     2009            *fLog << err << "Unable to write MCalibrationBlindCam to " << oname << endl;
     2010            return kFALSE;
     2011          }
     2012        *fLog << inf << "ok." << endl;
    19972013      }
    1998    
    1999     *fLog << inf << " - MCalibrationChargeBlindCam..." << flush;
    2000     if (fCalibrationBlindCam.Write()<=0)
    2001       {
    2002         *fLog << err << "Unable to write MCalibrationChargeBlindCam to " << oname << endl;
    2003         return kFALSE;
    2004       }
    2005     *fLog << inf << "ok." << endl;
    20062014   
    20072015    *fLog << inf << " - MCalibrationChargePINDiode..." << flush;
Note: See TracChangeset for help on using the changeset viewer.