ATLAS Offline Software
ForwardDetectors
ZDC
ZdcConditions
ZdcConditions
ZdcGeometryDB.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 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 <iostream>
10
#include "
AsgMessaging/AsgMessaging.h
"
11
12
class
ZdcGeometryDB
:
public
asg::AsgMessaging
13
{
14
15
private
:
16
nlohmann::json
m_mainJson
;
17
std::string
m_geoStr
;
18
19
public
:
20
ZdcGeometryDB
();
21
22
static
const
ZdcGeometryDB
*
getInstance
();
23
const
nlohmann::json
&
getDB
();
24
void
loadJSONFile
(
const
std::string& geoStr=
"ZDCgeom_Run3.json"
);
25
26
};
27
28
#endif //ZDCGEOMETRYDB_H
ZdcGeometryDB::getDB
const nlohmann::json & getDB()
json
nlohmann::json json
Definition:
HistogramDef.cxx:9
ZdcGeometryDB::m_geoStr
std::string m_geoStr
Definition:
ZdcGeometryDB.h:17
ZdcGeometryDB
Definition:
ZdcGeometryDB.h:13
AsgMessaging.h
ZdcGeometryDB::getInstance
static const ZdcGeometryDB * getInstance()
Definition:
ZdcGeometryDB.cxx:10
ZdcGeometryDB::m_mainJson
nlohmann::json m_mainJson
Definition:
ZdcGeometryDB.h:16
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition:
AsgMessaging.h:40
ZdcGeometryDB::ZdcGeometryDB
ZdcGeometryDB()
Definition:
ZdcGeometryDB.cxx:17
ZdcGeometryDB::loadJSONFile
void loadJSONFile(const std::string &geoStr="ZDCgeom_Run3.json")
Definition:
ZdcGeometryDB.cxx:26
Generated on Thu Jul 4 2024 21:33:19 for ATLAS Offline Software by
1.8.18