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

Legend:

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

    r5984 r6013  
    194194#include "MStatusDisplay.h"
    195195
    196 #include "MRawEvtHeader.h"
     196#include "MCalibrationPattern.h"
    197197
    198198#include "MGeomCam.h"
     
    271271//
    272272MCalibrationChargeCalc::MCalibrationChargeCalc(const char *name, const char *title)
    273     : fGeom(NULL), fSignal(NULL), fEvtHeader(NULL)
     273    : fGeom(NULL), fSignal(NULL), fCalibPattern(NULL)
    274274{
    275275       
     
    350350// The following container are searched for and execution aborted if not in MParList:
    351351//  - MPedestalCam
    352 //  - MRawEvtHeader
     352//  - MCalibrationPattern
    353353//  - MExtractedSignalCam
    354354//
     
    368368  */
    369369
    370   fEvtHeader = (MRawEvtHeader*)pList->FindObject("MRawEvtHeader");
    371   if (!fEvtHeader)
    372     {
    373       *fLog << err << "MRawEvtHeader not found... abort." << endl;
     370  fCalibPattern = (MCalibrationPattern*)pList->FindObject("MCalibrationPattern");
     371  if (!fCalibPattern)
     372    {
     373      *fLog << err << "MCalibrationPattern not found... abort." << endl;
    374374      return kFALSE;
    375375    }
     
    586586    }
    587587  */
    588   const MCalibrationCam::PulserColor_t col = fEvtHeader->GetPulserColor();
     588  const MCalibrationCam::PulserColor_t col = fCalibPattern->GetPulserColor();
    589589
    590590  if (col == fPulserColor)
     
    639639    }
    640640
    641   *fLog << inf << " with strength: " << fEvtHeader->GetPulserStrength() << endl;
     641  *fLog << inf << " with strength: " << fCalibPattern->GetPulserStrength() << endl;
    642642 
    643643  fHCam->SetColor(col);
Note: See TracChangeset for help on using the changeset viewer.