Changeset 3069 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 02/09/04 15:44:04 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r3052 r3069 24 24 25 25 ////////////////////////////////////////////////////////////////////////////// 26 // 27 // MGeomApply 28 // 26 // 27 // MGeomApply 28 // 29 29 // Applies the geometry to geometry dependant containers. 30 30 // … … 33 33 // 34 34 // MPedestalCam 35 // MCalibrationCam 36 // MPedPhotCam 37 // MExtractedSignalCam 35 38 // MBlindPixels 39 // MArrivalTime 36 40 // 37 41 // It uses the geometry (MGeomCam) found in the parameter list. … … 45 49 // Output Containers: 46 50 // [MPedestalCam] 51 // [MCalibrationCam] 52 // [MPedPhotCam] 53 // [MExtractedSignalCam] 47 54 // [MBlindPixels] 55 // [MArrivalTime] 48 56 // 49 57 ////////////////////////////////////////////////////////////////////////////// … … 114 122 // the use of some camera files from the 0.7 beta version in which the 115 123 // array containing pixel ratios is not initialized. 116 117 124 cam->CalcPixRatio(); 118 125 119 126 MPedestalCam *ped = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam")); 120 127 if (ped) 121 ped->InitSize(cam->GetNumPixels()); 122 128 ped->InitSize(cam->GetNumPixels()); 123 129 124 130 MCalibrationCam *cal = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationCam")); 125 131 if (cal) 126 cal->InitSize(cam->GetNumPixels()); 127 132 cal->InitSize(cam->GetNumPixels()); 128 133 129 134 MPedPhotCam *pedphot = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam")); 130 135 if (pedphot) 131 pedphot->InitSize(cam->GetNumPixels());136 pedphot->InitSize(cam->GetNumPixels()); 132 137 133 138 MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam")); 134 139 if (ext) 135 ext->InitSize(cam->GetNumPixels());140 ext->InitSize(cam->GetNumPixels()); 136 141 137 142 MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels")); 138 143 if (bnd) 139 bnd->InitSize(cam->GetNumPixels());144 bnd->InitSize(cam->GetNumPixels()); 140 145 141 146 MArrivalTime *tme = (MArrivalTime*)pList->FindObject(AddSerialNumber("MArrivalTime")); 142 147 if (tme) 143 tme->InitSize(cam->GetNumPixels());148 tme->InitSize(cam->GetNumPixels()); 144 149 145 150 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.