RecoParticleFlow
PFClusterProducer
interface
SeedFinderBase.h
Go to the documentation of this file.
1
#ifndef __SeedFinderBase_H__
2
#define __SeedFinderBase_H__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
DataFormats/Common/interface/Handle.h
"
6
#include "
DataFormats/ParticleFlowReco/interface/PFRecHit.h
"
7
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFwd.h
"
8
9
class
SeedFinderBase
{
10
public
:
11
SeedFinderBase
(
const
edm::ParameterSet
& conf) :
_algoName
(conf.getParameter<
std
::
string
>(
"algoName"
)) {}
12
SeedFinderBase
(
const
SeedFinderBase
&) =
delete
;
13
virtual
~SeedFinderBase
() =
default
;
14
SeedFinderBase
&
operator=
(
const
SeedFinderBase
&) =
delete
;
15
16
virtual
void
findSeeds
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
,
17
const
std::vector<bool>&
mask
,
18
std::vector<bool>& seedable) = 0;
19
20
const
std::string
&
name
()
const
{
return
_algoName
; }
21
22
private
:
23
const
std::string
_algoName
;
24
};
25
26
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
27
typedef
edmplugin::PluginFactory<SeedFinderBase*(const edm::ParameterSet&)>
SeedFinderFactory
;
28
29
#endif
PFRecHit.h
PFRecHitFwd.h
edm::Handle< reco::PFRecHitCollection >
std
Definition:
JetResolutionObject.h:76
SeedFinderBase::~SeedFinderBase
virtual ~SeedFinderBase()=default
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
gpuClustering::pixelStatus::mask
constexpr uint32_t mask
Definition:
gpuClustering.h:24
input
static std::string const input
Definition:
EdmProvDump.cc:47
SeedFinderFactory
edmplugin::PluginFactory< SeedFinderBase *(const edm::ParameterSet &)> SeedFinderFactory
Definition:
SeedFinderBase.h:27
ParameterSet.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
SeedFinderBase::name
const std::string & name() const
Definition:
SeedFinderBase.h:20
SeedFinderBase
Definition:
SeedFinderBase.h:9
SeedFinderBase::_algoName
const std::string _algoName
Definition:
SeedFinderBase.h:23
SeedFinderBase::operator=
SeedFinderBase & operator=(const SeedFinderBase &)=delete
PluginFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SeedFinderBase::SeedFinderBase
SeedFinderBase(const edm::ParameterSet &conf)
Definition:
SeedFinderBase.h:11
SeedFinderBase::findSeeds
virtual void findSeeds(const edm::Handle< reco::PFRecHitCollection > &input, const std::vector< bool > &mask, std::vector< bool > &seedable)=0
Handle.h
Generated for CMSSW Reference Manual by
1.8.14