ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondAlg
src
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
9
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
10
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
#include "
StoreGate/CondHandleKeyArray.h
"
13
#include "
StoreGate/WriteCondHandleKey.h
"
14
#include <nlohmann/json.hpp>
15
#include "
MuonCondData/MmCTPClusterCalibData.h
"
16
17
namespace
Muon
{
18
class
MmCTPCondDbAlg
:
public
AthCondAlgorithm
{
19
public
:
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
26
private
:
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
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CondHandleKeyArray.h
IMuonIdHelperSvc.h
MmCTPClusterCalibData.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
Muon::MmCTPClusterCalibData
Definition
MmCTPClusterCalibData.h:16
Muon::MmCTPCondDbAlg
Definition
MmCTPCondDbAlg.h:18
Muon::MmCTPCondDbAlg::initialize
virtual StatusCode initialize() override final
Definition
MmCTPCondDbAlg.cxx:17
Muon::MmCTPCondDbAlg::parseDataFromJSON
StatusCode parseDataFromJSON(const nlohmann::json &lines, Muon::MmCTPClusterCalibData &ctpClusterCondData) const
Definition
MmCTPCondDbAlg.cxx:85
Muon::MmCTPCondDbAlg::m_writeKey
SG::WriteCondHandleKey< Muon::MmCTPClusterCalibData > m_writeKey
Definition
MmCTPCondDbAlg.h:36
Muon::MmCTPCondDbAlg::~MmCTPCondDbAlg
virtual ~MmCTPCondDbAlg()=default
Muon::MmCTPCondDbAlg::m_readFromJSON
Gaudi::Property< std::string > m_readFromJSON
Parse data from COOL.
Definition
MmCTPCondDbAlg.h:28
Muon::MmCTPCondDbAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MmCTPCondDbAlg.cxx:41
Muon::MmCTPCondDbAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MmCTPCondDbAlg.h:32
Muon::MmCTPCondDbAlg::m_readKeyDb
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
Definition
MmCTPCondDbAlg.h:37
Property
Support class for PropertyMgr.
Definition
Property.h:23
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0