ATLAS Offline Software
Loading...
Searching...
No Matches
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>
10
12{
13
14protected:
16 nlohmann::json m_mainJson;
17
18public:
20
21 const nlohmann::json& getDB() const {return m_mainJson;};
22
23};
24
26{
27
28 std::string m_fileStr;
29
30public:
32 bool loadJSONFile();
33 static const IZdcGeometryDB* getInstance();
34
35};
36
38{
39
40public:
42 bool loadGeoDB();
43 static const IZdcGeometryDB* getInstance();
44
45};
46
47
48#endif //ZDCGEOMETRYDB_H
const nlohmann::json & getDB() const
nlohmann::json m_mainJson
static const IZdcGeometryDB * getInstance()
std::string m_fileStr
static const IZdcGeometryDB * getInstance()
Class mimicking the AthMessaging class from the offline software.