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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user