src
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
#include "
CondFormats/DataRecord/interface/HcalPFCutsRcd.h
"
9
#include "
CondTools/Hcal/interface/HcalPFCutsHandler.h
"
10
11
class
SeedFinderBase
{
12
public
:
13
SeedFinderBase
(
const
edm::ParameterSet
& conf) :
_algoName
(conf.getParameter<
std
::
string
>(
"algoName"
)) {}
14
SeedFinderBase
(
const
SeedFinderBase
&) =
delete
;
15
virtual
~SeedFinderBase
() =
default
;
16
SeedFinderBase
&
operator=
(
const
SeedFinderBase
&) =
delete
;
17
18
virtual
void
findSeeds
(
const
edm::Handle<reco::PFRecHitCollection>
&
input
,
19
const
std::vector<bool>&
mask
,
20
std::vector<bool>& seedable,
21
const
HcalPFCuts
*) = 0;
22
23
const
std::string
&
name
()
const
{
return
_algoName
; }
24
25
private
:
26
const
std::string
_algoName
;
27
};
28
29
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
30
typedef
edmplugin::PluginFactory<SeedFinderBase*(const edm::ParameterSet&)>
SeedFinderFactory
;
31
32
#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:26
input
static std::string const input
Definition:
EdmProvDump.cc:50
SeedFinderFactory
edmplugin::PluginFactory< SeedFinderBase *(const edm::ParameterSet &)> SeedFinderFactory
Definition:
SeedFinderBase.h:30
ParameterSet.h
HcalPFCutsRcd.h
edmplugin::PluginFactory
Definition:
PluginFactory.h:35
SeedFinderBase::name
const std::string & name() const
Definition:
SeedFinderBase.h:23
SeedFinderBase
Definition:
SeedFinderBase.h:11
SeedFinderBase::_algoName
const std::string _algoName
Definition:
SeedFinderBase.h:26
SeedFinderBase::operator=
SeedFinderBase & operator=(const SeedFinderBase &)=delete
HcalPFCutsHandler.h
SeedFinderBase::findSeeds
virtual void findSeeds(const edm::Handle< reco::PFRecHitCollection > &input, const std::vector< bool > &mask, std::vector< bool > &seedable, const HcalPFCuts *)=0
PluginFactory.h
HcalPFCuts
Definition:
HcalPFCuts.h:7
edm::ParameterSet
Definition:
ParameterSet.h:48
SeedFinderBase::SeedFinderBase
SeedFinderBase(const edm::ParameterSet &conf)
Definition:
SeedFinderBase.h:13
Handle.h
Generated for CMSSW Reference Manual by
1.8.14