CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SpikeAndDoubleSpikeCleaner.h
Go to the documentation of this file.
1 #ifndef __SpikeAndDoubleSpikeCleaner_H__
2 #define __SpikeAndDoubleSpikeCleaner_H__
3 
5 
6 #include <unordered_map>
7 
9  public:
10 
11  struct spike_cleaning {
13  double _minS4S1_a;
14  double _minS4S1_b;
16  double _eneThreshMod;
19  };
20 
24 
26  std::vector<bool>& mask );
27 
28  private:
29  const std::unordered_map<std::string,int> _layerMap;
30  std::unordered_map<int,spike_cleaning> _thresholds;
31 
32 };
33 
35  SpikeAndDoubleSpikeCleaner,"SpikeAndDoubleSpikeCleaner");
36 
37 #endif
SpikeAndDoubleSpikeCleaner(const edm::ParameterSet &conf)
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask)
static std::string const input
Definition: EdmProvDump.cc:44
std::unordered_map< int, spike_cleaning > _thresholds
SpikeAndDoubleSpikeCleaner & operator=(const SpikeAndDoubleSpikeCleaner &)=delete
#define DEFINE_EDM_PLUGIN(factory, type, name)
const std::unordered_map< std::string, int > _layerMap