ATLAS Offline Software
Loading...
Searching...
No Matches
MmCTPCondDbAlg.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_MmCTPCondDbAlg_H
6#define MUONCONDALG_MmCTPCondDbAlg_H
7
8// Athena includes
14#include <nlohmann/json.hpp>
16
17namespace Muon{
19public:
20 //No need for individual constructor
21 using AthCondAlgorithm::AthCondAlgorithm ;
22 virtual ~MmCTPCondDbAlg() = default;
23 virtual StatusCode initialize() override final;
24 virtual StatusCode execute(const EventContext& ctx) const override final;
25
28 Gaudi::Property<std::string> m_readFromJSON{this, "readFromJSON", "" };
29 StatusCode parseDataFromJSON(const nlohmann::json& lines,
30 Muon::MmCTPClusterCalibData& ctpClusterCondData) const;
31
32 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33
34
35
36 SG::WriteCondHandleKey<Muon::MmCTPClusterCalibData> m_writeKey{this, "WriteKey", "MmCTPClusterCalibData", "Key of the CTP slope data in the CondStore"};
37 SG::ReadCondHandleKey<CondAttrListCollection> m_readKeyDb{this, "ReadKey", "", "Folder of the MM CTP corrections as they are stored in COOL"};
38
39
40};
41}
42#endif
43
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 final
StatusCode parseDataFromJSON(const nlohmann::json &lines, Muon::MmCTPClusterCalibData &ctpClusterCondData) const
SG::WriteCondHandleKey< Muon::MmCTPClusterCalibData > m_writeKey
virtual ~MmCTPCondDbAlg()=default
Gaudi::Property< std::string > m_readFromJSON
Parse data from COOL.
virtual StatusCode execute(const EventContext &ctx) const override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.
#define private