force to ignore freq < 10 MHz for single histo RRF to find max freq. This is needed for heavily damped high frequency signals.
This commit is contained in:
parent
6c9adda7d2
commit
8d18ca7905
@ -1059,6 +1059,9 @@ Double_t PRunSingleHistoRRF::GetMainFrequency(PDoubleVector &data)
|
||||
if (power->GetBinContent(i)>power->GetBinContent(i+1))
|
||||
continue;
|
||||
}
|
||||
// ignore everything below 10 MHz
|
||||
if (power->GetBinCenter(i) < 10.0)
|
||||
continue;
|
||||
// check for maximum
|
||||
if (power->GetBinContent(i) > maxFreqVal) {
|
||||
maxFreqVal = power->GetBinContent(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user