Skip to content
Snippets Groups Projects

Add "empty" conditions when they are missing from the database

Merged Roel Aaij requested to merge default_conditions into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -266,7 +266,7 @@ size_t LHCb::Detector::ConditionsLoader::load_many( const dd4hep::IOV& req_iov,
if ( loaded_it == loaded.end() ) {
auto [is_alignment, cond] = empty_condition( cond_ident );
register_condition( entity_conditions, cond_ident, "NotFound", cond, cond_id->sys_id );
dd4hep::printout( is_alignment ? dd4hep::WARNING : dd4hep::DEBUG, "ConditionsLoader",
dd4hep::printout( is_alignment ? dd4hep::WARNING : dd4hep::INFO, "ConditionsLoader",
"++ Created empty%s condition %s in %s", is_alignment ? " alignment" : "",
cond_ident->object.c_str(), cond_ident->sys_id.c_str() );
}
Loading