#include "SpikeAndDoubleSpikeCleaner.h"
#include <cmath>
Go to the source code of this file.
|
| for (const auto &pset:thresholds) |
|
for |
( |
const auto &pset:thresholds |
| ) |
|
Definition at line 82 of file SpikeAndDoubleSpikeCleaner.cc.
References SpikeAndDoubleSpikeCleaner::_layerMap, SpikeAndDoubleSpikeCleaner::_thresholds, Exception, info(), and AlCaHLTBitMon_QueryRunRegistry::string.
85 info._minS4S1_a = pset.getParameter<
double>(
"minS4S1_a");
86 info._minS4S1_b = pset.getParameter<
double>(
"minS4S1_b");
87 info._doubleSpikeS6S2 = pset.getParameter<
double>(
"doubleSpikeS6S2");
88 info._eneThreshMod = pset.getParameter<
double>(
"energyThresholdModifier");
90 pset.getParameter<
double>(
"fractionThresholdModifier");
91 info._doubleSpikeThresh = pset.getParameter<
double>(
"doubleSpikeThresh");
92 info._singleSpikeThresh = pset.getParameter<
double>(
"singleSpikeThresh");
93 auto entry = _layerMap.find(det);
94 if( entry == _layerMap.end() ) {
96 <<
"Detector layer : " << det <<
" is not in the list of recognized"
97 <<
" detector layers!";
99 _thresholds.emplace(_layerMap.find(det)->second,
info);