CMS 3D CMS Logo

LocalMaximumSeedFinder.h
Go to the documentation of this file.
1 #ifndef __LocalMaximumSeedFinder_H__
2 #define __LocalMaximumSeedFinder_H__
3 
5 
6 #include <unordered_map>
7 #include <tuple>
8 
9 class LocalMaximumSeedFinder final : public SeedFinderBase {
10 public:
14 
16  const std::vector<bool>& mask,
17  std::vector<bool>& seedable) override;
18 
19 private:
20  const int _nNeighbours;
21 
22  const std::unordered_map<std::string, int> _layerMap;
23 
24  typedef std::tuple<std::vector<int>, std::vector<double>, std::vector<double> > I3tuple;
25 
26  std::array<I3tuple, 35> _thresholds;
27  static constexpr int layerOffset = 15;
28 };
29 
31 
32 #endif
SeedFinderBase
Definition: SeedFinderBase.h:9
input
static const std::string input
Definition: EdmProvDump.cc:48
LocalMaximumSeedFinder::layerOffset
static constexpr int layerOffset
Definition: LocalMaximumSeedFinder.h:27
SeedFinderBase.h
edm::Handle< reco::PFRecHitCollection >
LocalMaximumSeedFinder::_layerMap
const std::unordered_map< std::string, int > _layerMap
Definition: LocalMaximumSeedFinder.h:22
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
LocalMaximumSeedFinder
Definition: LocalMaximumSeedFinder.h:9
edm::ParameterSet
Definition: ParameterSet.h:36
edmplugin::PluginFactory
Definition: PluginFactory.h:34
LocalMaximumSeedFinder::_nNeighbours
const int _nNeighbours
Definition: LocalMaximumSeedFinder.h:20
LocalMaximumSeedFinder::operator=
LocalMaximumSeedFinder & operator=(const LocalMaximumSeedFinder &)=delete
LocalMaximumSeedFinder::findSeeds
void findSeeds(const edm::Handle< reco::PFRecHitCollection > &input, const std::vector< bool > &mask, std::vector< bool > &seedable) override
Definition: LocalMaximumSeedFinder.cc:65
LocalMaximumSeedFinder::LocalMaximumSeedFinder
LocalMaximumSeedFinder(const edm::ParameterSet &conf)
Definition: LocalMaximumSeedFinder.cc:13
LocalMaximumSeedFinder::I3tuple
std::tuple< std::vector< int >, std::vector< double >, std::vector< double > > I3tuple
Definition: LocalMaximumSeedFinder.h:24
LocalMaximumSeedFinder::_thresholds
std::array< I3tuple, 35 > _thresholds
Definition: LocalMaximumSeedFinder.h:26