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
ForwardDetectors
ZDC
ZdcConditions
ZdcConditions
ZdcGeometryDB.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZDCGEOMETRYDB_H
6
#define ZDCGEOMETRYDB_H
7
8
#include <nlohmann/json.hpp>
9
#include "
AsgMessaging/AsgMessaging.h
"
10
11
class
IZdcGeometryDB
12
{
13
14
protected
:
15
bool
m_geoLoaded
{};
16
nlohmann::json
m_mainJson
;
17
18
public
:
19
IZdcGeometryDB
(){};
20
21
const
nlohmann::json
&
getDB
()
const
{
return
m_mainJson
;};
22
23
};
24
25
class
ZdcFileGeometryDB
:
public
IZdcGeometryDB
,
asg::AsgMessaging
26
{
27
28
std::string
m_fileStr
;
29
30
public
:
31
ZdcFileGeometryDB
();
32
bool
loadJSONFile
();
33
static
const
IZdcGeometryDB
*
getInstance
();
34
35
};
36
37
class
ZdcGeoDBGeometryDB
:
public
IZdcGeometryDB
,
asg::AsgMessaging
38
{
39
40
public
:
41
ZdcGeoDBGeometryDB
();
42
bool
loadGeoDB
();
43
static
const
IZdcGeometryDB
*
getInstance
();
44
45
};
46
47
48
#endif //ZDCGEOMETRYDB_H
ZdcFileGeometryDB::m_fileStr
std::string m_fileStr
Definition:
ZdcGeometryDB.h:28
IZdcGeometryDB::getDB
const nlohmann::json & getDB() const
Definition:
ZdcGeometryDB.h:21
ZdcGeoDBGeometryDB::getInstance
static const IZdcGeometryDB * getInstance()
Definition:
ZdcGeometryDB.cxx:24
json
nlohmann::json json
Definition:
HistogramDef.cxx:9
ZdcFileGeometryDB::loadJSONFile
bool loadJSONFile()
Definition:
ZdcGeometryDB.cxx:48
IZdcGeometryDB::IZdcGeometryDB
IZdcGeometryDB()
Definition:
ZdcGeometryDB.h:19
ZdcFileGeometryDB::getInstance
static const IZdcGeometryDB * getInstance()
Definition:
ZdcGeometryDB.cxx:18
IZdcGeometryDB
Definition:
ZdcGeometryDB.h:12
IZdcGeometryDB::m_geoLoaded
bool m_geoLoaded
Definition:
ZdcGeometryDB.h:15
AsgMessaging.h
ZdcGeoDBGeometryDB
Definition:
ZdcGeometryDB.h:38
ZdcFileGeometryDB
Definition:
ZdcGeometryDB.h:26
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition:
AsgMessaging.h:40
ZdcFileGeometryDB::ZdcFileGeometryDB
ZdcFileGeometryDB()
Definition:
ZdcGeometryDB.cxx:31
ZdcGeoDBGeometryDB::ZdcGeoDBGeometryDB
ZdcGeoDBGeometryDB()
Definition:
ZdcGeometryDB.cxx:40
IZdcGeometryDB::m_mainJson
nlohmann::json m_mainJson
Definition:
ZdcGeometryDB.h:16
ZdcGeoDBGeometryDB::loadGeoDB
bool loadGeoDB()
Definition:
ZdcGeometryDB.cxx:81
Generated on Mon Mar 17 2025 21:23:45 for ATLAS Offline Software by
1.8.18