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
DataQuality
HanConfigGenerator
src
addnode.cxx
Go to the documentation of this file.
1
//
2
// @file addnode.cxx
3
//
4
//
5
// @author M.Sutton
6
//
7
//
8
//
9
// $Id: addnode.cxx, v0.0 Thu 21 Apr 2016 20:31:53 CEST sutt $
10
11
12
#include "
addnode.h
"
13
#include "
spacer.h
"
14
17
node
*
subnode
(
node
*
np
,
const
std::string&
name
) {
18
if
(
np
==0 )
return
0;
19
for
(
unsigned
i
=
np
->size() ;
i
-- ; )
if
(
np
->at(
i
)->name()==
name
)
return
np
->at(
i
);
20
return
0;
21
}
22
25
node
*
addnode
(
node
*
np
,
const
std::string&
name
, TObject* td,
node::TYPE
t
) {
26
27
node
* np_ =
subnode
(
np
,
name
);
28
29
if
( np_ )
return
np_;
30
31
np_ =
new
node
(
np
,
np
->depth()+
spacer
, td );
32
np_->
name
(
name
);
33
np_->
type
(
t
);
34
35
np
->push_back( np_ );
36
37
return
np_;
38
}
node::type
void type(TYPE t)
Definition:
node.h:48
addnode.h
addnode
node * addnode(node *np, const std::string &name, TObject *td, node::TYPE t)
add a submode with a specific name, or return the existing node if one already exists
Definition:
addnode.cxx:25
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
PlotPulseshapeFromCool.np
np
Definition:
PlotPulseshapeFromCool.py:64
subnode
node * subnode(node *np, const std::string &name)
check whether a subnode with this name already exists
Definition:
addnode.cxx:17
spacer
const std::string spacer
Definition:
spacer.h:24
lumiFormat.i
int i
Definition:
lumiFormat.py:85
spacer.h
PyPoolBrowser.node
node
Definition:
PyPoolBrowser.py:131
node::name
void name(const std::string &n)
Definition:
node.h:37
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
node::TYPE
TYPE
Definition:
node.h:25
node
Definition:
node.h:21
Generated on Mon Mar 31 2025 21:06:54 for ATLAS Offline Software by
1.8.18