![]() |
Diana Software
|
Flag heater events by their regular timing. More...
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev) |
| Do method. More... | |
| void | Done () |
| Done method. More... | |
Private Attributes | |
| double | fExpectedTimeInterval |
| Pulser expected time interval in sec. More... | |
| double | fFalsePositiveRate |
| False positive rate. More... | |
| int | fMaxRandomCoincidentEvents |
| If UseCoincidence = true, the maximum number of allowed coincident events in different heater groups if the timing of the current event is wrong. More... | |
| int | fNecessaryCoincidentEvents |
| If UseCoincidence = true, the minimum number of required coincident events (not counting the current event) in the same heater group if the timing of the current event is right. More... | |
| int | fSufficientCoincidentEvents |
| If UseCoincidence = true, the minimum number of required coincident events (not counting the current event) in the same heater group regardless of whether the timing of the current event is right. More... | |
| std::vector< double > | fTimeAdjustments |
| Time adjustments. More... | |
| double | fTimeIntervalStepSize |
| Step size for scan of time intervals. More... | |
| double | fTimeIntervalUncertainty |
| Uncertainty in expected heater time interval. More... | |
| std::map< int, QTimingAnalyzer > | fTimingAnalyzer |
| Timing analyzer for each channel. More... | |
| double | fTimeTolerance |
| Time tolerance. More... | |
| bool | fUseCoincidences |
| Whether or not to use coincidences. More... | |
Flag heater events by their regular timing.
module PulserFlagByRegularTiming verbosity = info enable = true ExpectedTimeInterval = 305.536 TimeIntervalUncertainty = 0.500 TimeIntervalStepSize = 0.008 NumberOfTimeAdjustments = 2 TimeAdjustment_1 = 267.224 TimeAdjustment_2 = 343.448 TimeTolerance = 1.0 FalsePositiveRate = 0.001 UseCoincidence = false NecessaryCoincidentEvents = 2 SufficientCoincidentEvents = 5 MaxRandomCoincidentEvents = 2 endmod
Definition at line 94 of file MPulserFlagByRegularTiming.hh.
| void MPulserFlagByRegularTiming::Do | ( | Diana::QEvent & | ev | ) |
Do method.
Definition at line 62 of file MPulserFlagByRegularTiming.cc.
References channel, QCoincidenceTiming::fNumberOfCoincidentEvents, QCoincidenceTiming::fNumberOfCoincidentEvents_SameHeaterGroup, QEvent::Get(), and QHeader::GetTime().
| void MPulserFlagByRegularTiming::Done | ( | ) |
Done method.
Definition at line 118 of file MPulserFlagByRegularTiming.cc.
References QTimingAnalyzer::ComputeGoodnessThreshold(), QTimingAnalyzer::FindPeriod(), QTimingAnalyzer::GetPeriod(), QTimingAnalyzer::SetAdjustments(), QTimingAnalyzer::SetExpectedPeriod(), and QTimingAnalyzer::SetTolerance().
| void MPulserFlagByRegularTiming::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 17 of file MPulserFlagByRegularTiming.cc.
|
private |
Pulser expected time interval in sec.
Definition at line 108 of file MPulserFlagByRegularTiming.hh.
|
private |
False positive rate.
Definition at line 111 of file MPulserFlagByRegularTiming.hh.
|
private |
If UseCoincidence = true, the maximum number of allowed coincident events in different heater groups if the timing of the current event is wrong.
Definition at line 118 of file MPulserFlagByRegularTiming.hh.
|
private |
If UseCoincidence = true, the minimum number of required coincident events (not counting the current event) in the same heater group if the timing of the current event is right.
Definition at line 124 of file MPulserFlagByRegularTiming.hh.
|
private |
If UseCoincidence = true, the minimum number of required coincident events (not counting the current event) in the same heater group regardless of whether the timing of the current event is right.
Definition at line 130 of file MPulserFlagByRegularTiming.hh.
|
private |
Time adjustments.
Definition at line 133 of file MPulserFlagByRegularTiming.hh.
|
private |
Step size for scan of time intervals.
Definition at line 136 of file MPulserFlagByRegularTiming.hh.
|
private |
Uncertainty in expected heater time interval.
Definition at line 139 of file MPulserFlagByRegularTiming.hh.
|
private |
Time tolerance.
Definition at line 145 of file MPulserFlagByRegularTiming.hh.
|
private |
Timing analyzer for each channel.
Definition at line 142 of file MPulserFlagByRegularTiming.hh.
|
private |
Whether or not to use coincidences.
Definition at line 148 of file MPulserFlagByRegularTiming.hh.