Changeset 8427 for trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
- Timestamp:
- 04/20/07 14:21:12 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
r8425 r8427 58 58 59 59 #include "MCalibrationIntensityChargeCam.h" 60 #include "MCalibrationIntensityBlindCam.h"61 60 #include "MCalibrationIntensityRelTimeCam.h" 62 61 63 62 #include "MCalibrationPattern.h" 64 63 #include "MCalibrationQECam.h" 64 #include "MCalibrationBlindCam.h" 65 65 #include "MCalibrationChargeCam.h" 66 66 #include "MCalibrationChargeCalc.h" … … 141 141 142 142 // 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 152 149 // 153 150 // Look for the MFillH name "FillChargeCam". In case yes, initialize the … … 320 317 fQECam->Clear(); 321 318 319 fBlindCam->Clear(); 320 fBlindCam->SetPulserColor(fCalibPattern->GetPulserColor()); 321 322 322 if (fIntensCharge) 323 323 { … … 331 331 } 332 332 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 341 333 if (fIntensRelTime) 342 334 { … … 392 384 fIntensCharge->AddHist((MHCalibrationCam*)hcam->Clone()); 393 385 } 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()); 397 389 398 390 if (n.Contains("RelTime"))
Note:
See TracChangeset
for help on using the changeset viewer.