Skip to content
Snippets Groups Projects
Commit b0071c3c authored by Benjamin Philip Kerridge's avatar Benjamin Philip Kerridge
Browse files

Merge branch 'will-23.0-patch-99946' into '23.0'

Update jFEXCondAlgo.cxx - make condition algorithm not reload data if its valid ready

See merge request !66596
parents c0c65147 c69bb2d3
No related branches found
No related tags found
2 merge requests!666172023-10-20: merge of 23.0 into main,!66596Update jFEXCondAlgo.cxx - make condition algorithm not reload data if its valid ready
......@@ -27,6 +27,6 @@ def jFexDBConfig(flags, name="jFEXCondAlgo"):
DBCond.JfexSystemSettings = SysSettingst_folder
acc.addEventAlgo(DBCond)
acc.addCondAlgo(DBCond)
return acc
......@@ -46,6 +46,10 @@ StatusCode jFEXCondAlgo::execute(const EventContext& ctx) const {
//Write handle
SG::WriteCondHandle<jFEXDBCondData> writeCHandle(m_jFEXDBParamsKey, ctx);
if (writeCHandle.isValid()) {
ATH_MSG_DEBUG("Existing jfex condition data is still valid");
return StatusCode::SUCCESS;
}
// Date from which jFEX database parameters should be used
// noise cuts fix: 2023-09-19
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment