Changeset 6229 for trunk/MagicSoft
- Timestamp:
- 02/03/05 10:42:15 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/callisto.cc
r6214 r6229 391 391 if (!job4.ProcessFile(job1.GetPedestalCam())) 392 392 { 393 gLog << err << "Cal culation of calibration failed." << endl << endl;393 gLog << err << "Calibration of calibration failed." << endl << endl; 394 394 return -1; 395 395 } -
trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
r6217 r6229 352 352 if (fSequence.IsValid()) 353 353 { 354 const Int_t n0 = fSequence.Setup DatRuns(iter, fPathData, "D", IsUseRawData());355 const Int_t n1 = fSequence.GetNum DatRuns();354 const Int_t n0 = fSequence.SetupCalRuns(iter, fPathData, "C", IsUseRawData()); 355 const Int_t n1 = fSequence.GetNumCalRuns(); 356 356 if (n0==0) 357 357 { -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.cc
r6166 r6229 271 271 MRawEvtPixelIter pixel(fRawEvt); 272 272 273 Int_t sat ;274 Byte_t satpos ;273 Int_t sat = 0; 274 Byte_t satpos = 0; 275 275 ULong_t gsatpos = 0; 276 276 277 277 Int_t maxsumhi = -1000000; 278 278 Int_t numsat = 0; 279 Byte_t startslice;279 Byte_t startslice = 0; 280 280 281 281 Byte_t hiGainFirstsave = fHiGainFirst; … … 319 319 fHiGainFirst = higainfirst - fOffsetLeftFromPeak; 320 320 else 321 fHiGainOutOfRangeLeft++; 322 321 { 322 // *fLog << err << (Int_t)higainfirst << " " << (int)fHiGainFirst << " " << (int)fOffsetLeftFromPeak << endl; 323 fHiGainOutOfRangeLeft++; 324 } 325 323 326 // 324 327 // Shift the last slice to the right: 325 328 // 326 329 const Byte_t rlim = higainfirst + fOffsetRightFromPeak + fWindowSizeHiGain; 327 if (rlim <= hiGainLastsave+fHiLoLast)328 if (rlim > hiGainLastsave)330 if (rlim <= fHiGainLast+fHiLoLast) 331 if (rlim > fHiGainLast) 329 332 fHiLoLast = rlim - fHiGainLast; 330 333 else … … 334 337 } 335 338 else 336 fHiGainOutOfRangeRight++; 337 338 339 { 340 fHiGainOutOfRangeRight++; 341 // *fLog << err << (Int_t)higainfirst << endl; 342 } 343 339 344 const Byte_t llim = fHiGainFirst + (Int_t)fOffsetLoGain; 340 345 if ( llim >= fLoGainFirst ) … … 544 549 545 550 MExtractTimeAndChargeDigitalFilter::Print(o); 546 *fLog << " Offset from Peak left: " << fOffsetLeftFromPeak << endl;547 *fLog << " Offset from Peak right: " << fOffsetRightFromPeak << endl;548 *fLog << " Peak search window size: " << fPeakSearchWindowSize << endl;551 *fLog << " Offset from Peak left: " << (int)fOffsetLeftFromPeak << endl; 552 *fLog << " Offset from Peak right: " << (int)fOffsetRightFromPeak << endl; 553 *fLog << " Peak search window size: " << (int)fPeakSearchWindowSize << endl; 549 554 *fLog << " High Gain Failure limit: " << fHiGainFailureLimit << endl; 550 555 *fLog << " Low Gain Failure limit: " << fLoGainFailureLimit << endl;
Note:
See TracChangeset
for help on using the changeset viewer.