Changeset 9356 for trunk/MagicSoft/Mars/msimcamera/MSimRandomPhotons.cc
- Timestamp:
- 02/19/09 22:59:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.