Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoParticleFlow
PFClusterProducer
plugins
SimMappers
GenericSimClusterMapper.h
Go to the documentation of this file.
1
#ifndef __RecoParticleFlow_PFClusterProducer_GenericSimClusterMapper_H__
2
#define __RecoParticleFlow_PFClusterProducer_GenericSimClusterMapper_H__
3
4
#include "
RecoParticleFlow/PFClusterProducer/interface/InitialClusteringStepBase.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h
"
6
7
#include "
SimDataFormats/CaloAnalysis/interface/SimClusterFwd.h
"
8
9
class
GenericSimClusterMapper
:
public
InitialClusteringStepBase
{
10
typedef
GenericSimClusterMapper
B2DGT
;
11
12
public
:
13
GenericSimClusterMapper
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes)
14
:
InitialClusteringStepBase
(conf, sumes) {
15
_simClusterToken
= sumes.
consumes
<
SimClusterCollection
>(conf.
getParameter
<
edm::InputTag
>(
"simClusterSrc"
));
16
}
17
~GenericSimClusterMapper
()
override
=
default
;
18
GenericSimClusterMapper
(
const
B2DGT
&) =
delete
;
19
B2DGT
&
operator=
(
const
B2DGT
&) =
delete
;
20
21
void
updateEvent
(
const
edm::Event
&)
final
;
22
23
void
buildClusters
(
const
edm::Handle<reco::PFRecHitCollection>
&,
24
const
std::vector<bool>&,
25
const
std::vector<bool>&,
26
reco::PFClusterCollection
&)
override
;
27
28
private
:
29
edm::EDGetTokenT<SimClusterCollection>
_simClusterToken
;
30
edm::Handle<SimClusterCollection>
_simClusterH
;
31
};
32
33
DEFINE_EDM_PLUGIN
(
InitialClusteringStepFactory
,
GenericSimClusterMapper
,
"GenericSimClusterMapper"
);
34
35
#endif
GenericSimClusterMapper
Definition:
GenericSimClusterMapper.h:9
reco::PFClusterCollection
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition:
PFClusterFwd.h:9
SimClusterCollection
std::vector< SimCluster > SimClusterCollection
Definition:
SimClusterFwd.h:8
InitialClusteringStepBase.h
GenericSimClusterMapper::operator=
B2DGT & operator=(const B2DGT &)=delete
GenericSimClusterMapper::B2DGT
GenericSimClusterMapper B2DGT
Definition:
GenericSimClusterMapper.h:10
edm::EDGetTokenT< SimClusterCollection >
GenericSimClusterMapper::GenericSimClusterMapper
GenericSimClusterMapper(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
GenericSimClusterMapper.h:13
edm::Handle< reco::PFRecHitCollection >
GenericSimClusterMapper::updateEvent
void updateEvent(const edm::Event &) final
Definition:
GenericSimClusterMapper.cc:21
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition:
ConsumesCollector.h:55
GenericSimClusterMapper::_simClusterH
edm::Handle< SimClusterCollection > _simClusterH
Definition:
GenericSimClusterMapper.h:30
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
GenericSimClusterMapper::_simClusterToken
edm::EDGetTokenT< SimClusterCollection > _simClusterToken
Definition:
GenericSimClusterMapper.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
InitialClusteringStepBase
Definition:
InitialClusteringStepBase.h:24
GenericSimClusterMapper::buildClusters
void buildClusters(const edm::Handle< reco::PFRecHitCollection > &, const std::vector< bool > &, const std::vector< bool > &, reco::PFClusterCollection &) override
Definition:
GenericSimClusterMapper.cc:23
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
SimClusterFwd.h
PFRecHitFraction.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
GenericSimClusterMapper::~GenericSimClusterMapper
~GenericSimClusterMapper() override=default
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16