Changeset 6060 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/27/05 19:26:02 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6053 r6060  
    647647  fHBlindCam->SetColor(col);
    648648
    649   fCam->SetPulserColor(col);
    650 
    651   if (fBlindCam)
    652     fBlindCam->SetPulserColor(col);
     649  MCalibrationBlindCam  *blindcam  = fIntensBlind   
     650    ? (MCalibrationBlindCam*)fIntensBlind->GetCam() : fBlindCam;
     651  MCalibrationChargeCam *chargecam = fIntensCam
     652    ? (MCalibrationChargeCam*)fIntensCam->GetCam()  : fCam;
     653
     654  chargecam->SetPulserColor(col);
     655
     656  if (blindcam)
     657    blindcam->SetPulserColor(col);
    653658  if (fPINDiode)
    654659    fPINDiode->SetColor(col);
Note: See TracChangeset for help on using the changeset viewer.