Changeset 2994
- Timestamp:
- 01/30/04 20:33:42 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2993 r2994 102 102 number) 103 103 104 104 * manalysis/MExtractSignal.cc 105 - not access to MArrivalTime any more. The same information is 106 stored in MRawEvt->GetPixelContent(...) 107 108 * manalysis/MCalibrationCalc.cc 109 - retrieve default arrival time from MRawEvt 105 110 106 111 2004/01/29: Abelardo Moralejo -
trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc
r2958 r2994 46 46 #include "MExtractedSignalPix.h" 47 47 48 #include "MArrivalTime.h"49 50 48 ClassImp(MExtractSignal); 51 49 … … 114 112 115 113 fPedestals = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam")); 114 116 115 if (!fPedestals) 117 116 { … … 120 119 } 121 120 122 fArrivalTime = (MArrivalTime*)pList->FindCreateObj(AddSerialNumber("MArrivalTime"));123 if (!fArrivalTime)124 return kFALSE;125 126 121 return kTRUE; 127 122 } … … 206 201 207 202 pix.SetGainSaturation(satHi, satHi, satLo); 208 209 fArrivalTime->SetTime(pixid, satHi?midlo:midhi);210 203 211 204 } /* while (pixel.Next()) */ -
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.