9#ifndef MUONCONDSVC_MUONALIGNMENTERRORDBALG_H
10#define MUONCONDSVC_MUONALIGNMENTERRORDBALG_H
12#include <GaudiKernel/EventIDRange.h>
18#include <Identifier/Identifier.h>
19#include <unordered_map>
31 StatusCode
execute(
const EventContext& ctx)
const override;
34 std::tuple<std::string, EventIDRange>
getDbClobContent(
const EventContext& ctx)
const;
38 "Key of input muon alignment error condition data"};
40 "Key of output muon alignment error condition data"};
42 "Set this to the location of a CLOB file to override the DB setting"};
44 ToolHandle<MuonCalib::IIdToFixedIdTool>
m_idTool{
this,
"idTool",
"MuonCalib::IdToFixedIdTool"};
55 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.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
void generateMap(const auto &helper_obj, const auto &idTool, MuonAlignmentErrorData::MuonAlignmentErrorRuleCache &adev_new, std::vector< MuonAlignmentErrorData::MuonAlignmentErrorRule > &devVec) const
int hardwareEta(MuonCalib::MuonFixedLongId calibId) const
std::string sectorString(MuonCalib::MuonFixedLongId calibId) const
std::string hardwareName(MuonCalib::MuonFixedLongId calibId) const
std::tuple< std::string, EventIDRange > getFileClobContent() const
bool isSmallSector(MuonCalib::MuonFixedLongId calibId) const
std::string_view side(MuonCalib::MuonFixedLongId calibId) const
ToolHandle< MuonCalib::IIdToFixedIdTool > m_idTool
~MuonAlignmentErrorDbAlg() override=default
std::tuple< std::string, EventIDRange > getDbClobContent(const EventContext &ctx) const
MuonAlignmentErrorDbAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
SG::WriteCondHandleKey< MuonAlignmentErrorData > m_writeKey
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::string > m_clobFileOverride
StatusCode initialize() override
int sector(MuonCalib::MuonFixedLongId calibId) const