Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
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
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
y
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Reconstruction
PFlow
PFlowUtils
Root
FEElectronHelper.cxx
Go to the documentation of this file.
1
#include "
PFlowUtils/FEElectronHelper.h
"
2
3
FEElectronHelper::FEElectronHelper
() : AsgMessaging(
"FEElectronHelper"
) {};
4
5
bool
FEElectronHelper::checkElectronLinks
(
const
std::vector <
ElementLink< xAOD::ElectronContainer >
>& FE_ElectronLinks,
const
std::string& qualityString)
const
{
6
7
for
(
const
ElementLink<xAOD::ElectronContainer>
&
ElectronLink
: FE_ElectronLinks){
8
if
(!
ElectronLink
.
isValid
()){
9
ATH_MSG_WARNING
(
"JetPFlowSelectionAlg encountered an invalid electron element link. Skipping. "
);
10
continue
;
11
}
12
13
const
xAOD::Electron
*
electron
= *
ElectronLink
;
14
bool
passElectronID =
false
;
15
bool
gotID =
electron
->passSelection(passElectronID, qualityString);
16
if
(!gotID) {
17
ATH_MSG_WARNING
(
"Could not get Electron ID"
);
18
continue
;
19
}
20
21
if
(
electron
->pt() > 10000 && passElectronID){
22
return
true
;
23
}
24
}
25
return
false
;
26
}
ElectronLink
ElementLink< xAOD::ElectronContainer > ElectronLink
Definition:
BPhysHelper.cxx:23
ElementLink::isValid
bool isValid() const
Test to see if the link can be dereferenced.
FEElectronHelper::FEElectronHelper
FEElectronHelper()
Definition:
FEElectronHelper.cxx:3
ElementLink
ElementLink implementation for ROOT usage.
Definition:
AthLinks/ElementLink.h:123
FEElectronHelper::checkElectronLinks
bool checkElectronLinks(const std::vector< ElementLink< xAOD::ElectronContainer > > &FE_ElectronLinks, const std::string &qualityString) const
Definition:
FEElectronHelper.cxx:5
xAOD::Electron_v1
Definition:
Electron_v1.h:34
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition:
AthMsgStreamMacros.h:32
xAOD::EgammaParameters::electron
@ electron
Definition:
EgammaEnums.h:18
FEElectronHelper.h
Generated on Wed Apr 9 2025 21:10:51 for ATLAS Offline Software by
1.8.18