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
n
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
c
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
src
RecoEgamma
EgammaElectronAlgos
interface
EgAmbiguityTools.h
Go to the documentation of this file.
1
#ifndef EgAmbiguityTools_H
2
#define EgAmbiguityTools_H
3
4
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
5
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
6
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
7
#include "
DataFormats/GsfTrackReco/interface/GsfTrackFwd.h
"
8
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
9
10
namespace
egamma
{
11
// for clusters
12
float
sharedEnergy
(
reco::CaloCluster
const
& clu1,
13
reco::CaloCluster
const
& clu2,
14
EcalRecHitCollection
const
&
barrelRecHits
,
15
EcalRecHitCollection
const
&
endcapRecHits
);
16
float
sharedEnergy
(
reco::SuperClusterRef
const
& sc1,
17
reco::SuperClusterRef
const
& sc2,
18
EcalRecHitCollection
const
&
barrelRecHits
,
19
EcalRecHitCollection
const
&
endcapRecHits
);
20
21
// for tracks
22
int
sharedHits
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
&);
23
int
sharedDets
(
reco::GsfTrackRef
const
&,
reco::GsfTrackRef
const
&);
24
25
// electrons comparison
26
bool
isBetterElectron
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
&);
27
bool
isInnermostElectron
(
reco::GsfElectron
const
&,
reco::GsfElectron
const
&);
28
29
}
// namespace egamma
30
31
#endif
edm::SortedCollection< EcalRecHit >
reco::GsfElectron
Definition:
GsfElectron.h:36
edm::Ref< SuperClusterCollection >
EcalRecHitCollections.h
egamma::sharedDets
int sharedDets(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:95
egamma::isBetterElectron
bool isBetterElectron(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:16
egamma::isInnermostElectron
bool isInnermostElectron(reco::GsfElectron const &, reco::GsfElectron const &)
Definition:
EgAmbiguityTools.cc:20
SuperClusterFwd.h
CaloClusterFwd.h
HLT_2024v12_cff.barrelRecHits
barrelRecHits
Definition:
HLT_2024v12_cff.py:16328
reco::CaloCluster
Definition:
CaloCluster.h:31
HLT_2024v12_cff.endcapRecHits
endcapRecHits
Definition:
HLT_2024v12_cff.py:16329
egamma
GsfElectronFwd.h
egamma::sharedEnergy
float sharedEnergy(reco::CaloCluster const &clu1, reco::CaloCluster const &clu2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits)
Definition:
EgAmbiguityTools.cc:140
GsfTrackFwd.h
egamma::sharedHits
int sharedHits(reco::GsfTrackRef const &, reco::GsfTrackRef const &)
Definition:
EgAmbiguityTools.cc:48
Generated for CMSSW Reference Manual by
1.8.14