ATLAS Offline Software
Loading...
Searching...
No Matches
MmCTPCondDbAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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
18public:
19 //No need for individual constructor
20 using AthCondAlgorithm::AthCondAlgorithm ;
21 virtual ~MmCTPCondDbAlg() = default;
22 virtual StatusCode initialize() override final;
23 virtual StatusCode execute(const EventContext& ctx) const override final;
24
27 Gaudi::Property<std::string> m_readFromJSON{this, "readFromJSON", "" };
28 StatusCode parseDataFromJSON(const nlohmann::json& lines,
29 Muon::mmCTPClusterCalibData& ctpClusterCondData) const;
30
31 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32
33
34
35 SG::WriteCondHandleKey<Muon::mmCTPClusterCalibData> m_writeKey{this, "WriteKey", "mmCTPClusterCalibData", "Key of the CTP slope data in the CondStore"};
36 SG::ReadCondHandleKey<CondAttrListCollection> m_readKeyDb{this, "ReadKey", "", "Folder of the MM CTP corrections as they are stored in COOL"};
37
38
39};
40
41#endif
42
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.
Gaudi::Property< std::string > m_readFromJSON
Parse data from COOL.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
virtual StatusCode execute(const EventContext &ctx) const override final
SG::WriteCondHandleKey< Muon::mmCTPClusterCalibData > m_writeKey
virtual ~MmCTPCondDbAlg()=default
virtual StatusCode initialize() override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode parseDataFromJSON(const nlohmann::json &lines, Muon::mmCTPClusterCalibData &ctpClusterCondData) const
Support class for PropertyMgr.
Definition Property.h:23
=============================================================================
STL namespace.
#define private