9#ifndef MUONCONDDUMP_MDTCONDJSONDUMPALG_H
10#define MUONCONDDUMP_MDTCONDJSONDUMPALG_H
23 virtual StatusCode
execute()
override;
31 bool dumpMultiLayer =
false,
32 bool dumpLayer =
false,
33 bool dumpTube =
false)
const;
40 bool trailingComma)
const;
46 Gaudi::Property<std::string>
m_deadChannelJSON{
this,
"DeadChannelJSON",
"DeadChannels.json",
"Json file to dump all dead channels"};
47 Gaudi::Property<std::string>
m_dcsJSON{
this,
"DcsVoltJSON",
"DcsVoltage.json",
"Dump all DCS values into a JSON"};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< std::string > m_dcsJSON
void dumpDeadChannels(const std::set< Identifier > &channels, std::ostream &ostr, bool dumpMultiLayer=false, bool dumpLayer=false, bool dumpTube=false) const
Dumps all channels into a JSON format.
virtual StatusCode execute() override
void dumpIdentifier(const Identifier &id, std::ostream &ostr, bool dumpMultiLayer, bool dumpLayer, bool dumpTube, bool trailingComma) const
Dumps the Identifier into a json format.
virtual ~MdtCondJsonDumpAlg()=default
SG::ReadCondHandleKey< MdtCondDbData > m_readKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual unsigned int cardinality() const override final
Gaudi::Property< std::string > m_deadChannelJSON
MdtCondJsonDumpAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override