Changeset 6013 for trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
- Timestamp:
- 01/26/05 00:58:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r5984 r6013 194 194 #include "MStatusDisplay.h" 195 195 196 #include "M RawEvtHeader.h"196 #include "MCalibrationPattern.h" 197 197 198 198 #include "MGeomCam.h" … … 271 271 // 272 272 MCalibrationChargeCalc::MCalibrationChargeCalc(const char *name, const char *title) 273 : fGeom(NULL), fSignal(NULL), f EvtHeader(NULL)273 : fGeom(NULL), fSignal(NULL), fCalibPattern(NULL) 274 274 { 275 275 … … 350 350 // The following container are searched for and execution aborted if not in MParList: 351 351 // - MPedestalCam 352 // - M RawEvtHeader352 // - MCalibrationPattern 353 353 // - MExtractedSignalCam 354 354 // … … 368 368 */ 369 369 370 f EvtHeader = (MRawEvtHeader*)pList->FindObject("MRawEvtHeader");371 if (!f EvtHeader)372 { 373 *fLog << err << "M RawEvtHeadernot found... abort." << endl;370 fCalibPattern = (MCalibrationPattern*)pList->FindObject("MCalibrationPattern"); 371 if (!fCalibPattern) 372 { 373 *fLog << err << "MCalibrationPattern not found... abort." << endl; 374 374 return kFALSE; 375 375 } … … 586 586 } 587 587 */ 588 const MCalibrationCam::PulserColor_t col = f EvtHeader->GetPulserColor();588 const MCalibrationCam::PulserColor_t col = fCalibPattern->GetPulserColor(); 589 589 590 590 if (col == fPulserColor) … … 639 639 } 640 640 641 *fLog << inf << " with strength: " << f EvtHeader->GetPulserStrength() << endl;641 *fLog << inf << " with strength: " << fCalibPattern->GetPulserStrength() << endl; 642 642 643 643 fHCam->SetColor(col);
Note:
See TracChangeset
for help on using the changeset viewer.