Changeset 9356 for trunk/MagicSoft/Mars/msimcamera
- Timestamp:
- 02/19/09 22:59:24 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msimcamera
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimAPD.cc
r9349 r9356 100 100 *fLog << inf << fNameGeomCam << " [MGeomCam] not found..." << endl; 101 101 102 fGeom = (MGeomCam*)pList->Find CreateObj(fNameGeomCam);102 fGeom = (MGeomCam*)pList->FindObject("MGeomCam"); 103 103 if (!fGeom) 104 { 105 *fLog << err << "MGeomCam not found... aborting." << endl; 104 106 return kFALSE; 107 } 105 108 } 106 109 -
trunk/MagicSoft/Mars/msimcamera/MSimGeomCam.cc
r9347 r9356 91 91 *fLog << inf << fNameGeomCam << " [MGeomCam] not found..." << endl; 92 92 93 fGeom = (MGeomCam*)pList->Find CreateObj(fNameGeomCam);93 fGeom = (MGeomCam*)pList->FindObject("MGeomCam"); 94 94 if (!fGeom) 95 { 96 *fLog << err << "MGeomCam not found... aborting." << endl; 95 97 return kFALSE; 98 } 96 99 } 97 100 -
trunk/MagicSoft/Mars/msimcamera/MSimRandomPhotons.cc
r9272 r9356 91 91 *fLog << inf << fNameGeomCam << " [MGeomCam] not found..." << endl; 92 92 93 fGeom = (MGeomCam*)pList->Find CreateObj(fNameGeomCam);93 fGeom = (MGeomCam*)pList->FindObject("MGeomCam"); 94 94 if (!fGeom) 95 { 96 *fLog << err << "MGeomCam not found... aborting." << endl; 95 97 return kFALSE; 98 } 96 99 } 97 100 … … 175 178 // Add a new photon 176 179 // FIXME: SLOW! 177 MPhotonData &ph = fEvt->Add(); 180 MPhotonData &ph = fEvt->Add(); 178 181 179 182 // Set source to NightSky, time to t and tag to pixel index
Note:
See TracChangeset
for help on using the changeset viewer.