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
Control
AthenaKernel
AthenaKernel
TopBase.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-2020 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef ATHENAKERNEL_TOPBASE_H
14
#define ATHENAKERNEL_TOPBASE_H
15
16
17
#include "
AthenaKernel/BaseInfo.h
"
18
#include <type_traits>
19
20
21
namespace
SG
{
22
23
36
template
<
class
T>
37
struct
TopBase
38
{
39
typedef
typename
SG::Bases<T>::bases::Base1
Base1
;
40
static
const
bool
has_base
= !
std::is_same<Base1, SG::NoBase>::value
;
41
typedef
typename
std::conditional<
has_base
,
42
typename
TopBase<Base1>::type
,
43
T>
::type
type
;
44
};
45
46
47
template
<>
48
struct
TopBase
<
SG
::
NoBase
>
49
{
50
typedef
SG::NoBase
type
;
51
};
52
53
54
}
// namespace SG
55
56
57
#endif // not ATHENAKERNEL_TOPBASE_H
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::TopBase::has_base
static const bool has_base
Definition:
TopBase.h:40
SG::TopBase::Base1
SG::Bases< T >::bases::Base1 Base1
Definition:
TopBase.h:39
athena.value
value
Definition:
athena.py:124
SG::TopBase::type
std::conditional< has_base, typename TopBase< Base1 >::type, T >::type type
Definition:
TopBase.h:43
SG::TopBase
Calculate topmost base accessible via SG_BASES.
Definition:
TopBase.h:38
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG::NoBase
Marker to indicate a nonexistent base class.
Definition:
Bases.h:68
SG::TopBase< SG::NoBase >::type
SG::NoBase type
Definition:
TopBase.h:50
Generated on Fri May 2 2025 21:19:17 for ATLAS Offline Software by
1.8.18