ATLAS Offline Software
ZdcLucrodMapRun3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ZDCLUCRODMAPRUN3_H
6 #define ZDCLUCRODMAPRUN3_H
7 
8 #include <nlohmann/json.hpp>
9 #include <iostream>
11 
13 {
14 
15 private:
16  std::vector<nlohmann::json> m_lucrodInfo;
18 
19 public:
21 
22  static const ZdcLucrodMapRun3* getInstance();
23  const nlohmann::json& getLucrod(int i) const
24  {
25  ATH_MSG_DEBUG("getting LUCROD info for " << i);
26  return m_lucrodInfo.at(i);
27  }
28 
29 };
30 
31 #endif //ZDCLUCRODMAPRUN3_H
ZdcLucrodMapRun3::m_mainJson
nlohmann::json m_mainJson
Definition: ZdcLucrodMapRun3.h:17
ZdcLucrodMapRun3
Definition: ZdcLucrodMapRun3.h:13
json
nlohmann::json json
Definition: HistogramDef.cxx:9
ZdcLucrodMapRun3::ZdcLucrodMapRun3
ZdcLucrodMapRun3()
Definition: ZdcLucrodMapRun3.cxx:17
ZdcLucrodMapRun3::getLucrod
const nlohmann::json & getLucrod(int i) const
Definition: ZdcLucrodMapRun3.h:23
AsgMessaging.h
lumiFormat.i
int i
Definition: lumiFormat.py:92
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
ZdcLucrodMapRun3::m_lucrodInfo
std::vector< nlohmann::json > m_lucrodInfo
Definition: ZdcLucrodMapRun3.h:16
ZdcLucrodMapRun3::getInstance
static const ZdcLucrodMapRun3 * getInstance()
Definition: ZdcLucrodMapRun3.cxx:10