Changeset 7013 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc
- Timestamp:
- 05/11/05 19:06:48 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc
r6773 r7013 342 342 MHCalibrationPix &histhi = (*this)[i]; 343 343 344 histhi.FillHist AndArray(ratio);344 histhi.FillHist(ratio); 345 345 fSumareahi [aidx] += ratio; 346 346 fNumareahi [aidx] ++; … … 355 355 const Float_t diff = tix.GetArrivalTimeLoGain() - tix.GetArrivalTimeHiGain(); 356 356 357 histlo.FillHist AndArray(diff);357 histlo.FillHist(diff); 358 358 fSumarealo [aidx] += diff; 359 359 fNumarealo [aidx] ++; … … 362 362 } 363 363 } 364 365 if (!IsAverageing()) 366 return kTRUE; 364 367 365 368 for (Int_t j=0; j<nareas; j++) … … 420 423 } 421 424 422 for (Int_t j=0; j<nareas; j++) 423 { 424 425 MHCalibrationPix &hist = GetAverageHiGainArea(j); 426 // 427 // Check histogram overflow 428 // 429 CheckOverflow(hist); 430 } 431 432 for (Int_t j=0; j<fAverageHiGainSectors->GetSize(); j++) 433 { 434 435 MHCalibrationPix &hist = GetAverageHiGainSector(j); 436 // 437 // Check histogram overflow 438 // 439 CheckOverflow(hist); 440 } 425 // 426 // Check histogram overflow 427 // 428 if (IsAverageing()) 429 { 430 for (Int_t j=0; j<nareas; j++) 431 GetAverageHiGainArea(j).CheckOverflow(hist); 432 433 for (Int_t j=0; j<fAverageHiGainSectors->GetSize(); j++) 434 GetAverageHiGainSector(j).CheckOverflow(hist); 435 } 436 441 437 442 438 FitHiGainArrays(*hilocam,*badcam, … … 458 454 } 459 455 460 for (Int_t j=0; j<nareas; j++) 461 { 462 463 MHCalibrationPix &hist = GetAverageLoGainArea(j); 464 CheckOverflow(hist); 465 } 466 467 for (Int_t j=0; j<nsectors; j++) 468 { 469 470 MHCalibrationPix &hist = GetAverageLoGainSector(j); 471 CheckOverflow(hist); 472 } 456 if (IsAverageing()) 457 { 458 for (Int_t j=0; j<nareas; j++) 459 GetAverageLoGainArea(j).CheckOverflow(hist); 460 461 for (Int_t j=0; j<nsectors; j++) 462 GetAverageLoGainSector(j).CheckOverflow(hist); 463 } 473 464 474 465 FitLoGainArrays(*hilocam,*badcam,
Note:
See TracChangeset
for help on using the changeset viewer.