Important check, that a realistic uncertainty on ADC exists. Prevents just one ADC value being used. Already implemented in other methods.

This commit is contained in:
redford_s
2017-11-10 18:31:30 +01:00
parent 7a7de5c922
commit 089f99b0ef
+2 -2
View File
@@ -369,13 +369,13 @@ int main(int argc, char* argv[]) {
double this_g0avger = avg_adcer_g0_map[j]->GetBinContent((i%NC)+1,(i/NC)+1);
double this_g1avger = avg_adcer_g1_map[j]->GetBinContent((i%NC)+1,(i/NC)+1);
if (this_g0avg != 0) {
if (this_g0avg != 0 && this_g0avger > 0) {
r0_filter.push_back(current);
r0_filterer.push_back(0);
r0_adc.push_back(this_g0avg);
r0_adcer.push_back(this_g0avger);
}
if (this_g1avg != 0) {
if (this_g1avg != 0 && this_g1avger > 0) {
r1_filter.push_back(current);
r1_filterer.push_back(0);
r1_adc.push_back(this_g1avg);