Changeset 5391 for trunk


Ignore:
Timestamp:
11/11/04 14:56:57 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

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

    r5310 r5391  
    129129#include "MCalibrationBlindCamOneOldStyle.h"
    130130#include "MCalibrationBlindCamTwoNewStyle.h"
     131#include "MCalibrationBlindCamThreeNewStyle.h"
    131132#include "MCalibrationChargeCalc.h"
    132133#include "MCalibColorSet.h"
     
    165166using namespace std;
    166167
    167 const Int_t MJCalibration::gkIFAEBoxInaugurationRun       = 20113;
    168 const Int_t MJCalibration::gkSecondBlindPixelInstallation = 31693;
     168const Int_t MJCalibration::gkIFAEBoxInaugurationRun        = 20113;
     169const Int_t MJCalibration::gkSecondBlindPixelInstallation  = 31693;
    169170const Int_t MJCalibration::gkSpecialPixelsContInstallation = 34057;
    170 const Int_t MJCalibration::gkThirdBlindPixelInstallation   = 99999;
     171const Int_t MJCalibration::gkThirdBlindPixelInstallation   = 43308;
    171172
    172173const Double_t MJCalibration::fgConvFADC2PheMin           = 0.;
     
    283284
    284285    if (IsUsePINDiode())
    285         DrawTab(plist, "MHCalibrationChargePINDiode",       "PINDiode",  drawoption);
     286        DrawTab(plist, "MHCalibrationChargePINDiode", "PINDiode",  drawoption);
    286287    if (IsUseBlindPixel())
    287         DrawTab(plist, "MHCalibrationChargeChargeBlindCam", "BlindPix",  drawoption);
     288        DrawTab(plist, "MHCalibrationChargeBlindCam", "BlindPix",  drawoption);
    288289    if (IsRelTimes())
    289         DrawTab(plist, "MHCalibrationRelTimeCam",           "RelTime",   drawoption);
    290     DrawTab(plist, "MHCalibrationChargeCam",                "Charge",    drawoption);
     290        DrawTab(plist, "MHCalibrationRelTimeCam",     "RelTime",   drawoption);
     291    DrawTab(plist, "MHCalibrationChargeCam",          "Charge",    drawoption);
    291292
    292293    //
     
    14311432  else
    14321433    {
    1433       *fLog << err << "Third blind pixel installation not yet completed, check your run number!!! " << endl;
     1434
     1435      MCalibrationBlindCamThreeNewStyle blindresults;
     1436
     1437      if (IsIntensity())
     1438        blindresults.Copy(*fIntensBlindCam.GetCam());
     1439      else
     1440        blindresults.Copy(fCalibrationBlindCam);
     1441
     1442      blindext.SetNumBlindPixels(blindresults.GetSize());
     1443
     1444      for (Int_t i=0;i<blindresults.GetSize();i++)
     1445        blindext.SetBlindPixelIdx(blindresults[i].GetPixId(),i);
     1446
     1447      blindext.SetExtractionType(MExtractBlindPixel::kAmplitude);
     1448      blindext.SetExtractionType(MExtractBlindPixel::kFilter);
     1449      blindext.SetDataType(MExtractBlindPixel::kRawEvt2);
     1450      blindext.SetRange(5,8,0,2);
     1451      blindext.SetNSBFilterLimit(38);
     1452     
    14341453    }
    14351454 
     
    16771696    //
    16781697    if (fColor == MCalibrationCam::kCT1)
    1679         tlist.AddToList(&cont);
     1698      tlist.AddToList(&cont);
    16801699
    16811700    MCalibColorSet colorset;
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc

    r5136 r5391  
    102102 
    103103  AddToBranchList("MRawEvtData.*");
     104  AddToBranchList("MRawEvtData2.*");
    104105
    105106  SetResolution();
     
    221222  if (!fRawEvt)
    222223    {
    223       *fLog << err << "MRawEvtData2 or MRawEvtData not found... aborting." << endl;
     224      *fLog << err << GetDescriptor()
     225            << Form("%s%s",IsDataType(kRawEvt2) ? "MRawEvtData2" : "MRawEvtData",
     226                    " not found... aborting.") << endl;
    224227      return kFALSE;
    225228    }
Note: See TracChangeset for help on using the changeset viewer.