Changeset 8305
- Timestamp:
- 02/04/07 15:49:50 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8304 r8305 71 71 - if necessary increased class version 72 72 73 * mpedestal/MExtractPedestal.cc: 74 - improved output 73 75 74 76 -
trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc
r8296 r8305 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.2 5 2007-02-03 20:03:35tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.26 2007-02-04 15:49:08 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 318 318 void MExtractPedestal::CheckExtractionWindow(UInt_t offset) 319 319 { 320 *fLog << inf; 321 *fLog << "Requested CheckWindow is [" << fCheckWinFirst << "," << fCheckWinLast << "]." <<endl; 322 *fLog << "Requested ExtractWindow is [" << fExtractWinFirst+offset << "," << fExtractWinLast+offset << "]." <<endl; 323 320 324 // fSignal->GetNumSamples() not yet initialized!!! 321 325 const UInt_t num = fRunHeader->GetNumSamplesHiGain()+fRunHeader->GetNumSamplesLoGain(); … … 323 327 if (fCheckWinLast >= num) 324 328 { 325 *fLog << inf; 326 *fLog << "CheckWindow [" << fCheckWinFirst+offset << "," << fCheckWinLast+offset; 329 *fLog << "CheckWindow [" << fCheckWinFirst << "," << fCheckWinLast; 327 330 *fLog << "] out of range [0," << num-1 << "]... "; 328 331 *fLog << "reset upper edge." << endl; … … 333 336 if (offset+fExtractWinLast >= num) 334 337 { 335 *fLog << inf;336 338 *fLog << "ExtractWindow [" << fExtractWinFirst+offset << "," << fExtractWinLast+offset; 337 339 *fLog << "] out of range [0," << num-1 << "]... "; … … 348 350 fExtractWinLast += offset+fExtractWinLast==num-1 ? -1 : +1; 349 351 350 *fLog << inf;351 352 *fLog << "ExtractionWindow odd... set to ["; 352 353 *fLog << fExtractWinFirst+offset << "," << fExtractWinLast+offset << "]" << endl; … … 564 565 { 565 566 *fLog << err << GetDescriptor(); 566 *fLog << " - ERROR: Selected fExtractWinLast out of range." << endl; 567 *fLog << " - ERROR: Selected fExtractWinLast " << fExtractWinLast; 568 *fLog << " out of range (>=" << num<< ")." << endl; 567 569 return kFALSE; 568 570 } … … 608 610 609 611 // If the maximum in the high gain window is smaller than 612 // FIXME: Precompiled value! 610 613 return max-min<fMaxSignalVar && max<250; 611 614 }
Note:
See TracChangeset
for help on using the changeset viewer.