- Timestamp:
- 03/02/04 09:21:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3375 r3377 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/03/02: Thomas Bretz 8 9 * mcalib/MCalibrateData.cc: 10 - removed usage of MGeomCam (you have MGeomApply for this!) 11 12 6 13 7 14 2004/03/01: Nadia Tonello -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r3375 r3377 434 434 MCerPhotPix *pix; 435 435 while ((pix = (MCerPhotPix*)TObjArrayIter::Next())) 436 if (!fUsedOnly || (fUsedOnly && pix->IsPixelUsed()))436 if (!fUsedOnly || pix->IsPixelUsed()) 437 437 return pix; 438 438 return pix; -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc
r3301 r3377 100 100 Int_t MCalibrateData::PreProcess(MParList *pList) 101 101 { 102 103 MGeomCam *fCam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam"));104 if (!fCam)105 {106 *fLog << err << GetDescriptor() << ": No MGeomCam found... aborting." << endl;107 return kFALSE;108 }109 110 102 fPedestal = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam")); 111 103 if (!fPedestal) … … 123 115 } 124 116 125 if(fCalibrationMode>kNone)126 127 128 129 130 131 132 133 117 if (fCalibrationMode>kNone) 118 { 119 fCalibrations = (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 120 if (!fCalibrations) 121 { 122 *fLog << err << AddSerialNumber("MCalibrationChargeCam") << " not found ... aborting." << endl; 123 return kFALSE; 124 } 125 } 134 126 135 127 fPedPhot = (MPedPhotCam*)pList->FindCreateObj(AddSerialNumber("MPedPhotCam")); 136 128 if (!fPedPhot) 137 129 return kFALSE; 138 fPedPhot->InitSize(fCam->GetNumPixels());139 130 140 131 fCerPhotEvt = (MCerPhotEvt*)pList->FindCreateObj(AddSerialNumber("MCerPhotEvt"));
Note:
See TracChangeset
for help on using the changeset viewer.