Changeset 3667 for trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
- Timestamp:
- 04/06/04 13:58:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r3660 r3667 75 75 #include "MGeomCam.h" 76 76 #include "MPedestalCam.h" 77 #include "MCalibrationChargeCam.h" 78 #include "MCalibrationRelTimeCam.h" 79 #include "MCalibrationQECam.h" 80 #include "MCalibrationPedCam.h" 77 #include "MCalibrationCam.h" 81 78 #include "MPedPhotCam.h" 82 79 #include "MExtractedSignalCam.h" … … 140 137 ped->InitSize(cam->GetNumPixels()); 141 138 142 MCalibrationChargeCam *cal = 143 (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 139 MCalibrationCam *cal = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam")); 144 140 if (cal) 145 { 146 cal->InitSize ( cam->GetNumPixels() ); 147 cal->InitAverageAreas ( cam->GetNumAreas() ); 148 cal->InitAverageSectors( cam->GetNumSectors() ); 149 } 141 cal->Init(*cam); 150 142 151 MCalibrationRelTimeCam *cat = 152 (MCalibrationRelTimeCam*)pList->FindObject(AddSerialNumber("MCalibrationRelTimeCam")); 143 MCalibrationCam *cat = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationRelTimeCam")); 153 144 if (cat) 154 { 155 cat->InitSize ( cam->GetNumPixels() ); 156 cat->InitAverageAreas ( cam->GetNumAreas() ); 157 cat->InitAverageSectors( cam->GetNumSectors() ); 158 } 159 160 MCalibrationQECam *qe = 161 (MCalibrationQECam*)pList->FindObject(AddSerialNumber("MCalibrationQECam")); 145 cat->Init(*cam); 146 147 MCalibrationCam *qe = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationQECam")); 162 148 if (qe) 163 { 164 qe->InitSize ( cam->GetNumPixels() ); 165 qe->InitAverageAreas ( cam->GetNumAreas() ); 166 qe->InitAverageSectors ( cam->GetNumSectors() ); 167 } 168 169 MCalibrationPedCam *pcam = 170 (MCalibrationPedCam*)pList->FindObject(AddSerialNumber("MCalibrationPedCam")); 149 qe->Init(*cam); 150 151 MCalibrationCam *pcam = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationPedCam")); 171 152 if (pcam) 172 { 173 pcam->InitSize ( cam->GetNumPixels() ); 174 pcam->InitAverageAreas ( cam->GetNumAreas() ); 175 pcam->InitAverageSectors ( cam->GetNumSectors() ); 176 } 177 153 pcam->Init(*cam); 154 178 155 MPedPhotCam *pedphot = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam")); 179 156 if (pedphot) 180 157 pedphot->InitSize(cam->GetNumPixels()); 181 158 182 183 159 MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 184 160 if (ext) 185 161 ext->InitSize(cam->GetNumPixels()); 186 187 162 188 163 MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels"));
Note:
See TracChangeset
for help on using the changeset viewer.