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
w
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
Control
RootUtils
src
pyroot
Utility.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4
*/
13
#ifndef ROOTUTILS_UTILITY_H
14
#define ROOTUTILS_UTILITY_H
15
16
17
#include "Python.h"
18
#include "TPython.h"
19
#include "TClass.h"
20
21
22
#include "CPyCppyy/PyException.h"
23
namespace
RootUtils
{
24
using
PyException
=
CPyCppyy::PyException
;
25
}
26
27
28
29
namespace
RootUtils
{
30
31
32
int
GetBuffer
(
PyObject
* pyobject,
char
tc,
int
size
,
void
*& buf, Bool_t
check
= kTRUE );
33
TClass*
objectIsA
(
PyObject
*
obj
);
34
bool
setOwnership
(
PyObject
*
obj
,
bool
flag
);
35
36
37
}
38
39
40
#endif // not ROOTUTILS_UTILITY_H
RootUtils::PyException
CPyCppyy::PyException PyException
Definition:
Utility.h:24
RootUtils
Definition:
ILogger.h:20
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
RootUtils::objectIsA
TClass * objectIsA(PyObject *obj)
Definition:
Utility.cxx:103
master.flag
bool flag
Definition:
master.py:29
LArNewCalib_Delay_OFC_Cali.check
check
Definition:
LArNewCalib_Delay_OFC_Cali.py:289
RootUtils::setOwnership
bool setOwnership(PyObject *obj, bool flag)
Definition:
Utility.cxx:141
RootUtils::GetBuffer
int GetBuffer(PyObject *pyobject, char tc, int size, void *&buf, Bool_t check)
Definition:
Utility.cxx:26
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
PyObject
_object PyObject
Definition:
IPyComponent.h:26
Generated on Tue May 20 2025 21:22:47 for ATLAS Offline Software by
1.8.18