Actions
Bug #64
closedBug #80: Version 1.6 bugfixes
Nuisance warnings about multiple hits from scintillator class
Responsible:
Description
With g2p run 3132, I get gazillions of messages like this from THaScintillator (perhaps 20-30 per 1000 events):
Warning in THaScintillator::"L.s1"::Decode: 2 hits on TDC channel 4/10/89 Warning in THaScintillator::"L.s1"::Decode: 2 hits on TDC channel 4/10/81 Warning in THaScintillator::"L.s1"::Decode: 2 hits on TDC channel 4/10/89 Warning in THaScintillator::"L.s1"::Decode: 2 hits on TDC channel 4/10/81 Warning in THaScintillator::"L.s1"::Decode: 2 hits on TDC channel 4/10/91
These can't be silenced in analyzer-1.5.25, but there should be a way to acknowledge and continue quietly. Perhaps by default just print a warning summary, and per-event warnings only with fDebug > 1? Also, if we already print them, the messages should include the event number.
Updated by Ole Hansen over 7 years ago
- Start date deleted (
12/17/2013) - Parent task set to #80
Updated by Ole Hansen almost 7 years ago
- Status changed from New to Closed
- Start date set to 01/23/2018
- % Done changed from 0 to 100
Added a map to the scintillator class to keep track of unique warning messages, and a counter for the number of events with warnings. The saved messages are analyzed and printed in THaScintillator::End()
at the end of each analysis.
Closed with commit ab263d7.
Actions