CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
SpikeAndDoubleSpikeCleaner.cc File Reference
#include "SpikeAndDoubleSpikeCleaner.h"
#include <cmath>

Go to the source code of this file.

Functions

 for (const auto &pset:thresholds)
 

Function Documentation

for ( const auto &pset:thresholds  )

Definition at line 82 of file SpikeAndDoubleSpikeCleaner.cc.

References SpikeAndDoubleSpikeCleaner::_layerMap, SpikeAndDoubleSpikeCleaner::_thresholds, edm::hlt::Exception, info(), and AlCaHLTBitMon_QueryRunRegistry::string.

82  : thresholds ) {
83  spike_cleaning info;
84  const std::string& det = pset.getParameter<std::string>("detector");
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");
89  info._fracThreshMod =
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() ) {
95  throw cms::Exception("InvalidDetectorLayer")
96  << "Detector layer : " << det << " is not in the list of recognized"
97  << " detector layers!";
98  }
99  _thresholds.emplace(_layerMap.find(det)->second,info);
100  }
static const TGPicture * info(bool iBackgroundIsBlack)
dictionary thresholds
Definition: fff_deleter.py:273