ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConditions
MuonCondGeneral
MuonCondAlg
src
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
16
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
17
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
18
#include "
MuonCondData/TgcCondDbData.h
"
19
#include "
CxxUtils/StringUtils.h
"
20
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
21
#include "
StoreGate/ReadCondHandleKey.h
"
22
#include "
StoreGate/WriteCondHandleKey.h
"
23
24
25
namespace
Muon
{
26
class
TgcCondDbAlg
:
public
AthCondAlgorithm
{
27
public
:
28
using
AthCondAlgorithm::AthCondAlgorithm;
29
virtual
~TgcCondDbAlg
() =
default
;
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
32
33
private
:
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
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...
StringUtils.h
IMuonIdHelperSvc.h
ReadCondHandleKey.h
TgcCondDbData.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
Muon::TgcCondDbAlg
Definition
TgcCondDbAlg.h:26
Muon::TgcCondDbAlg::initialize
virtual StatusCode initialize() override
Definition
TgcCondDbAlg.cxx:12
Muon::TgcCondDbAlg::~TgcCondDbAlg
virtual ~TgcCondDbAlg()=default
Muon::TgcCondDbAlg::parseDataFromJSON
StatusCode parseDataFromJSON(const nlohmann::json &lines, TgcCondDbData &deadChannels) const
Load the detector status from cool.
Definition
TgcCondDbAlg.cxx:70
Muon::TgcCondDbAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TgcCondDbAlg.h:41
Muon::TgcCondDbAlg::m_writeKey
SG::WriteCondHandleKey< TgcCondDbData > m_writeKey
Definition
TgcCondDbAlg.h:43
Muon::TgcCondDbAlg::m_readFromJSON
Gaudi::Property< std::string > m_readFromJSON
Load the detector status from a JSON file.
Definition
TgcCondDbAlg.h:39
Muon::TgcCondDbAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TgcCondDbAlg.cxx:29
Muon::TgcCondDbAlg::m_readKeyDb
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyDb
Definition
TgcCondDbAlg.h:44
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
TgcCondDbData
Conditions object to mark switched-off Tgc gasGaps.
Definition
TgcCondDbData.h:20
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0