Changeset 9328 for trunk/MagicSoft/Mars/msim
- Timestamp:
- 02/12/09 20:07:51 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msim
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msim/MHPhotonEvent.cc
r9308 r9328 194 194 case 2: 195 195 { 196 MReflector *r = (MReflector*)pList->FindObject(" MReflector");196 MReflector *r = (MReflector*)pList->FindObject("Reflector", "MReflector"); 197 197 if (!r) 198 198 { 199 *fLog << err << " MReflectornot found... aborting." << endl;199 *fLog << err << "Reflector [MReflector] not found... aborting." << endl; 200 200 return kFALSE; 201 201 } -
trunk/MagicSoft/Mars/msim/MSimAbsorption.cc
r9243 r9328 235 235 Int_t MSimAbsorption::PreProcess(MParList *pList) 236 236 { 237 if (fFileName.IsNull()) 238 { 239 *fLog << inf << "No file given... skipping." << endl; 240 return kSKIP; 241 } 242 237 243 fEvt = (MPhotonEvent*)pList->FindObject("MPhotonEvent"); 238 244 if (!fEvt) … … 248 254 return kFALSE; 249 255 } 256 257 *fLog << inf << "Using " << (fUseTheta?"Theta":"Wavelength") << " for absorption." << endl; 250 258 251 259 return ReadFile();
Note:
See TracChangeset
for help on using the changeset viewer.