ATLAS Offline Software
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>
11 
13 {
14 
15 private:
17  std::string m_geoStr;
18 
19 public:
20  ZdcGeometryDB();
21 
22  static const ZdcGeometryDB* getInstance();
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