Changeset 3638 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 04/03/04 17:50:04 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r3624 r3638 72 72 #include "MPedestalCam.h" 73 73 #include "MCalibrationChargeCam.h" 74 #include "MCalibrationRelTimeCam.h" 74 75 #include "MCalibrationQECam.h" 75 76 #include "MPedPhotCam.h" … … 134 135 ped->InitSize(cam->GetNumPixels()); 135 136 136 MCalibrationChargeCam *cal = (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 137 MCalibrationChargeCam *cal = 138 (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 137 139 if (cal) 138 140 { 139 cal->InitSize(cam->GetNumPixels()); 140 cal->InitAverageAreas(cam->GetNumAreas()); 141 cal->InitAverageSectors(cam->GetNumSectors()); 141 cal->InitSize ( cam->GetNumPixels() ); 142 cal->InitAverageAreas ( cam->GetNumAreas() ); 143 cal->InitAverageSectors( cam->GetNumSectors() ); 144 } 145 146 MCalibrationRelTimeCam *cat = 147 (MCalibrationRelTimeCam*)pList->FindObject(AddSerialNumber("MCalibrationRelTimeCam")); 148 if (cat) 149 { 150 cat->InitSize ( cam->GetNumPixels() ); 151 cat->InitAverageAreas ( cam->GetNumAreas() ); 152 cat->InitAverageSectors( cam->GetNumSectors() ); 142 153 } 143 154 144 145 MCalibrationQECam *qe =(MCalibrationQECam*)pList->FindObject(AddSerialNumber("MCalibrationQECam"));155 MCalibrationQECam *qe = 156 (MCalibrationQECam*)pList->FindObject(AddSerialNumber("MCalibrationQECam")); 146 157 if (qe) 147 158 qe->InitSize(cam->GetNumPixels()); … … 151 162 pedphot->InitSize(cam->GetNumPixels()); 152 163 164 153 165 MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 154 166 if (ext) 155 167 ext->InitSize(cam->GetNumPixels()); 156 168 169 157 170 MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels")); 158 171 if (bnd) -
trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc
r3425 r3638 239 239 for (int i=0; i<num; i++) 240 240 { 241 MCalibrationChargePix &calpix = ( *fCalCam)[i];241 MCalibrationChargePix &calpix = (MCalibrationChargePix&)(*fCalCam)[i]; 242 242 243 243 calpix.SetBlindPixelMethodValid(); … … 305 305 MPedPhotPix &pedpix = (*fPedPhotCam)[i]; 306 306 307 MCalibrationChargePix &calpix = ( *fCalCam)[i];307 MCalibrationChargePix &calpix = (MCalibrationChargePix&)(*fCalCam)[i]; 308 308 Float_t adc2phot = calpix.GetMeanConversionBlindPixelMethod(); 309 309 Float_t hi2lo = calpix.GetConversionHiLo();
Note:
See TracChangeset
for help on using the changeset viewer.