- Timestamp:
- 08/06/04 20:10:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4538 r4539 34 34 - fixed a bug in one possible output using Form() 35 35 which produced a segm.violation in that case. 36 37 * mcalib/MHCalibrationTestCam.cc 38 - adapt class for the interpolation of pixels. 36 39 37 40 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc
r4155 r4539 317 317 MHGausEvents &histhi = (*this)[i]; 318 318 319 if (histhi.IsExcluded())320 continue;321 322 319 const MCerPhotPix *pix = calibration->GetPixById(i); 323 320 if (!pix) … … 326 323 const Float_t signal = pix->GetNumPhotons(); 327 324 325 if (signal < 0.0001) 326 continue; 327 328 328 const Int_t aidx = (*fGeom)[i].GetAidx(); 329 329 const Int_t sector = (*fGeom)[i].GetSector(); 330 330 331 331 histhi.FillHistAndArray(signal) ; 332 332 333 sumareahi [aidx] += signal; 333 334 numareahi [aidx] ++; … … 340 341 MHGausEvents &histhi = GetAverageHiGainArea(j); 341 342 histhi.FillHistAndArray(numareahi[j] == 0 ? 0. : sumareahi[j]/numareahi[j]); 342 343 343 } 344 344 … … 364 364 { 365 365 366 *fLog << endl; 367 366 368 TArrayI numaidx; 367 369 numaidx.Set(fGeom->GetNumAreas()); … … 372 374 MHGausEvents &hist = (*this)[i]; 373 375 374 if (hist.IsExcluded())375 continue;376 377 376 if (hist.IsEmpty()) 378 continue; 377 { 378 *fLog << warn << GetDescriptor() << ": WARNING: Not interpolated histogram pixel: " << i << endl; 379 continue; 380 } 379 381 380 382 if (!hist.FitGaus()) 381 383 if (!hist.RepeatFit()) 382 { 383 hist.BypassFit(); 384 } 384 hist.BypassFit(); 385 385 386 386 hist.CreateFourierSpectrum(); … … 406 406 if (!hist.FitGaus()) 407 407 if (!hist.RepeatFit()) 408 { 409 hist.BypassFit(); 410 } 408 hist.BypassFit(); 411 409 412 410 hist.CreateFourierSpectrum(); … … 435 433 if (!hist.FitGaus()) 436 434 if (!hist.RepeatFit()) 437 { 438 hist.BypassFit(); 439 } 435 hist.BypassFit(); 436 440 437 hist.CreateFourierSpectrum(); 441 442 443 438 } 444 439 … … 496 491 const MHGausEvents &pix = (*this)[idx]; 497 492 498 if (pix.IsE xcluded())493 if (pix.IsEmpty()) 499 494 return kFALSE; 500 495
Note:
See TracChangeset
for help on using the changeset viewer.