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  struct spike_cleaning {
13  double _minS4S1_a;
14  double _minS4S1_b;
16  double _eneThreshMod;
19  };
20 
24 
25  void clean(const edm::Handle<reco::PFRecHitCollection>& input, std::vector<bool>& mask) override;
26 
27 private:
28  const std::unordered_map<std::string, int> _layerMap;
29  std::unordered_map<int, spike_cleaning> _thresholds;
30 };
31 
33 
34 #endif
SpikeAndDoubleSpikeCleaner(const edm::ParameterSet &conf)
const std::unordered_map< std::string, int > _layerMap
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
static std::string const input
Definition: EdmProvDump.cc:48
std::unordered_map< int, spike_cleaning > _thresholds
SpikeAndDoubleSpikeCleaner & operator=(const SpikeAndDoubleSpikeCleaner &)=delete
#define DEFINE_EDM_PLUGIN(factory, type, name)