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
PhysicsAnalysis
PyAnalysis
PyAnalysisExamples
PyAnalysisExamples
MyCutClass.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PYANALYSISEXAMPLES_MYCUTCLASS_H
6
#define PYANALYSISEXAMPLES_MYCUTCLASS_H
7
8
#include "GaudiKernel/MsgStream.h"
9
#include "
AthenaKernel/getMessageSvc.h
"
10
11
#include "
egammaEvent/Electron.h
"
12
13
namespace
AthPyEx
{
14
15
class
MyCutClass
16
{
17
public
:
18
MyCutClass
(
double
thr) :
m_Thr
(thr) {}
19
virtual
~MyCutClass
() {}
20
21
bool
isAccepted
(
const
Analysis::Electron
&
e
)
22
{
23
MsgStream
log
(
Athena::getMessageSvc
(),
"MyCutClass"
);
24
log
<<
MSG::DEBUG
<<
e
.pt() <<
endmsg
;
25
if
(
e
.pt() >
m_Thr
)
return
true
;
26
return
false
;
27
}
28
29
private
:
30
double
m_Thr
;
31
};
32
33
}
// namespace AthPyEx
34
35
#endif
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
AthPyEx
Definition:
MyCutClass.h:13
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
Analysis::Electron
Definition:
Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
AthPyEx::MyCutClass::m_Thr
double m_Thr
Definition:
MyCutClass.h:30
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition:
getMessageSvc.cxx:20
AthPyEx::MyCutClass::~MyCutClass
virtual ~MyCutClass()
Definition:
MyCutClass.h:19
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
AthPyEx::MyCutClass
Definition:
MyCutClass.h:16
AthPyEx::MyCutClass::MyCutClass
MyCutClass(double thr)
Definition:
MyCutClass.h:18
Electron.h
AthPyEx::MyCutClass::isAccepted
bool isAccepted(const Analysis::Electron &e)
Definition:
MyCutClass.h:21
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
Generated on Thu Apr 10 2025 21:15:50 for ATLAS Offline Software by
1.8.18