Ignore:
Timestamp:
04/20/07 14:21:12 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc

    r8425 r8427  
    5858
    5959#include "MCalibrationIntensityChargeCam.h"
    60 #include "MCalibrationIntensityBlindCam.h"
    6160#include "MCalibrationIntensityRelTimeCam.h"
    6261
    6362#include "MCalibrationPattern.h"
    6463#include "MCalibrationQECam.h"
     64#include "MCalibrationBlindCam.h"
    6565#include "MCalibrationChargeCam.h"
    6666#include "MCalibrationChargeCalc.h"
     
    141141
    142142  //
    143   // Look for the MCalibrationIntensityBlindCam
    144   //
    145   fIntensBlind = (MCalibrationIntensityBlindCam*)pList->FindCreateObj("MCalibrationIntensityBlindCam");
    146   if (!fIntensBlind)
    147   {
    148       *fLog << err << "MCalibrationIntensityBlindCam not found... abort." << endl;
    149       return kFALSE;
    150   }
    151  
     143  // Look for the MCalibrationBlindCam
     144  //
     145  fBlindCam = (MCalibrationBlindCam*)pList->FindCreateObj("MCalibrationBlindCam");
     146  if (!fBlindCam)
     147      return kFALSE;
     148
    152149  //
    153150  // Look for the MFillH name "FillChargeCam". In case yes, initialize the
     
    320317  fQECam->Clear();
    321318
     319  fBlindCam->Clear();
     320  fBlindCam->SetPulserColor(fCalibPattern->GetPulserColor());
     321
    322322  if (fIntensCharge)
    323323    {
     
    331331    }
    332332
    333   if (fIntensBlind)
    334     {
    335       fIntensBlind->AddToList(Form("MCalibrationBlindCam%s",namep.Data()),*fGeom);
    336       MCalibrationCam *cam = fIntensBlind->GetCam();
    337       cam->SetPulserColor(fCalibPattern->GetPulserColor());
    338       *fLog << inf << "New MCalibrationBlindCam with name: " << cam->GetName() << endl;
    339     }
    340 
    341333  if (fIntensRelTime)
    342334    {
     
    392384          fIntensCharge->AddHist((MHCalibrationCam*)hcam->Clone());
    393385    }
    394   if (n.Contains("Blind"))
    395     if (fIntensBlind)
    396           fIntensBlind->AddHist((MHCalibrationCam*)hcam->Clone());
     386//  if (n.Contains("Blind"))
     387//    if (fIntensBlind)
     388//        fIntensBlind->AddHist((MHCalibrationCam*)hcam->Clone());
    397389
    398390  if (n.Contains("RelTime"))
Note: See TracChangeset for help on using the changeset viewer.