CMS 3D CMS Logo

SpikeAndDoubleSpikeCleaner.h
Go to the documentation of this file.
1 #ifndef __SpikeAndDoubleSpikeCleaner_H__
2 #define __SpikeAndDoubleSpikeCleaner_H__
3 
6 
7 #include <unordered_map>
8 
10  public:
11 
12  struct spike_cleaning {
14  double _minS4S1_a;
15  double _minS4S1_b;
17  double _eneThreshMod;
20  };
21 
25 
27  std::vector<bool>& mask ) override;
28 
29  private:
30  const std::unordered_map<std::string,int> _layerMap;
31  std::unordered_map<int,spike_cleaning> _thresholds;
32 
33 };
34 
36  SpikeAndDoubleSpikeCleaner,"SpikeAndDoubleSpikeCleaner");
37 
38 #endif
SpikeAndDoubleSpikeCleaner(const edm::ParameterSet &conf)
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
static std::string const input
Definition: EdmProvDump.cc:45
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