ATLAS Offline Software
Loading...
Searching...
No Matches
TgcDigitJitterCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCONDALG_TGCDIGITJITTERCONDALG_H
6#define MUONCONDALG_TGCDIGITJITTERCONDALG_H
7
8// Gaudi includes
9#include <nlohmann/json.hpp>
10
11// Athena includes
17
18
19namespace Muon{
21public:
22 using AthCondAlgorithm::AthCondAlgorithm;
23 virtual ~TgcDigitJitterCondAlg() = default;
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute(const EventContext& ctx) const override;
26
27private:
29 StatusCode parseDataFromJSON(const nlohmann::json& lines,
30 TgcDigitJitterData& jitterChannels) const;
31
33 Gaudi::Property<std::string> m_readFromJSON{this, "readFromJSON", "" };
34
35 SG::WriteCondHandleKey<TgcDigitJitterData> m_writeKey{this, "WriteKey", "TgcJitterData", "Key of output TGC condition data"};
36 SG::ReadCondHandleKey<CondAttrListCollection> m_readKeyDb{this, "ReadKey", "", "Key of input TGC condition data"};
37};
38}
39
40#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.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
SG::WriteCondHandleKey< TgcDigitJitterData > m_writeKey
virtual StatusCode initialize() override
StatusCode parseDataFromJSON(const nlohmann::json &lines, TgcDigitJitterData &jitterChannels) const
Load the Jitter constants from the JSON format.
Gaudi::Property< std::string > m_readFromJSON
Use an external JSON file to load the Jitter constants from.
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~TgcDigitJitterCondAlg()=default
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.