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  LocalMaximumSeedFinder,"LocalMaximumSeedFinder");
32 
33 #endif
LocalMaximumSeedFinder & operator=(const LocalMaximumSeedFinder &)=delete
const std::unordered_map< std::string, int > _layerMap
void findSeeds(const edm::Handle< reco::PFRecHitCollection > &input, const std::vector< bool > &mask, std::vector< bool > &seedable) override
std::tuple< std::vector< int >, std::vector< double >, std::vector< double > > I3tuple
#define constexpr
LocalMaximumSeedFinder(const edm::ParameterSet &conf)
static std::string const input
Definition: EdmProvDump.cc:44
std::array< I3tuple, 35 > _thresholds
#define DEFINE_EDM_PLUGIN(factory, type, name)