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
RecoLocalCalo
HGCalRecAlgos
interface
HGCalDepthPreClusterer.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HGCalRecAlgos_HGCalDepthPreClusterer
2
#define RecoLocalCalo_HGCalRecAlgos_HGCalDepthPreClusterer
3
4
#include "
DataFormats/Math/interface/Point3D.h
"
5
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
6
#include "
DataFormats/ParticleFlowReco/interface/HGCalMultiCluster.h
"
7
8
#include <list>
9
10
#include "
RecoLocalCalo/HGCalRecAlgos/interface/RecHitTools.h
"
11
#include "
RecoLocalCalo/HGCalRecAlgos/interface/ClusterTools.h
"
12
13
class
HGCalDepthPreClusterer
{
14
public
:
15
HGCalDepthPreClusterer
()
16
:
radii
({
17
0.,
18
0.,
19
0.,
20
}),
21
minClusters
(0),
22
realSpaceCone
(
false
),
23
clusterTools
(
nullptr
) {}
24
25
HGCalDepthPreClusterer
(
const
edm::ParameterSet
& conf,
26
edm::ConsumesCollector
& sumes,
27
std::vector<float> radii_in,
28
uint32_t min_clusters,
29
bool
real_space_cone)
30
:
radii
(radii_in),
31
minClusters
(min_clusters),
32
realSpaceCone
(real_space_cone),
33
clusterTools
(
std
::make_unique<
hgcal
::ClusterTools>(conf, sumes)),
34
caloGeomToken_
(sumes.
esConsumes
<
CaloGeometry
,
CaloGeometryRecord
>()) {}
35
36
void
getEvent
(
const
edm::Event
&
ev
) {
clusterTools
->getEvent(
ev
); }
37
void
getEventSetup
(
const
edm::EventSetup
& es) {
38
clusterTools
->getEventSetup(es);
39
edm::ESHandle<CaloGeometry>
geom
= es.
getHandle
(
caloGeomToken_
);
40
rhtools_
.
setGeometry
(*
geom
);
41
}
42
43
typedef
std::vector<reco::BasicCluster>
ClusterCollection
;
44
// typedef std::vector<reco::BasicCluster> MultiCluster;
45
46
std::vector<reco::HGCalMultiCluster>
makePreClusters
(
const
reco::HGCalMultiCluster::ClusterCollection
&)
const
;
47
48
private
:
49
std::vector<float>
radii
;
50
uint32_t
minClusters
;
51
bool
realSpaceCone
;
53
std::unique_ptr<hgcal::ClusterTools>
clusterTools
;
54
hgcal::RecHitTools
rhtools_
;
55
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
caloGeomToken_
;
56
};
57
58
#endif
hgcal::RecHitTools
Definition:
RecHitTools.h:23
BasicCluster.h
CaloGeometryRecord
Definition:
CaloGeometryRecord.h:30
RecHitTools.h
HGCalMultiCluster.h
HGCalDepthPreClusterer::realSpaceCone
bool realSpaceCone
Definition:
HGCalDepthPreClusterer.h:51
HGCalDepthPreClusterer
Definition:
HGCalDepthPreClusterer.h:13
hgcal
Definition:
EgammaPCAHelper.h:31
HGCalDepthPreClusterer::clusterTools
std::unique_ptr< hgcal::ClusterTools > clusterTools
Definition:
HGCalDepthPreClusterer.h:53
CaloGeometry
Definition:
CaloGeometry.h:21
edm::PtrVector
Definition:
PtrVector.h:36
HGCalDepthPreClusterer::HGCalDepthPreClusterer
HGCalDepthPreClusterer(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes, std::vector< float > radii_in, uint32_t min_clusters, bool real_space_cone)
Definition:
HGCalDepthPreClusterer.h:25
edm::ESHandle< CaloGeometry >
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalDepthPreClusterer::minClusters
uint32_t minClusters
Definition:
HGCalDepthPreClusterer.h:50
HGCalDepthPreClusterer::caloGeomToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
Definition:
HGCalDepthPreClusterer.h:55
HGCalDepthPreClusterer::rhtools_
hgcal::RecHitTools rhtools_
Definition:
HGCalDepthPreClusterer.h:54
HGCalDepthPreClusterer::ClusterCollection
std::vector< reco::BasicCluster > ClusterCollection
Definition:
HGCalDepthPreClusterer.h:43
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition:
EventSetup.h:155
edm::EventSetup
Definition:
EventSetup.h:58
ClusterTools.h
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
HGCalDepthPreClusterer::radii
std::vector< float > radii
Definition:
HGCalDepthPreClusterer.h:49
HGCalDepthPreClusterer::getEvent
void getEvent(const edm::Event &ev)
Definition:
HGCalDepthPreClusterer.h:36
std
Definition:
JetResolutionObject.h:76
HGCalDepthPreClusterer::getEventSetup
void getEventSetup(const edm::EventSetup &es)
Definition:
HGCalDepthPreClusterer.h:37
HGCalDepthPreClusterer::HGCalDepthPreClusterer
HGCalDepthPreClusterer()
Definition:
HGCalDepthPreClusterer.h:15
hgcal::RecHitTools::setGeometry
void setGeometry(CaloGeometry const &)
Definition:
RecHitTools.cc:68
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
Point3D.h
HGCalDepthPreClusterer::makePreClusters
std::vector< reco::HGCalMultiCluster > makePreClusters(const reco::HGCalMultiCluster::ClusterCollection &) const
Definition:
HGCalDepthPreClusterer.cc:33
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16