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
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
PluginFactory.h
Handle.h
SeedFinderBase
Definition:
SeedFinderBase.h:9
PFRecHitFwd.h
input
static const std::string input
Definition:
EdmProvDump.cc:48
SeedFinderBase::operator=
SeedFinderBase & operator=(const SeedFinderBase &)=delete
edm::Handle< reco::PFRecHitCollection >
PFRecHit.h
SeedFinderBase::_algoName
const std::string _algoName
Definition:
SeedFinderBase.h:23
edm::ParameterSet
Definition:
ParameterSet.h:47
SeedFinderBase::name
const std::string & name() const
Definition:
SeedFinderBase.h:20
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
SeedFinderBase::~SeedFinderBase
virtual ~SeedFinderBase()=default
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
std
Definition:
JetResolutionObject.h:76
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16