ATLAS Offline Software
Loading...
Searching...
No Matches
TgcCondDbAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCONDALG_TGCCONDDBALG_H
6#define MUONCONDALG_TGCCONDDBALG_H
7
8// STL includes
9#include <zlib.h>
10
11
12// Gaudi includes
13#include <nlohmann/json.hpp>
14
15// Athena includes
23
24
25namespace Muon{
27public:
28 using AthCondAlgorithm::AthCondAlgorithm;
29 virtual ~TgcCondDbAlg() = default;
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext& ctx) const override;
32
33private:
35 StatusCode parseDataFromJSON(const nlohmann::json& lines,
36 TgcCondDbData& deadChannels) const;
37
39 Gaudi::Property<std::string> m_readFromJSON{this, "readFromJSON", "" };
40
41 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
42
43 SG::WriteCondHandleKey<TgcCondDbData> m_writeKey{this, "WriteKey", "TgcCondDbData", "Key of output TGC condition data"};
44 SG::ReadCondHandleKey<CondAttrListCollection> m_readKeyDb{this, "ReadKey", "", "Key of input TGC condition data"};
45};
46}
47#endif
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
virtual StatusCode initialize() override
virtual ~TgcCondDbAlg()=default
StatusCode parseDataFromJSON(const nlohmann::json &lines, TgcCondDbData &deadChannels) const
Load the detector status from cool.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteCondHandleKey< TgcCondDbData > m_writeKey
Gaudi::Property< std::string > m_readFromJSON
Load the detector status from a JSON file.
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
Conditions object to mark switched-off Tgc gasGaps.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.