- Timestamp:
- 11/01/06 15:48:31 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r8147 r8192 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.25 2006-11-01 15:48:31 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 17 19 ! 18 20 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 21 ! Author(s): Thomas Bretz <mailto:tbretz@astro.uni-wuerzburg.de> 19 22 ! 20 ! Copyright: MAGIC Software Development, 2000-200 423 ! Copyright: MAGIC Software Development, 2000-2006 21 24 ! 22 25 ! … … 427 430 } 428 431 432 if (*max > fSaturationLimit) 433 continue; 434 429 435 start = pixel.GetLoGainSamples(); 430 436 end = start + pixel.GetNumLoGainSamples(); … … 436 442 { 437 443 max = p; 438 maxpos = p-start +pixel.GetNumHiGainSamples() - 1;444 maxpos = p-start-1 + pixel.GetNumHiGainSamples(); 439 445 } 440 446 p++; … … 552 558 { 553 559 554 555 if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow()) 556 { 557 *fLog << warn << GetDescriptor() << ": Only over- or underflow in " << hist.GetName() << endl; 560 if (hist.IsEmpty()) 561 { 562 *fLog << warn << hist.GetName() << ": Histogram empty." << endl; 558 563 return; 559 } 564 } 565 if (hist.IsOnlyOverflow()) 566 { 567 *fLog << warn << hist.GetName() << ": Histogram contains only overflows." << endl; 568 return; 569 } 570 if (hist.IsOnlyUnderflow()) 571 { 572 *fLog << warn << hist.GetName() << ": Histogram contains only underflows." << endl; 573 return; 574 } 560 575 561 576 hist.BypassFit();
Note:
See TracChangeset
for help on using the changeset viewer.