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
Basic2DGenericTopoClusterizer.h
Go to the documentation of this file.
1
#ifndef __Basic2DGenericTopoClusterizer_H__
2
#define __Basic2DGenericTopoClusterizer_H__
3
4
#include "
RecoParticleFlow/PFClusterProducer/interface/InitialClusteringStepBase.h
"
5
#include "
DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h
"
6
7
class
Basic2DGenericTopoClusterizer
:
public
InitialClusteringStepBase
{
8
typedef
Basic2DGenericTopoClusterizer
B2DGT
;
9
10
public
:
11
Basic2DGenericTopoClusterizer
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
& sumes)
12
:
InitialClusteringStepBase
(conf, sumes),
_useCornerCells
(conf.getParameter<
bool
>(
"useCornerCells"
)) {}
13
~Basic2DGenericTopoClusterizer
()
override
=
default
;
14
Basic2DGenericTopoClusterizer
(
const
B2DGT
&) =
delete
;
15
B2DGT
&
operator=
(
const
B2DGT
&) =
delete
;
16
17
void
buildClusters
(
const
edm::Handle<reco::PFRecHitCollection>
&,
18
const
std::vector<bool>&,
19
const
std::vector<bool>&,
20
reco::PFClusterCollection
&)
override
;
21
22
private
:
23
const
bool
_useCornerCells
;
24
void
buildTopoCluster
(
const
edm::Handle<reco::PFRecHitCollection>
&,
25
const
std::vector<bool>&,
// masked rechits
26
unsigned
int
,
//present rechit
27
std::vector<bool>&,
// hit usage state
28
reco::PFCluster
&);
// the topocluster
29
};
30
31
DEFINE_EDM_PLUGIN
(
InitialClusteringStepFactory
,
Basic2DGenericTopoClusterizer
,
"Basic2DGenericTopoClusterizer"
);
32
33
#endif
reco::PFClusterCollection
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition:
PFClusterFwd.h:9
electrons_cff.bool
bool
Definition:
electrons_cff.py:366
Basic2DGenericTopoClusterizer::operator=
B2DGT & operator=(const B2DGT &)=delete
InitialClusteringStepBase.h
Basic2DGenericTopoClusterizer
Definition:
Basic2DGenericTopoClusterizer.h:7
Basic2DGenericTopoClusterizer::buildTopoCluster
void buildTopoCluster(const edm::Handle< reco::PFRecHitCollection > &, const std::vector< bool > &, unsigned int, std::vector< bool > &, reco::PFCluster &)
Definition:
Basic2DGenericTopoClusterizer.cc:46
Basic2DGenericTopoClusterizer::Basic2DGenericTopoClusterizer
Basic2DGenericTopoClusterizer(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition:
Basic2DGenericTopoClusterizer.h:11
edm::Handle< reco::PFRecHitCollection >
Basic2DGenericTopoClusterizer::_useCornerCells
const bool _useCornerCells
Definition:
Basic2DGenericTopoClusterizer.h:23
Basic2DGenericTopoClusterizer::B2DGT
Basic2DGenericTopoClusterizer B2DGT
Definition:
Basic2DGenericTopoClusterizer.h:8
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
edm::ParameterSet
Definition:
ParameterSet.h:47
InitialClusteringStepBase
Definition:
InitialClusteringStepBase.h:24
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
PFRecHitFraction.h
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition:
PFCluster.h:42
Basic2DGenericTopoClusterizer::~Basic2DGenericTopoClusterizer
~Basic2DGenericTopoClusterizer() override=default
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Basic2DGenericTopoClusterizer::buildClusters
void buildClusters(const edm::Handle< reco::PFRecHitCollection > &, const std::vector< bool > &, const std::vector< bool > &, reco::PFClusterCollection &) override
Definition:
Basic2DGenericTopoClusterizer.cc:16
Generated for CMSSW Reference Manual by
1.8.16