ATLAS Offline Software
Loading...
Searching...
No Matches
MdtToyCablingJsonDumpAlg.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 Mdt cabling maps into a JSON file
7*/
8
9#ifndef MUONCONDDUMP_MDTCABLINGJSONDUMPALG_H
10#define MUONCONDDUMP_MDTCABLINGJSONDUMPALG_H
11
12
16
20
21
23public:
24 MdtToyCablingJsonDumpAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~MdtToyCablingJsonDumpAlg() = default;
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute() override;
28 virtual unsigned int cardinality() const override final{return 1;}
29
30private:
31 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32
34
35 Gaudi::Property<std::string> m_cablingJSON{this, "OutCablingJSON", "MdtCabling.json", "Cabling JSON"};
36
37 Gaudi::Property<std::string> m_mezzanineJSON{this, "OutMezzanineJSON", "MdtMezzanine.json", "Cabling JSON"};
38
39
40};
41
42#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual unsigned int cardinality() const override final
const MuonGMR4::MuonDetectorManager * m_detMgr
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual ~MdtToyCablingJsonDumpAlg()=default
Gaudi::Property< std::string > m_mezzanineJSON
Gaudi::Property< std::string > m_cablingJSON
MdtToyCablingJsonDumpAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode execute() override