RecoParticleFlow
PFClusterProducer
plugins
LocalMaximumSeedFinder.h
Go to the documentation of this file.
1
#ifndef __LocalMaximumSeedFinder_H__
2
#define __LocalMaximumSeedFinder_H__
3
4
#include "
RecoParticleFlow/PFClusterProducer/interface/SeedFinderBase.h
"
5
6
#include <unordered_map>
7
#include <tuple>
8
9
class
LocalMaximumSeedFinder
final :
public
SeedFinderBase
{
10
public
:
11
LocalMaximumSeedFinder
(
const
edm::ParameterSet
& conf);
12
LocalMaximumSeedFinder
(
const
LocalMaximumSeedFinder
&) =
delete
;
13
LocalMaximumSeedFinder
&
operator=
(
const
LocalMaximumSeedFinder
&) =
delete
;
14
15
void
findSeeds
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
,
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
30
DEFINE_EDM_PLUGIN
(
SeedFinderFactory
,
LocalMaximumSeedFinder
,
"LocalMaximumSeedFinder"
);
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
Definition:
AssociativeIterator.h:50
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:47
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
Generated for CMSSW Reference Manual by
1.8.16