Skip to content
Snippets Groups Projects
Commit bbe89707 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'verb.SGComps-20200611' into 'master'

SGComps: Make broken conditions dependencies an ERROR.

See merge request atlas/athena!33617
parents 4d69548a 7bb1fc7d
No related branches found
No related tags found
No related merge requests found
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2017, 2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2017, 2019, 2020 CERN for the benefit of the ATLAS collaboration
*/
// SGInputLoader.cxx
......@@ -114,8 +114,14 @@ SGInputLoader::execute()
SG::VarHandleKey vhk(obj->clid(),obj->key(),Gaudi::DataHandle::Writer);
if (StoreID::findStoreID(vhk.storeHandle().name()) == StoreID::EVENT_STORE) {
toLoad.emplace(*obj);
} else {
ATH_MSG_WARNING("Will not auto-load proxy for non-EventStore object: "
}
else if (StoreID::findStoreID(vhk.storeHandle().name()) == StoreID::CONDITION_STORE) {
ATH_MSG_ERROR("Unresolved conditions dependency: "
<< *obj);
return StatusCode::FAILURE;
}
else {
ATH_MSG_DEBUG("Will not auto-load proxy for non-EventStore object: "
<< *obj);
}
}
......
File mode changed from 100644 to 100755
File mode changed from 100755 to 100644
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