Changeset 2994 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 01/30/04 20:33:42 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r2972 r2994 213 213 214 214 fArrivalTime = (MArrivalTime*)pList->FindObject("MArrivalTime"); 215 216 if (!fArrivalTime)217 CLRBIT(fFlags,kUseTimes);218 215 219 216 fEvtTime = (MTime*)pList->FindObject("MTime"); … … 458 455 459 456 if (TESTBIT(fFlags,kUseTimes)) 460 mtime = (*fArrivalTime)[pixid]; 457 { 458 // 459 // first, have a look in MArrivalTime, 460 // otherwise search the position of maximum bin 461 // in MRawEvtData 462 // 463 if (fArrivalTime) 464 mtime = (*fArrivalTime)[pixid]; 465 else 466 if (sig.IsLoGainUsed()) 467 fRawEvt->GetPixelContent(mtime, pixid, NULL, 4); 468 else 469 fRawEvt->GetPixelContent(mtime, pixid, NULL, 3); 470 } 461 471 462 472 switch(pixid)
Note:
See TracChangeset
for help on using the changeset viewer.