ATLAS Offline Software
Loading...
Searching...
No Matches
MdtAsBuiltJsonDumpAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MuonCondDump_MdtAsBuiltJsonDumpAlg_H
5#define MuonCondDump_MdtAsBuiltJsonDumpAlg_H
6
7/*
8 * Algorithm to dump the A & B line container content into a JSON file
9*/
10
15
16
18public:
19 MdtAsBuiltJsonDumpAlg(const std::string& name, ISvcLocator* pSvcLocator);
20 virtual ~MdtAsBuiltJsonDumpAlg() = default;
21 virtual StatusCode initialize() override;
22 virtual StatusCode execute() override;
23 virtual unsigned int cardinality() const override final{return 1;}
24
25private:
26 SG::ReadCondHandleKey<MdtAsBuiltContainer> m_readKey{this, "ReadKey", "MdtAsBuiltContainer", "Key of input muon alignment ALine condition data"};
27
28 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
29
30
31 Gaudi::Property<std::string> m_jsonFile{this, "OutFile", "MdtAsBuiltFile.txt", "Path of the file to dump the alignment constants"};
32
33};
34#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< std::string > m_jsonFile
virtual unsigned int cardinality() const override final
virtual StatusCode execute() override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< MdtAsBuiltContainer > m_readKey
virtual ~MdtAsBuiltJsonDumpAlg()=default
MdtAsBuiltJsonDumpAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override