4#ifndef MUONCONDSVC_MUONALIGNMENTERRORDBALG_H
5#define MUONCONDSVC_MUONALIGNMENTERRORDBALG_H
7#include <GaudiKernel/EventIDRange.h>
13#include <Identifier/Identifier.h>
14#include <unordered_map>
25 using AthCondAlgorithm::AthCondAlgorithm;
29 StatusCode
execute(
const EventContext& ctx)
const override;
32 std::tuple<std::string, EventIDRange>
getDbClobContent(
const EventContext& ctx)
const;
36 "Key of input muon alignment error condition data"};
38 "Key of output muon alignment error condition data"};
40 "Set this to the location of a CLOB file to override the DB setting"};
42 ToolHandle<MuonCalib::IIdToFixedIdTool>
m_idTool{
this,
"idTool",
"MuonCalib::IdToFixedIdTool"};
53 std::vector<MuonAlignmentErrorData::MuonAlignmentErrorRule>& devVec)
const;
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.
std::string sectorString(MuonCalib::MuonFixedLongId calibId) const
ToolHandle< MuonCalib::IIdToFixedIdTool > m_idTool
SG::WriteCondHandleKey< MuonAlignmentErrorData > m_writeKey
bool isSmallSector(MuonCalib::MuonFixedLongId calibId) const
int sector(MuonCalib::MuonFixedLongId calibId) const
StatusCode initialize() override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
int hardwareEta(MuonCalib::MuonFixedLongId calibId) const
~AlignmentErrorDbAlg() override=default
std::string hardwareName(MuonCalib::MuonFixedLongId calibId) const
std::tuple< std::string, EventIDRange > getDbClobContent(const EventContext &ctx) const
std::tuple< std::string, EventIDRange > getFileClobContent() const
std::string_view side(MuonCalib::MuonFixedLongId calibId) const
void generateMap(const auto &helper_obj, const auto &idTool, MuonAlignmentErrorData::MuonAlignmentErrorRuleCache &adev_new, std::vector< MuonAlignmentErrorData::MuonAlignmentErrorRule > &devVec) const
Gaudi::Property< std::string > m_clobFileOverride
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.