Skip to content
Snippets Groups Projects

Event format meta data

Merged Frank Berghaus requested to merge berghaus/athena:EventFormatMetaData into master
2 files
+ 12
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -77,6 +77,8 @@ StatusCode
std::string typeName;
if( m_clidSvc->getTypeInfoNameOfID( proxy->clID(),
typeName ).isFailure() ) {
// Make sure that nobody else is using @c m_warnedCLIDs right now.
std::lock_guard< std::mutex > lock( m_warnedCLIDsMutex );
// Print a warning if this CLID didn't produce a warning yet:
if( m_warnedCLIDs.insert( proxy->clID() ).second ) {
ATH_MSG_WARNING( "Couldn't get type name for CLID = "
@@ -103,6 +105,9 @@ StatusCode
// Update the metadata object.
uint32_t hash = 0;
{
// Make sure that nobody else is modifying @c m_ef or @c m_spool
// right now.
std::lock_guard< std::mutex > lock( m_efMutex );
// If we already know about this object, then don't bother.
if( event_format->exists( branchName ) ) {
continue;
Loading