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
input
static const std::string input
Definition: EdmProvDump.cc:48
SpikeAndDoubleSpikeCleaner::spike_cleaning::_singleSpikeThresh
double _singleSpikeThresh
Definition: SpikeAndDoubleSpikeCleaner.h:12
SpikeAndDoubleSpikeCleaner::spike_cleaning::_minS4S1_b
double _minS4S1_b
Definition: SpikeAndDoubleSpikeCleaner.h:14
SpikeAndDoubleSpikeCleaner::_thresholds
std::unordered_map< int, spike_cleaning > _thresholds
Definition: SpikeAndDoubleSpikeCleaner.h:29
SpikeAndDoubleSpikeCleaner::operator=
SpikeAndDoubleSpikeCleaner & operator=(const SpikeAndDoubleSpikeCleaner &)=delete
SpikeAndDoubleSpikeCleaner::spike_cleaning::_eneThreshMod
double _eneThreshMod
Definition: SpikeAndDoubleSpikeCleaner.h:16
edm::Handle
Definition: AssociativeIterator.h:50
HFRecHit.h
SpikeAndDoubleSpikeCleaner::spike_cleaning::_minS4S1_a
double _minS4S1_a
Definition: SpikeAndDoubleSpikeCleaner.h:13
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
RecHitTopologicalCleanerBase.h
SpikeAndDoubleSpikeCleaner::clean
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
Definition: SpikeAndDoubleSpikeCleaner.cc:103
edm::ParameterSet
Definition: ParameterSet.h:47
SpikeAndDoubleSpikeCleaner::SpikeAndDoubleSpikeCleaner
SpikeAndDoubleSpikeCleaner(const edm::ParameterSet &conf)
Definition: SpikeAndDoubleSpikeCleaner.cc:69
edmplugin::PluginFactory
Definition: PluginFactory.h:34
SpikeAndDoubleSpikeCleaner::spike_cleaning
Definition: SpikeAndDoubleSpikeCleaner.h:11
SpikeAndDoubleSpikeCleaner::spike_cleaning::_fracThreshMod
double _fracThreshMod
Definition: SpikeAndDoubleSpikeCleaner.h:17
SpikeAndDoubleSpikeCleaner::spike_cleaning::_doubleSpikeThresh
double _doubleSpikeThresh
Definition: SpikeAndDoubleSpikeCleaner.h:18
SpikeAndDoubleSpikeCleaner
Definition: SpikeAndDoubleSpikeCleaner.h:9
SpikeAndDoubleSpikeCleaner::_layerMap
const std::unordered_map< std::string, int > _layerMap
Definition: SpikeAndDoubleSpikeCleaner.h:28
SpikeAndDoubleSpikeCleaner::spike_cleaning::_doubleSpikeS6S2
double _doubleSpikeS6S2
Definition: SpikeAndDoubleSpikeCleaner.h:15
RecHitTopologicalCleanerBase
Definition: RecHitTopologicalCleanerBase.h:12