ATLAS Offline Software
Loading...
Searching...
No Matches
RpcToyCablingJsonDumpAlg.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/*
6 * Algorithm to dump the R4-style Rpc cabling maps into a JSON file
7*/
8
9#ifndef MUONCONDDUMP_RPCCABLINGJSONDUMPALG_H
10#define MUONCONDDUMP_RPCCABLINGJSONDUMPALG_H
11
12
16
21
22
23namespace Muon {
25 public:
27 virtual ~RpcToyCablingJsonDumpAlg() = default;
28 virtual StatusCode initialize() override;
29 virtual StatusCode execute() override;
30 virtual unsigned int cardinality() const override final{return 1;}
31
32 private:
33 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
34
36
37 Gaudi::Property<std::string> m_cablingJSON{this, "OutCablingJSON", "RpcCabling.json", "Cabling JSON"};
38
39 int m_BIL_stIdx{9999};
40 int m_BIS_stIdx{9999};
41 };
42}
43#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~RpcToyCablingJsonDumpAlg()=default
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< std::string > m_cablingJSON
virtual unsigned int cardinality() const override final
virtual StatusCode initialize() override
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const MuonGMR4::MuonDetectorManager * m_detMgr
virtual StatusCode execute() override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.