15 return StatusCode::SUCCESS;
21 << writeHandle.
fullKey() <<
" is already valid."
22 <<
". In theory this should not be called, but may happen"
23 <<
" if multiple concurrent events are being processed "
25 return StatusCode::SUCCESS;
31 auto findCalibFile = [
this](
const std::string& db,
32 std::string& fileName) -> StatusCode {
34 if (fileName.empty() || !std::filesystem::exists(fileName)) {
36 return StatusCode::FAILURE;
38 return StatusCode::SUCCESS;
53 auto cabling = std::make_unique<Muon::TgcCablingMap>(cfg);
55 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
StringProperty m_databaseSLBToROD
IntegerProperty m_AsideId
StringProperty m_databaseASDToPP
virtual StatusCode execute(const EventContext &ctx) const override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteCondHandleKey< TgcCablingMap > m_writeKey
StringProperty m_databaseInPP
virtual StatusCode initialize() override final
IntegerProperty m_CsideId
StringProperty m_databasePPToSL
static std::string find_file(const std::string &logical_file_name, const std::string &search_path)
void addDependency(const EventIDRange &range)
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
const DataObjID & fullKey() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.