RecoParticleFlow
PFClusterProducer
plugins
PassThruSeedFinder.cc
Go to the documentation of this file.
1
#include "
RecoParticleFlow/PFClusterProducer/interface/SeedFinderBase.h
"
2
3
#include <unordered_map>
4
5
class
PassThruSeedFinder
:
public
SeedFinderBase
{
6
public
:
7
PassThruSeedFinder
(
const
edm::ParameterSet
& conf);
8
PassThruSeedFinder
(
const
PassThruSeedFinder
&) =
delete
;
9
PassThruSeedFinder
&
operator=
(
const
PassThruSeedFinder
&) =
delete
;
10
11
void
findSeeds
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
,
12
const
std::vector<bool>& mask,
13
std::vector<bool>& seedable)
override
;
14
15
private
:
16
};
17
18
DEFINE_EDM_PLUGIN
(
SeedFinderFactory
,
PassThruSeedFinder
,
"PassThruSeedFinder"
);
19
20
PassThruSeedFinder::PassThruSeedFinder
(
const
edm::ParameterSet
& conf) :
SeedFinderBase
(conf) {}
21
22
// the starting state of seedable is all false!
23
void
PassThruSeedFinder::findSeeds
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
,
24
const
std::vector<bool>& mask,
25
std::vector<bool>& seedable) {
26
seedable = std::vector<bool>(
input
->size(),
true
);
27
}
SeedFinderBase
Definition:
SeedFinderBase.h:9
input
static const std::string input
Definition:
EdmProvDump.cc:48
SeedFinderBase.h
edm::Handle< reco::PFRecHitCollection >
PassThruSeedFinder::findSeeds
void findSeeds(const edm::Handle< reco::PFRecHitCollection > &input, const std::vector< bool > &mask, std::vector< bool > &seedable) override
Definition:
PassThruSeedFinder.cc:23
PassThruSeedFinder
Definition:
PassThruSeedFinder.cc:5
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
PassThruSeedFinder::operator=
PassThruSeedFinder & operator=(const PassThruSeedFinder &)=delete
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
PassThruSeedFinder::PassThruSeedFinder
PassThruSeedFinder(const edm::ParameterSet &conf)
Definition:
PassThruSeedFinder.cc:20
Generated for CMSSW Reference Manual by
1.8.16