ATLAS Offline Software
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 
23 namespace 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
Muon::RpcToyCablingJsonDumpAlg::initialize
virtual StatusCode initialize() override
Definition: RpcToyCablingJsonDumpAlg.cxx:14
MuonGMR4::MuonDetectorManager
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
Muon::RpcToyCablingJsonDumpAlg::execute
virtual StatusCode execute() override
Definition: RpcToyCablingJsonDumpAlg.cxx:26
Muon::RpcToyCablingJsonDumpAlg
Definition: RpcToyCablingJsonDumpAlg.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::RpcToyCablingJsonDumpAlg::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition: RpcToyCablingJsonDumpAlg.h:35
AthAlgorithm.h
Muon::RpcToyCablingJsonDumpAlg::cardinality
virtual unsigned int cardinality() const override final
Definition: RpcToyCablingJsonDumpAlg.h:30
Muon::RpcToyCablingJsonDumpAlg::~RpcToyCablingJsonDumpAlg
virtual ~RpcToyCablingJsonDumpAlg()=default
Muon::RpcToyCablingJsonDumpAlg::m_cablingJSON
Gaudi::Property< std::string > m_cablingJSON
Definition: RpcToyCablingJsonDumpAlg.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonDetectorManager.h
Muon::RpcToyCablingJsonDumpAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: RpcToyCablingJsonDumpAlg.h:33
AthAlgorithm
Definition: AthAlgorithm.h:47
Muon::RpcToyCablingJsonDumpAlg::m_BIS_stIdx
int m_BIS_stIdx
Definition: RpcToyCablingJsonDumpAlg.h:40
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
IMuonIdHelperSvc.h
Muon::RpcToyCablingJsonDumpAlg::m_BIL_stIdx
int m_BIL_stIdx
Definition: RpcToyCablingJsonDumpAlg.h:39
ServiceHandle< Muon::IMuonIdHelperSvc >