diff --git a/Control/DataModelTest/DataModelRunTests/share/xAODTestRead.ref b/Control/DataModelTest/DataModelRunTests/share/xAODTestRead.ref
index 67c69b247e5f2e4b5af076dc856a4ea245a049a3..bdf286e224e8275cdb85db3e9befe52bf8ab3a59 100644
--- a/Control/DataModelTest/DataModelRunTests/share/xAODTestRead.ref
+++ b/Control/DataModelTest/DataModelRunTests/share/xAODTestRead.ref
@@ -1,22 +1,21 @@
-Thu Nov  2 15:25:04 EDT 2017
-WARNING: TCMALLOCDIR not defined, will use libc malloc
+Wed Jan 24 18:12:36 CET 2018
+Preloading tcmalloc_minimal.so
 Py:Athena            INFO including file "AthenaCommon/Preparation.py"
-Py:Athena            INFO using release [?-21.0.0] [i686-slc5-gcc43-dbg] [?/?] -- built on [?]
+Py:Athena            INFO using release [AthenaWorkDir-22.0.0] [x86_64-slc6-gcc62-dbg] [atlas-work3/5398f41faaa] -- built on [2018-01-24T1727]
 Py:Athena            INFO including file "AthenaCommon/Bootstrap.py"
 Py:Athena            INFO including file "AthenaCommon/Atlas.UnixStandardJob.py"
 Py:Athena            INFO executing ROOT6Setup
 Py:Athena            INFO including file "AthenaCommon/Execution.py"
 Py:Athena            INFO including file "DataModelRunTests/xAODTestRead_jo.py"
-Py:ConfigurableDb    INFO Read module info for 467 configurables from 2 genConfDb files
+Py:ConfigurableDb    INFO Read module info for 5448 configurables from 67 genConfDb files
 Py:ConfigurableDb    INFO No duplicates have been found: that's good !
 Py:Athena            INFO including file "EventAthenaPool/EventAthenaPoolItemList_joboptions.py"
-Py:Athena            INFO including file "AthenaCommon/runbatch.py"
-# setting LC_ALL to "C"
+[?1034hPy:Athena            INFO including file "AthenaCommon/runbatch.py"
 ApplicationMgr       INFO Updating Gaudi::PluginService::SetDebug(level) to level= 'PluginDebugLevel':0
 ApplicationMgr    SUCCESS 
 ====================================================================================================================================
-                                                   Welcome to ApplicationMgr (GaudiCoreSvc v27r1p99)
-                                          running on karma on Thu Nov  2 15:25:30 2017
+                                                   Welcome to ApplicationMgr (GaudiCoreSvc v30r1)
+                                          running on lxplus008.cern.ch on Wed Jan 24 18:12:54 2018
 ====================================================================================================================================
 ApplicationMgr       INFO Successfully loaded modules : AthenaServices
 ApplicationMgr       INFO Application Manager Configured successfully
@@ -24,7 +23,7 @@ ApplicationMgr       INFO Updating Gaudi::PluginService::SetDebug(level) to leve
 StatusCodeSvc        INFO initialize
 AthDictLoaderSvc     INFO in initialize...
 AthDictLoaderSvc     INFO acquired Dso-registry
-ClassIDSvc           INFO  getRegistryEntries: read 10187 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 10095 CLIDRegistry entries for module ALL
 ChronoStatSvc        INFO  Number of skipped events for MemStat-1
 CoreDumpSvc          INFO install f-a-t-a-l handler... (flag = -1)
 CoreDumpSvc          INFO Handling signals: 11(Segmentation fault) 7(Bus error) 4(Illegal instruction) 8(Floating point exception) 
@@ -33,26 +32,31 @@ MetaDataSvc          INFO Initializing MetaDataSvc - package version AthenaServi
 AthenaPoolCnvSvc     INFO Initializing AthenaPoolCnvSvc - package version AthenaPoolCnvSvc-00-00-00
 PoolSvc              INFO Set connectionsvc retry/timeout/IDLE timeout to  'ConnectionRetrialPeriod':300/ 'ConnectionRetrialTimeOut':3600/ 'ConnectionTimeOut':5 seconds with connection cleanup disabled
 PoolSvc              INFO Frontier compression level set to 5
-DBReplicaSvc         INFO Read replica configuration from /home/sss/atlas/dvtest/build/share/dbreplica.config
-DBReplicaSvc         INFO No specific match for domain found - use default fallback
-DBReplicaSvc         INFO Total of 1 servers found for host karma [atlas_dd ]
+DBReplicaSvc         INFO Frontier server at (serverurl=http://atlasfrontier-local.cern.ch:8000/atlr)(serverurl=http://atlasfrontier-ai.cern.ch:8000/atlr)(serverurl=http://lcgft-atlas.gridpp.rl.ac.uk:3128/frontierATLAS)(serverurl=http://ccfrontier.in2p3.fr:23128/ccin2p3-AtlasFrontier)(proxyurl=http://ca-proxy.cern.ch:3128)(proxyurl=http://ca-proxy-meyrin.cern.ch:3128)(proxyurl=http://ca-proxy-wigner.cern.ch:3128) will be considered for COOL data
+DBReplicaSvc         INFO Read replica configuration from /cvmfs/atlas-nightlies.cern.ch/repo/sw/master/2018-01-23T2254/Athena/22.0.0/InstallArea/x86_64-slc6-gcc62-dbg/share/dbreplica.config
+DBReplicaSvc         INFO Total of 10 servers found for host lxplus008.cern.ch [ATLF ATLAS_COOLPROD atlas_dd ATLAS_CONFIG INT8R INTR ATONR_COOL ATONR_CONF DEVDB11 ATLF ]
 PoolSvc              INFO Successfully setup replica sorting algorithm
 PoolSvc              INFO Setting up APR FileCatalog and Streams
 PoolSvc              INFO POOL WriteCatalog is file:xAODTestRead_catalog.xml
 DbSession            INFO     Open     DbSession    
 Domain[ROOT_All]     INFO >   Access   DbDomain     READ      [ROOT_All] 
+EventSelector        INFO Initializing EventSelector - package version EventSelectorAthenaPool-00-00-00
 EventSelector        INFO reinitialization...
 EventSelector        INFO EventSelection with query 
-Domain[ROOT_All]     INFO ->  Access   DbDatabase   READ      [ROOT_All] D45552C7-3AA1-9A49-A420-3F8F30601500
+Domain[ROOT_All]     INFO ->  Access   DbDatabase   READ      [ROOT_All] 905A34D1-DC7C-2940-A728-213F9BA3C5DE
 Domain[ROOT_All]     INFO                           xaoddata.root
-RootDatabase.open    INFO xaoddata.root File version:60806
+RootDatabase.open    INFO xaoddata.root File version:61006
 EventPersistenc...   INFO Added successfully Conversion service:AthenaPoolCnvSvc
-EventSelector        INFO Initializing EventSelector - package version EventSelectorAthenaPool-00-00-00
-EventSelector        INFO reinitialization...
-EventSelector        INFO EventSelection with query 
+ClassIDSvc           INFO  getRegistryEntries: read 1114 CLIDRegistry entries for module ALL
 AthenaPoolAddre...   INFO Initializing AthenaPoolAddressProviderSvc - package version EventSelectorAthenaPool-00-00-00
 AthenaEventLoopMgr   INFO Initializing AthenaEventLoopMgr - package version AthenaServices-00-00-00
-ClassIDSvc           INFO  getRegistryEntries: read 1402 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 437 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 62 CLIDRegistry entries for module ALL
+MetaInputLoader      INFO Initializing MetaInputLoader...
+MetaInputLoader      INFO Will create WriteCondHandle dependencies for the following DataObjects:
+    +  ( 'DMTest::S1' , 'MetaS1' ) 
+    +  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' ) 
+    +  ( 'DMTest::C' , 'MetaC' ) 
 DecisionSvc          INFO Inserting stream: Stream1 with no Algs
 OutputStreamSeq...   INFO Initializing OutputStreamSequencerSvc - package version AthenaServices-00-00-00
 ClassIDSvc           INFO  getRegistryEntries: read 386 CLIDRegistry entries for module ALL
@@ -73,18 +77,38 @@ HistogramPersis...WARNING Histograms saving not required.
 AthenaEventLoopMgr   INFO Setup EventSelector service EventSelector
 ApplicationMgr       INFO Application Manager Initialized successfully
 xaoddata.root        INFO Database being retired...
-Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   READ      [ROOT_All] D45552C7-3AA1-9A49-A420-3F8F30601500
+Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   READ      [ROOT_All] 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+Domain[ROOT_All]     INFO >   Deaccess DbDomain     READ      [ROOT_All] 
 DbSession            INFO     Open     DbSession    
 Domain[ROOT_All]     INFO >   Access   DbDomain     READ      [ROOT_All] 
-Domain[ROOT_All]     INFO ->  Access   DbDatabase   READ      [ROOT_All] D45552C7-3AA1-9A49-A420-3F8F30601500
+Domain[ROOT_All]     INFO ->  Access   DbDatabase   READ      [ROOT_All] 905A34D1-DC7C-2940-A728-213F9BA3C5DE
 Domain[ROOT_All]     INFO                           xaoddata.root
-RootDatabase.open    INFO xaoddata.root File version:60806
+RootDatabase.open    INFO xaoddata.root File version:61006
 ApplicationMgr       INFO Application Manager Started successfully
 AlgResourcePool      INFO TopAlg list empty. Recovering the one of Application Manager
 AthenaPoolConve...   INFO massageEventInfo: unable to get OverrideRunNumberFromInput property from EventSelector 
-ClassIDSvc           INFO  getRegistryEntries: read 16 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 11 CLIDRegistry entries for module ALL
 AthenaEventLoopMgr   INFO   ===>>>  start of run 0    <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #0, run #0 0 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 0
+MetaInputLoader      INFO createMetaObj for MetaCAux. and sid 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO  address0 0x17472000
+MetaDataStore_ImplWARNING record_impl: Doing auto-symlinks for object with CLID 9723 and SG key MetaCAux.: Proxy already set for base CLID 187169987; not making auto-symlink.
+MetaInputLoader      INFO  address1 0x17472000
+MetaInputLoader      INFO Now have mcb with 1 entries
+ClassIDSvc           INFO  getRegistryEntries: read 50 CLIDRegistry entries for module ALL
+MetaInputLoader      INFO Retrieved mcb with entries = 0
+MetaInputLoader      INFO createMetaObj for MetaC and sid 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO  address0 0x17472b00
+MetaInputLoader      INFO  address1 0x17472b00
+MetaInputLoader      INFO Now have mcb with 1 entries
+MetaInputLoader      INFO Retrieved mcb with entries = 0
+MetaInputLoader      INFO createMetaObj for MetaS1 and sid 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO  address0 0x17cfcd00
+MetaInputLoader      INFO  address1 0x17cfcd00
+MetaInputLoader      INFO Now have mcb with 1 entries
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
 RootAuxDynReader     INFO FILE:LINE (const RootAuxDynReader::BranchInfo& RootAuxDynReader::getBranchInfo(const unsigned long&, const SG::AuxStoreInternal&)): attribute dVar1 (id=226 typename=f) has different type than the branch vector<int>
@@ -128,7 +152,6 @@ RootAuxDynReader     INFO FILE:LINE (const RootAuxDynReader::BranchInfo& RootAux
   pvInt: [-310 -309 -308 -307 -306 -305 -304 -303 -302 ]
   pvFloat: [-0.409 -0.309 -0.209 -0.109 -0.009 0.091 0.191 0.291 0.391 ]
   dpvFloat: [0.910 0.911 0.912 0.913 0.914 0.915 0.916 0.917 0.918 ]
-ClassIDSvc           INFO  getRegistryEntries: read 54 CLIDRegistry entries for module ALL
 cinfo aux items: aFloat anInt anInt2 cEL dInt1 
 cinfo  anInt1 1000 aFloat: 0.1 anInt2: 2000 dInt1: 3000 cEL: cvec[1]
 1
@@ -159,9 +182,9 @@ hvec: 401.5 402.5 403.5 404.5 405.5 406.5 407.5 408.5 409.5 410.5 411.5 412.5 41
 hview: 420.5 419.5 418.5 417.5 416.5 415.5 414.5 413.5 412.5 411.5 410.5 409.5 408.5 407.5 406.5 405.5 404.5 403.5 402.5 401.5
 DbSession            INFO     Open     DbSession    
 Domain[ROOT_All]     INFO >   Access   DbDomain     UPDATE    [ROOT_All] 
-Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] BB1BAA54-1D6C-5D4B-BADC-634CFA49EB53
+Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] 727E2138-04F1-604F-99BB-27DD2ABDF6E5
 Domain[ROOT_All]     INFO                           xaoddata2.root
-RootDatabase.open    INFO xaoddata2.root File version:60806
+RootDatabase.open    INFO xaoddata2.root File version:61006
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
 StorageSvc           INFO DataVector<DMTest::H_v2> [CD6C3074-425B-4C08-AF1C-43D7E8C84288]
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
@@ -174,12 +197,20 @@ StorageSvc           INFO Building shape according to reflection information usi
 StorageSvc           INFO xAOD::ShallowAuxContainer [C63C39D7-9501-49DC-B1B0-6AD98B1AEEFA]
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
 StorageSvc           INFO xAOD::AuxContainerBase [C87C71B3-B03F-42FC-AF99-DF497F148397]
-ClassIDSvc           INFO  getRegistryEntries: read 22 CLIDRegistry entries for module ALL
-Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] E7544441-F45C-F14F-82BC-EA8EF0911D5F
+ClassIDSvc           INFO  getRegistryEntries: read 18 CLIDRegistry entries for module ALL
+Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] D7D7A8A9-A7A7-7641-BEC7-953D1B207504
 Domain[ROOT_All]     INFO                           xaoddata2b.root
-RootDatabase.open    INFO xaoddata2b.root File version:60806
+RootDatabase.open    INFO xaoddata2b.root File version:61006
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #0, run #0 1 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #1, run #0 1 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 201 aFloat: 400 pInt: 1001 pFloat: 0.02 anInt2: 601 dInt1: 801 dVar1: 901 dpInt1: 101 cEL: cvec[9]
@@ -251,6 +282,14 @@ hvec: 801.5 802.5 803.5 804.5 805.5 806.5 807.5 808.5 809.5 810.5 811.5 812.5 81
 hview: 820.5 819.5 818.5 817.5 816.5 815.5 814.5 813.5 812.5 811.5 810.5 809.5 808.5 807.5 806.5 805.5 804.5 803.5 802.5 801.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #1, run #0 2 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #2, run #0 2 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 301 aFloat: 600 pInt: 1501 pFloat: 0.03 anInt2: 901 dInt1: 1201 dVar1: 1351 dpInt1: 151 cEL: cvec[9]
@@ -322,6 +361,14 @@ hvec: 1201.5 1202.5 1203.5 1204.5 1205.5 1206.5 1207.5 1208.5 1209.5 1210.5 1211
 hview: 1220.5 1219.5 1218.5 1217.5 1216.5 1215.5 1214.5 1213.5 1212.5 1211.5 1210.5 1209.5 1208.5 1207.5 1206.5 1205.5 1204.5 1203.5 1202.5 1201.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #2, run #0 3 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #3, run #0 3 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 401 aFloat: 800 pInt: 2001 pFloat: 0.04 anInt2: 1201 dInt1: 1601 dVar1: 1801 dpInt1: 201 cEL: cvec[9]
@@ -393,6 +440,14 @@ hvec: 1601.5 1602.5 1603.5 1604.5 1605.5 1606.5 1607.5 1608.5 1609.5 1610.5 1611
 hview: 1620.5 1619.5 1618.5 1617.5 1616.5 1615.5 1614.5 1613.5 1612.5 1611.5 1610.5 1609.5 1608.5 1607.5 1606.5 1605.5 1604.5 1603.5 1602.5 1601.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #3, run #0 4 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #4, run #0 4 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
 cinfo aux items: aFloat anInt anInt2 cEL dInt1 
@@ -424,6 +479,14 @@ hvec: 2001.5 2002.5 2003.5 2004.5 2005.5 2006.5 2007.5 2008.5 2009.5 2010.5 2011
 hview: 2020.5 2019.5 2018.5 2017.5 2016.5 2015.5 2014.5 2013.5 2012.5 2011.5 2010.5 2009.5 2008.5 2007.5 2006.5 2005.5 2004.5 2003.5 2002.5 2001.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #4, run #0 5 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #5, run #0 5 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 601 aFloat: 1200 pInt: 3001 pFloat: 0.06 anInt2: 1801 dInt1: 2401 dVar1: 2701 dpInt1: 301 cEL: cvec[9]
@@ -495,6 +558,14 @@ hvec: 2401.5 2402.5 2403.5 2404.5 2405.5 2406.5 2407.5 2408.5 2409.5 2410.5 2411
 hview: 2420.5 2419.5 2418.5 2417.5 2416.5 2415.5 2414.5 2413.5 2412.5 2411.5 2410.5 2409.5 2408.5 2407.5 2406.5 2405.5 2404.5 2403.5 2402.5 2401.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #5, run #0 6 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #6, run #0 6 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 701 aFloat: 1400 pInt: 3501 pFloat: 0.07 anInt2: 2101 dInt1: 2801 dVar1: 3151 dpInt1: 351 cEL: cvec[9]
@@ -566,6 +637,14 @@ hvec: 2801.5 2802.5 2803.5 2804.5 2805.5 2806.5 2807.5 2808.5 2809.5 2810.5 2811
 hview: 2820.5 2819.5 2818.5 2817.5 2816.5 2815.5 2814.5 2813.5 2812.5 2811.5 2810.5 2809.5 2808.5 2807.5 2806.5 2805.5 2804.5 2803.5 2802.5 2801.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #6, run #0 7 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #7, run #0 7 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 801 aFloat: 1600 pInt: 4001 pFloat: 0.08 anInt2: 2401 dInt1: 3201 dVar1: 3601 dpInt1: 401 cEL: cvec[9]
@@ -637,6 +716,14 @@ hvec: 3201.5 3202.5 3203.5 3204.5 3205.5 3206.5 3207.5 3208.5 3209.5 3210.5 3211
 hview: 3220.5 3219.5 3218.5 3217.5 3216.5 3215.5 3214.5 3213.5 3212.5 3211.5 3210.5 3209.5 3208.5 3207.5 3206.5 3205.5 3204.5 3203.5 3202.5 3201.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #7, run #0 8 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #8, run #0 8 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 901 aFloat: 1800 pInt: 4501 pFloat: 0.09 anInt2: 2701 dInt1: 3601 dVar1: 4051 dpInt1: 451 cEL: cvec[9]
@@ -708,6 +795,14 @@ hvec: 3601.5 3602.5 3603.5 3604.5 3605.5 3606.5 3607.5 3608.5 3609.5 3610.5 3611
 hview: 3620.5 3619.5 3618.5 3617.5 3616.5 3615.5 3614.5 3613.5 3612.5 3611.5 3610.5 3609.5 3608.5 3607.5 3606.5 3605.5 3604.5 3603.5 3602.5 3601.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #8, run #0 9 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #9, run #0 9 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1001 aFloat: 2000 pInt: 5001 pFloat: 0.10 anInt2: 3001 dInt1: 4001 dVar1: 4501 dpInt1: 501 cEL: cvec[9]
@@ -779,6 +874,14 @@ hvec: 4001.5 4002.5 4003.5 4004.5 4005.5 4006.5 4007.5 4008.5 4009.5 4010.5 4011
 hview: 4020.5 4019.5 4018.5 4017.5 4016.5 4015.5 4014.5 4013.5 4012.5 4011.5 4010.5 4009.5 4008.5 4007.5 4006.5 4005.5 4004.5 4003.5 4002.5 4001.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #9, run #0 10 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #10, run #0 10 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1101 aFloat: 2200 pInt: 5501 pFloat: 0.11 anInt2: 3301 dInt1: 4401 dVar1: 4951 dpInt1: 551 cEL: cvec[9]
@@ -850,6 +953,14 @@ hvec: 4401.5 4402.5 4403.5 4404.5 4405.5 4406.5 4407.5 4408.5 4409.5 4410.5 4411
 hview: 4420.5 4419.5 4418.5 4417.5 4416.5 4415.5 4414.5 4413.5 4412.5 4411.5 4410.5 4409.5 4408.5 4407.5 4406.5 4405.5 4404.5 4403.5 4402.5 4401.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #10, run #0 11 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #11, run #0 11 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1201 aFloat: 2400 pInt: 6001 pFloat: 0.12 anInt2: 3601 dInt1: 4801 dVar1: 5401 dpInt1: 601 cEL: cvec[9]
@@ -921,6 +1032,14 @@ hvec: 4801.5 4802.5 4803.5 4804.5 4805.5 4806.5 4807.5 4808.5 4809.5 4810.5 4811
 hview: 4820.5 4819.5 4818.5 4817.5 4816.5 4815.5 4814.5 4813.5 4812.5 4811.5 4810.5 4809.5 4808.5 4807.5 4806.5 4805.5 4804.5 4803.5 4802.5 4801.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #11, run #0 12 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #12, run #0 12 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1301 aFloat: 2600 pInt: 6501 pFloat: 0.13 anInt2: 3901 dInt1: 5201 dVar1: 5851 dpInt1: 651 cEL: cvec[9]
@@ -992,6 +1111,14 @@ hvec: 5201.5 5202.5 5203.5 5204.5 5205.5 5206.5 5207.5 5208.5 5209.5 5210.5 5211
 hview: 5220.5 5219.5 5218.5 5217.5 5216.5 5215.5 5214.5 5213.5 5212.5 5211.5 5210.5 5209.5 5208.5 5207.5 5206.5 5205.5 5204.5 5203.5 5202.5 5201.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #12, run #0 13 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #13, run #0 13 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1401 aFloat: 2800 pInt: 7001 pFloat: 0.14 anInt2: 4201 dInt1: 5601 dVar1: 6301 dpInt1: 701 cEL: cvec[9]
@@ -1063,6 +1190,14 @@ hvec: 5601.5 5602.5 5603.5 5604.5 5605.5 5606.5 5607.5 5608.5 5609.5 5610.5 5611
 hview: 5620.5 5619.5 5618.5 5617.5 5616.5 5615.5 5614.5 5613.5 5612.5 5611.5 5610.5 5609.5 5608.5 5607.5 5606.5 5605.5 5604.5 5603.5 5602.5 5601.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #13, run #0 14 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #14, run #0 14 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1501 aFloat: 3000 pInt: 7501 pFloat: 0.15 anInt2: 4501 dInt1: 6001 dVar1: 6751 dpInt1: 751 cEL: cvec[9]
@@ -1134,6 +1269,14 @@ hvec: 6001.5 6002.5 6003.5 6004.5 6005.5 6006.5 6007.5 6008.5 6009.5 6010.5 6011
 hview: 6020.5 6019.5 6018.5 6017.5 6016.5 6015.5 6014.5 6013.5 6012.5 6011.5 6010.5 6009.5 6008.5 6007.5 6006.5 6005.5 6004.5 6003.5 6002.5 6001.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #14, run #0 15 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #15, run #0 15 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1601 aFloat: 3200 pInt: 8001 pFloat: 0.16 anInt2: 4801 dInt1: 6401 dVar1: 7201 dpInt1: 801 cEL: cvec[9]
@@ -1205,6 +1348,14 @@ hvec: 6401.5 6402.5 6403.5 6404.5 6405.5 6406.5 6407.5 6408.5 6409.5 6410.5 6411
 hview: 6420.5 6419.5 6418.5 6417.5 6416.5 6415.5 6414.5 6413.5 6412.5 6411.5 6410.5 6409.5 6408.5 6407.5 6406.5 6405.5 6404.5 6403.5 6402.5 6401.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #15, run #0 16 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #16, run #0 16 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1701 aFloat: 3400 pInt: 8501 pFloat: 0.17 anInt2: 5101 dInt1: 6801 dVar1: 7651 dpInt1: 851 cEL: cvec[9]
@@ -1276,6 +1427,14 @@ hvec: 6801.5 6802.5 6803.5 6804.5 6805.5 6806.5 6807.5 6808.5 6809.5 6810.5 6811
 hview: 6820.5 6819.5 6818.5 6817.5 6816.5 6815.5 6814.5 6813.5 6812.5 6811.5 6810.5 6809.5 6808.5 6807.5 6806.5 6805.5 6804.5 6803.5 6802.5 6801.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #16, run #0 17 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #17, run #0 17 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1801 aFloat: 3600 pInt: 9001 pFloat: 0.18 anInt2: 5401 dInt1: 7201 dVar1: 8101 dpInt1: 901 cEL: cvec[9]
@@ -1347,6 +1506,14 @@ hvec: 7201.5 7202.5 7203.5 7204.5 7205.5 7206.5 7207.5 7208.5 7209.5 7210.5 7211
 hview: 7220.5 7219.5 7218.5 7217.5 7216.5 7215.5 7214.5 7213.5 7212.5 7211.5 7210.5 7209.5 7208.5 7207.5 7206.5 7205.5 7204.5 7203.5 7202.5 7201.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #17, run #0 18 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #18, run #0 18 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 1901 aFloat: 3800 pInt: 9501 pFloat: 0.19 anInt2: 5701 dInt1: 7601 dVar1: 8551 dpInt1: 951 cEL: cvec[9]
@@ -1418,6 +1585,14 @@ hvec: 7601.5 7602.5 7603.5 7604.5 7605.5 7606.5 7607.5 7608.5 7609.5 7610.5 7611
 hview: 7620.5 7619.5 7618.5 7617.5 7616.5 7615.5 7614.5 7613.5 7612.5 7611.5 7610.5 7609.5 7608.5 7607.5 7606.5 7605.5 7604.5 7603.5 7602.5 7601.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #18, run #0 19 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #19, run #0 19 events processed so far  <<<===
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::CInfoAuxContainer' , 'MetaCAux.' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::C' , 'MetaC' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+MetaInputLoader      INFO Retrieved mcb with entries = 1
+MetaInputLoader      INFO   MetaObj  ( 'DMTest::S1' , 'MetaS1' )  is still valid for 905A34D1-DC7C-2940-A728-213F9BA3C5DE
+DMTest::MetaRea...   INFO MetaS1: 24
+DMTest::MetaRea...   INFO MetaC: 3 2.5
 cvec aux items: aFloat anInt anInt2 cEL dInt1 dVar1 dpInt1 dpvFloat pFloat pInt pvFloat pvInt 
 Type of aux store: DMTest::CAuxContainer_v1
  anInt1 2001 aFloat: 4000 pInt: 10001 pFloat: 0.20 anInt2: 6001 dInt1: 8001 dVar1: 9001 dpInt1: 1001 cEL: cvec[9]
@@ -1488,18 +1663,19 @@ cview: 2010 2009 2008 2007 2006 2005 2004 2003 2002 2001
 hvec: 8001.5 8002.5 8003.5 8004.5 8005.5 8006.5 8007.5 8008.5 8009.5 8010.5 8011.5 8012.5 8013.5 8014.5 8015.5 8016.5 8017.5 8018.5 8019.5 8020.5
 hview: 8020.5 8019.5 8018.5 8017.5 8016.5 8015.5 8014.5 8013.5 8012.5 8011.5 8010.5 8009.5 8008.5 8007.5 8006.5 8005.5 8004.5 8003.5 8002.5 8001.5
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #19, run #0 20 events processed so far  <<<===
-ClassIDSvc           INFO  getRegistryEntries: read 8 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 4 CLIDRegistry entries for module ALL
 Stream1              INFO Records written: 21
 Stream2              INFO Records written: 21
 xaoddata.root        INFO Database being retired...
-Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   READ      [ROOT_All] D45552C7-3AA1-9A49-A420-3F8F30601500
+Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   READ      [ROOT_All] 905A34D1-DC7C-2940-A728-213F9BA3C5DE
 xaoddata2.root       INFO Database being retired...
-Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] BB1BAA54-1D6C-5D4B-BADC-634CFA49EB53
+Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] 727E2138-04F1-604F-99BB-27DD2ABDF6E5
 xaoddata2b.root      INFO Database being retired...
-Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] E7544441-F45C-F14F-82BC-EA8EF0911D5F
+Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] D7D7A8A9-A7A7-7641-BEC7-953D1B207504
 Domain[ROOT_All]     INFO >   Deaccess DbDomain     UPDATE    [ROOT_All] 
 ApplicationMgr       INFO Application Manager Stopped successfully
 IncidentProcAlg1     INFO Finalize
+MetaInputLoader      INFO Finalizing MetaInputLoader...
 IncidentProcAlg2     INFO Finalize
 DecisionSvc          INFO Finalized successfully.
 Domain[ROOT_All]     INFO >   Deaccess DbDomain     READ      [ROOT_All] 
diff --git a/Control/DataModelTest/DataModelRunTests/share/xAODTestRead_jo.py b/Control/DataModelTest/DataModelRunTests/share/xAODTestRead_jo.py
index 610eda6f940c114afbaabec04d1597a30c8557c5..ef0534ea535eff2ea92fd0792a8159f245b07276 100755
--- a/Control/DataModelTest/DataModelRunTests/share/xAODTestRead_jo.py
+++ b/Control/DataModelTest/DataModelRunTests/share/xAODTestRead_jo.py
@@ -31,6 +31,15 @@ import AthenaPoolCnvSvc.ReadAthenaPool
 #--------------------------------------------------------------
 svcMgr.EventSelector.InputCollections        = [ "xaoddata.root" ]
 
+from IOVSvc.IOVSvcConf import MetaInputLoader
+metain = MetaInputLoader()
+metain.Dump = True
+metain.Load = [('DMTest::S1', 'MetaS1'),
+               ('DMTest::C', 'MetaC'),
+               ('DMTest::CInfoAuxContainer', 'MetaCAux.'),
+              ]
+topSequence += metain
+
 #--------------------------------------------------------------
 # Define output
 #--------------------------------------------------------------
@@ -102,7 +111,8 @@ theApp.EvtMax = 20
 #--------------------------------------------------------------
 
 from DataModelTestDataCommon.DataModelTestDataCommonConf import \
-     DMTest__xAODTestDecor
+     DMTest__xAODTestDecor, \
+     DMTest__MetaReaderAlg
 from DataModelTestDataRead.DataModelTestDataReadConf import \
      DMTest__xAODTestReadCVec, \
      DMTest__xAODTestReadCInfo, \
@@ -113,6 +123,8 @@ from DataModelTestDataRead.DataModelTestDataReadConf import \
      DMTest__xAODTestShallowCopy
 
 
+topSequence += DMTest__MetaReaderAlg()
+
 topSequence += DMTest__xAODTestReadCVec ('xAODTestReadCVec',
                                          WriteKey = 'copy_cvec')
 topSequence += DMTest__xAODTestReadCInfo ('xAODTestReadCInfo',
diff --git a/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite.ref b/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite.ref
index 87f476c9099834b7ef36a3831a615fc56696b22e..3488b5943e5186ba14fbba9b848f31f7f0aa5076 100644
--- a/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite.ref
+++ b/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite.ref
@@ -1,21 +1,22 @@
-Fri Oct 27 20:43:32 CEST 2017
-Preloading tcmalloc_minimal.so
+Mon Dec 25 22:29:24 EST 2017
+WARNING: TCMALLOCDIR not defined, will use libc malloc
 Py:Athena            INFO including file "AthenaCommon/Preparation.py"
-Py:Athena            INFO using release [AthenaWorkDir-22.0.0] [x86_64-slc6-gcc62-opt] [atlas-work3/9f528da37a] -- built on [2017-10-27T2018]
+Py:Athena            INFO using release [?-21.0.0] [i686-slc5-gcc43-dbg] [?/?] -- built on [?]
 Py:Athena            INFO including file "AthenaCommon/Bootstrap.py"
 Py:Athena            INFO including file "AthenaCommon/Atlas.UnixStandardJob.py"
 Py:Athena            INFO executing ROOT6Setup
 Py:Athena            INFO including file "AthenaCommon/Execution.py"
 Py:Athena            INFO including file "DataModelRunTests/xAODTestWrite_jo.py"
-Py:ConfigurableDb    INFO Read module info for 5436 configurables from 58 genConfDb files
+Py:ConfigurableDb    INFO Read module info for 468 configurables from 2 genConfDb files
 Py:ConfigurableDb    INFO No duplicates have been found: that's good !
-[?1034hPy:Athena            INFO including file "EventAthenaPool/EventAthenaPoolItemList_joboptions.py"
+Py:Athena            INFO including file "EventAthenaPool/EventAthenaPoolItemList_joboptions.py"
 Py:Athena            INFO including file "AthenaCommon/runbatch.py"
+# setting LC_ALL to "C"
 ApplicationMgr       INFO Updating Gaudi::PluginService::SetDebug(level) to level= 'PluginDebugLevel':0
 ApplicationMgr    SUCCESS 
 ====================================================================================================================================
-                                                   Welcome to ApplicationMgr (GaudiCoreSvc v29r0)
-                                          running on lxplus012.cern.ch on Fri Oct 27 20:43:50 2017
+                                                   Welcome to ApplicationMgr (GaudiCoreSvc v27r1p99)
+                                          running on karma on Mon Dec 25 22:29:35 2017
 ====================================================================================================================================
 ApplicationMgr       INFO Successfully loaded modules : AthenaServices
 ApplicationMgr       INFO Application Manager Configured successfully
@@ -23,7 +24,7 @@ ApplicationMgr       INFO Updating Gaudi::PluginService::SetDebug(level) to leve
 StatusCodeSvc        INFO initialize
 AthDictLoaderSvc     INFO in initialize...
 AthDictLoaderSvc     INFO acquired Dso-registry
-ClassIDSvc           INFO  getRegistryEntries: read 9770 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 10051 CLIDRegistry entries for module ALL
 ChronoStatSvc        INFO  Number of skipped events for MemStat-1
 CoreDumpSvc          INFO install f-a-t-a-l handler... (flag = -1)
 CoreDumpSvc          INFO Handling signals: 11(Segmentation fault) 7(Bus error) 4(Illegal instruction) 8(Floating point exception) 
@@ -32,17 +33,16 @@ MetaDataSvc          INFO Initializing MetaDataSvc - package version AthenaServi
 AthenaPoolCnvSvc     INFO Initializing AthenaPoolCnvSvc - package version AthenaPoolCnvSvc-00-00-00
 PoolSvc              INFO Set connectionsvc retry/timeout/IDLE timeout to  'ConnectionRetrialPeriod':300/ 'ConnectionRetrialTimeOut':3600/ 'ConnectionTimeOut':5 seconds with connection cleanup disabled
 PoolSvc              INFO Frontier compression level set to 5
-DBReplicaSvc         INFO Frontier server at (serverurl=http://atlasfrontier-local.cern.ch:8000/atlr)(serverurl=http://atlasfrontier-ai.cern.ch:8000/atlr)(serverurl=http://lcgft-atlas.gridpp.rl.ac.uk:3128/frontierATLAS)(serverurl=http://ccfrontier.in2p3.fr:23128/ccin2p3-AtlasFrontier)(proxyurl=http://ca-proxy.cern.ch:3128)(proxyurl=http://ca-proxy-meyrin.cern.ch:3128)(proxyurl=http://ca-proxy-wigner.cern.ch:3128) will be considered for COOL data
-DBReplicaSvc         INFO Read replica configuration from /cvmfs/atlas-nightlies.cern.ch/repo/sw/master/2017-10-26T2259/Athena/22.0.0/InstallArea/x86_64-slc6-gcc62-opt/share/dbreplica.config
-DBReplicaSvc         INFO Total of 10 servers found for host lxplus012.cern.ch [ATLF ATLAS_COOLPROD atlas_dd ATLAS_CONFIG INT8R INTR ATONR_COOL ATONR_CONF DEVDB11 ATLF ]
+DBReplicaSvc         INFO Read replica configuration from /home/sss/atlas/dvtest/build/share/dbreplica.config
+DBReplicaSvc         INFO No specific match for domain found - use default fallback
+DBReplicaSvc         INFO Total of 1 servers found for host karma [atlas_dd ]
 PoolSvc              INFO Successfully setup replica sorting algorithm
 PoolSvc              INFO Setting up APR FileCatalog and Streams
 PoolSvc              INFO POOL WriteCatalog is file:xAODTestWrite_catalog.xml
 DbSession            INFO     Open     DbSession    
 Domain[ROOT_All]     INFO >   Access   DbDomain     READ      [ROOT_All] 
 AthenaEventLoopMgr   INFO Initializing AthenaEventLoopMgr - package version AthenaServices-00-00-00
-ClassIDSvc           INFO  getRegistryEntries: read 1092 CLIDRegistry entries for module ALL
-ClassIDSvc           INFO  getRegistryEntries: read 61 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 1028 CLIDRegistry entries for module ALL
 DecisionSvc          INFO Inserting stream: Stream1 with no Algs
 OutputStreamSeq...   INFO Initializing OutputStreamSequencerSvc - package version AthenaServices-00-00-00
 ClassIDSvc           INFO  getRegistryEntries: read 386 CLIDRegistry entries for module ALL
@@ -63,7 +63,7 @@ AthenaEventLoopMgr   INFO   ===>>>  start of run 0    <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #0, run #0 0 events processed so far  <<<===
 DbSession            INFO     Open     DbSession    
 Domain[ROOT_All]     INFO >   Access   DbDomain     UPDATE    [ROOT_All] 
-Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] 93E7DA84-0A72-4B49-A584-F3907D86A720
+Domain[ROOT_All]     INFO ->  Access   DbDatabase   CREATE    [ROOT_All] 58ADB804-AD3F-E54D-8C62-C11EF821C58E
 Domain[ROOT_All]     INFO                           xaoddata.root
 RootDatabase.open    INFO xaoddata.root File version:60806
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
@@ -98,7 +98,7 @@ StorageSvc           INFO Building shape according to reflection information usi
 StorageSvc           INFO DataHeaderForm_p5 [3397D8A3-BBE6-463C-9F8E-4B3DFD8831FE]
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
 StorageSvc           INFO DataHeader_p5 [D82968A1-CF91-4320-B2DD-E0F739CBC7E6]
-ClassIDSvc           INFO  getRegistryEntries: read 142 CLIDRegistry entries for module ALL
+ClassIDSvc           INFO  getRegistryEntries: read 121 CLIDRegistry entries for module ALL
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #0, run #0 1 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  start processing event #1, run #0 1 events processed so far  <<<===
 AthenaEventLoopMgr   INFO   ===>>>  done processing event #1, run #0 2 events processed so far  <<<===
@@ -142,11 +142,13 @@ StorageSvc           INFO Building shape according to reflection information usi
 StorageSvc           INFO EventStreamInfo_p3 [11DF1B8C-0DEE-4687-80D7-E74B520ACBB4]
 StorageSvc           INFO Building shape according to reflection information using shape ID for:
 StorageSvc           INFO xAOD::EventFormat_v1 [0EFE2D2C-9E78-441D-9A87-9EE2B908AC81]
-ClassIDSvc           INFO  getRegistryEntries: read 9 CLIDRegistry entries for module ALL
+StorageSvc           INFO Building shape according to reflection information using shape ID for:
+StorageSvc           INFO DMTest::S1 [230C025C-A8BB-4C8A-9C82-04C9C3D92384]
+ClassIDSvc           INFO  getRegistryEntries: read 13 CLIDRegistry entries for module ALL
 Stream1              INFO Records written: 21
 Domain[ROOT_All]     INFO >   Deaccess DbDomain     READ      [ROOT_All] 
 xaoddata.root        INFO Database being retired...
-Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] 93E7DA84-0A72-4B49-A584-F3907D86A720
+Domain[ROOT_All]     INFO ->  Deaccess DbDatabase   CREATE    [ROOT_All] 58ADB804-AD3F-E54D-8C62-C11EF821C58E
 Domain[ROOT_All]     INFO >   Deaccess DbDomain     UPDATE    [ROOT_All] 
 ApplicationMgr       INFO Application Manager Stopped successfully
 IncidentProcAlg1     INFO Finalize
diff --git a/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite_jo.py b/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite_jo.py
index 76aee37824f249f48511b33d8442a16c469cd59d..36287e59076a5e072fa5f0ec1dcc3b8d14c3b240 100755
--- a/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite_jo.py
+++ b/Control/DataModelTest/DataModelRunTests/share/xAODTestWrite_jo.py
@@ -39,7 +39,8 @@ theApp.EvtMax = 20
 
 from DataModelTestDataCommon.DataModelTestDataCommonConf import \
      DMTest__xAODTestWriteCInfo, \
-     DMTest__xAODTestDecor
+     DMTest__xAODTestDecor, \
+     DMTest__MetaWriterAlg
 from DataModelTestDataWrite.DataModelTestDataWriteConf import \
      DMTest__xAODTestWriteCVec, \
      DMTest__xAODTestWriteHVec, \
@@ -55,6 +56,7 @@ topSequence += DMTest__xAODTestWrite ("xAODTestWrite")
 topSequence += DMTest__xAODTestWriteCVecConst ("xAODTestWriteCVecConst")
 topSequence += DMTest__xAODTestDecor ("xAODTestDecor")
 topSequence += DMTest__xAODTestWriteSymlinks ("xAODTestWriteSymlinks")
+topSequence += DMTest__MetaWriterAlg ("MetaWriterAlg")
 
 
 #--------------------------------------------------------------
@@ -114,6 +116,9 @@ Stream1 = Stream1_Augmented.GetEventStream()
 Stream1.WritingTool.SubLevelBranchName = '<key>'
 # List of DO's to write out
 Stream1.ItemList   += fullItemList
+Stream1.MetadataItemList += [ 'DMTest::S1#MetaS1',
+                              'DMTest::C#MetaC',
+                              'DMTest::CInfoAuxContainer#MetaCAux.' ]
 ServiceMgr.AthenaPoolCnvSvc.PoolAttributes += ["DEFAULT_SPLITLEVEL='1'"]
 
 
diff --git a/Control/DataModelTest/DataModelRunTests/test/post.sh b/Control/DataModelTest/DataModelRunTests/test/post.sh
index 838afeb63996ed805af588441cf9a980fbaef5c7..d34c80e3f870857d57602f22a0c5899abb5709bb 100755
--- a/Control/DataModelTest/DataModelRunTests/test/post.sh
+++ b/Control/DataModelTest/DataModelRunTests/test/post.sh
@@ -8,6 +8,12 @@
 # $Id: post_check.sh,v 1.32 2009-05-06 18:10:12 ssnyder Exp $
 # **/
 
+# consider these name pairs identical in the diff
+read -d '' II <<EOF
+s/[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/
+s/.[[][?]1034h//
+EOF
+
 PP="adummythatshouldntmatch"
 
 # Timestamps.
@@ -207,6 +213,12 @@ PP="$PP"'|File version:'
 # Ignore annoying error from root 6.10.06
 PP="$PP"'|no interpreter information for class TSelectorCint'
 
+# MetaInputLoader addresses
+PP="$PP"'|MetaInputLoader *INFO  address'
+
+# MetaInputLoader SIDs
+PP="$PP"'|is still valid for| and sid '
+
 
 test=$1
 if [ -z "$testStatus" ]; then
diff --git a/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/CMeta.h b/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/CMeta.h
new file mode 100644
index 0000000000000000000000000000000000000000..0d4e985a2c2a21ff3e481bc6b91d0fda4aeb16ff
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/CMeta.h
@@ -0,0 +1,25 @@
+// This file's extension implies that it's C, but it's really -*- C++ -*-.
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/CMeta.h
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Jan, 2017
+ * @brief Metadata declarations for C.
+ */
+
+
+#ifndef DATAMODELTESTDATACOMMON_CMETA_H
+#define DATAMODELTESTDATACOMMON_CMETA_H
+
+
+#include "DataModelTestDataCommon/C.h"
+#include "AthenaKernel/MetaCont.h"
+
+
+METACONT_DEF(DMTest::C, 90853756);
+
+
+#endif // not DATAMODELTESTDATACOMMON_CMETA_H
diff --git a/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/S1Meta.h b/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/S1Meta.h
new file mode 100644
index 0000000000000000000000000000000000000000..c786d8b5c0b91acc9756e3d4353704458acba462
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/DataModelTestDataCommon/S1Meta.h
@@ -0,0 +1,25 @@
+// This file's extension implies that it's C, but it's really -*- C++ -*-.
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/S1Meta.h
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Dec, 2017
+ * @brief Metadata declarations for S1.
+ */
+
+
+#ifndef DATAMODELTESTDATACOMMON_S1META_H
+#define DATAMODELTESTDATACOMMON_S1META_H
+
+
+#include "DataModelTestDataCommon/S1.h"
+#include "AthenaKernel/MetaCont.h"
+
+
+METACONT_DEF(DMTest::S1, 108784410);
+
+
+#endif // not DATAMODELTESTDATACOMMON_S1META_H
diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.cxx
new file mode 100644
index 0000000000000000000000000000000000000000..61347ae0e6afda2bdc9d3de0cb6ddc8e1cc575e8
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.cxx
@@ -0,0 +1,70 @@
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/MetaReaderAlg.cxx
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Dec, 2017
+ * @brief Test reading metadata objects.
+ */
+
+
+#include "MetaReaderAlg.h"
+#include "DataModelTestDataCommon/S1.h"
+
+
+namespace DMTest {
+
+
+/**
+ * @brief Constructor.
+ * @param name The algorithm name.
+ * @param pSvcLocator The service locator.
+ */
+MetaReaderAlg::MetaReaderAlg (const std::string &name, ISvcLocator *pSvcLocator)
+  : AthReentrantAlgorithm (name, pSvcLocator),
+    m_s1Key ("MetaS1"),
+    m_cKey ("MetaC")
+{
+}
+
+
+/**
+ * @brief Algorithm initialization; called at the beginning of the job.
+ */
+StatusCode MetaReaderAlg::initialize()
+{
+  ATH_CHECK( m_s1Key.initialize() );
+  ATH_CHECK( m_cKey.initialize() );
+  return StatusCode::SUCCESS;
+}
+
+
+/**
+ * @brief Algorithm execute method.
+ * @param ctx Event context.
+ */
+StatusCode MetaReaderAlg::execute_r (const EventContext& ctx) const
+{
+  // Get proper dbkey.
+  const DataHeader* thisDH = nullptr;
+  ATH_CHECK( evtStore()->retrieve(thisDH, "EventSelector") );
+  std::string sid = thisDH->begin()->getToken()->dbID().toString();
+
+  // Make a new key with the correct dbkey.
+  SG::ReadMetaHandleKey<DMTest::S1> s1Key (m_s1Key.key(), sid);
+  ATH_CHECK( s1Key.initialize() );
+  SG::ReadMetaHandle<DMTest::S1> s1 (s1Key, ctx);
+  ATH_MSG_INFO ("MetaS1: " << s1->m_x);
+
+  // Make a new key with the correct dbkey.
+  SG::ReadMetaHandleKey<DMTest::C> cKey (m_cKey.key(), sid);
+  ATH_CHECK( cKey.initialize() );
+  SG::ReadMetaHandle<DMTest::C> c (cKey, ctx);
+  ATH_MSG_INFO ("MetaC: " << c->anInt() << " " << c->aFloat());
+  return StatusCode::SUCCESS;
+}
+
+
+} // namespace DMTest
diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.h b/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.h
new file mode 100644
index 0000000000000000000000000000000000000000..c1f2bd4749b848892cb74df5dbc6312c46c362cd
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/src/MetaReaderAlg.h
@@ -0,0 +1,62 @@
+// This file's extension implies that it's C, but it's really -*- C++ -*-.
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/MetaReaderAlg.h
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Dec, 2017
+ * @brief Test reading metadata objects.
+ */
+
+
+#ifndef DATAMODELTESTDATACOMMON_METAREADERALG_H
+#define DATAMODELTESTDATACOMMON_METAREADERALG_H
+
+
+#include "DataModelTestDataCommon/S1Meta.h"
+#include "DataModelTestDataCommon/CMeta.h"
+#include "AthenaBaseComps/AthReentrantAlgorithm.h"
+#include "StoreGate/ReadMetaHandleKey.h"
+#include "StoreGate/ReadMetaHandle.h"
+
+
+namespace DMTest {
+
+
+class MetaReaderAlg
+  : public AthReentrantAlgorithm
+{
+public:
+  /**
+   * @brief Constructor.
+   * @param name The algorithm name.
+   * @param pSvcLocator The service locator.
+   */
+  MetaReaderAlg (const std::string &name, ISvcLocator *pSvcLocator);
+
+
+  /**
+   * @brief Algorithm initialization; called at the beginning of the job.
+   */
+  virtual StatusCode initialize() override;
+
+
+  /**
+   * @brief Algorithm execute method.
+   * @param ctx Event context.
+   */
+  virtual StatusCode execute_r (const EventContext& ctx) const override;
+
+
+private:
+  SG::ReadMetaHandleKey<DMTest::S1> m_s1Key;
+  SG::ReadMetaHandleKey<DMTest::C>  m_cKey;
+};
+
+
+} // namespace DMTest
+
+
+#endif // not DATAMODELTESTDATACOMMON_METAREADERALG_H
diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.cxx
new file mode 100644
index 0000000000000000000000000000000000000000..6f0a2d128dd1c2e5c7e9cd66cf984a9febe64f9b
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.cxx
@@ -0,0 +1,64 @@
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/MetaWriterAlg.cxx
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Dec, 2017
+ * @brief Write some metadata objects for testing purposes.
+ */
+
+
+#include "MetaWriterAlg.h"
+#include "DataModelTestDataCommon/S1.h"
+#include "DataModelTestDataCommon/C.h"
+#include "DataModelTestDataCommon/CInfoAuxContainer.h"
+
+
+namespace DMTest {
+
+
+/**
+ * @brief Constructor.
+ * @param name The algorithm name.
+ * @param pSvcLocator The service locator.
+ */
+MetaWriterAlg::MetaWriterAlg (const std::string &name, ISvcLocator *pSvcLocator)
+  : AthAlgorithm (name, pSvcLocator),
+    m_metaStore ("MetaDataStore", name)
+{
+  declareProperty ("MetaDataStore", m_metaStore);
+}
+
+
+/**
+ * @brief Algorithm initialization; called at the beginning of the job.
+ */
+StatusCode MetaWriterAlg::initialize()
+{
+  ATH_CHECK( m_metaStore.retrieve() );
+  ATH_CHECK( m_metaStore->record (std::make_unique<DMTest::S1>(24), "MetaS1") );
+
+  auto c = std::make_unique<DMTest::C>();
+  auto cstore = std::make_unique<DMTest::CInfoAuxContainer>();
+  c->setStore (cstore.get());
+  c->setAFloat (2.5);
+  c->setAnInt (3);
+  ATH_CHECK( m_metaStore->record (std::move(cstore), "MetaCAux.") );
+  ATH_CHECK( m_metaStore->record (std::move(c), "MetaC") );
+  
+  return StatusCode::SUCCESS;
+}
+
+
+/**
+ * @brief Algorithm execute method.
+ */
+StatusCode MetaWriterAlg::execute()
+{
+  return StatusCode::SUCCESS;
+}
+
+
+} // namespace DMTest
diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.h b/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.h
new file mode 100644
index 0000000000000000000000000000000000000000..7a1a26080319b87b5c847997e272a65f7a453c40
--- /dev/null
+++ b/Control/DataModelTest/DataModelTestDataCommon/src/MetaWriterAlg.h
@@ -0,0 +1,58 @@
+// This file's extension implies that it's C, but it's really -*- C++ -*-.
+/*
+ * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
+ */
+// $Id$
+/**
+ * @file DataModelTestDataCommon/MetaWriterAlg.h
+ * @author scott snyder <snyder@bnl.gov>
+ * @date Dec, 2017
+ * @brief Write some metadata objects for testing purposes.
+ */
+
+
+#ifndef DATAMODELTESTDATACOMMON_METAWRITERALG_H
+#define DATAMODELTESTDATACOMMON_METAWRITERALG_H
+
+
+#include "AthenaBaseComps/AthAlgorithm.h"
+#include "StoreGate/StoreGateSvc.h"
+#include "GaudiKernel/ServiceHandle.h"
+
+
+namespace DMTest {
+
+
+class MetaWriterAlg
+  : public AthAlgorithm
+{
+public:
+  /**
+   * @brief Constructor.
+   * @param name The algorithm name.
+   * @param pSvcLocator The service locator.
+   */
+  MetaWriterAlg (const std::string &name, ISvcLocator *pSvcLocator);
+
+
+  /**
+   * @brief Algorithm initialization; called at the beginning of the job.
+   */
+  virtual StatusCode initialize() override;
+
+
+  /**
+   * @brief Algorithm execute method.
+   */
+  virtual StatusCode execute() override;
+
+
+private:
+  ServiceHandle<StoreGateSvc> m_metaStore;
+};
+
+
+} // namespace DMTest
+
+
+#endif // not DATAMODELTESTDATACOMMON_METAWRITERALG_H
diff --git a/Control/DataModelTest/DataModelTestDataCommon/src/components/DataModelTestDataCommon_entries.cxx b/Control/DataModelTest/DataModelTestDataCommon/src/components/DataModelTestDataCommon_entries.cxx
index 3c1e8e937364b166b930e0545f79d9605bc4c8b2..c2e417370bb4306b33be76916b595dc46ea30165 100644
--- a/Control/DataModelTest/DataModelTestDataCommon/src/components/DataModelTestDataCommon_entries.cxx
+++ b/Control/DataModelTest/DataModelTestDataCommon/src/components/DataModelTestDataCommon_entries.cxx
@@ -20,6 +20,8 @@
 #include "../CondReaderAlg.h"
 #include "../xAODTestReadSymlinkTool.h"
 #include "../CondAlg1.h"
+#include "../MetaWriterAlg.h"
+#include "../MetaReaderAlg.h"
 
 DECLARE_COMPONENT( DMTest::xAODTestReadSymlink )
 DECLARE_COMPONENT( DMTest::xAODTestReadDecor )
@@ -29,6 +31,8 @@ DECLARE_COMPONENT( DMTest::xAODTestWriteCInfo )
 DECLARE_COMPONENT( DMTest::CondWriterAlg )
 DECLARE_COMPONENT( DMTest::CondReaderAlg )
 DECLARE_COMPONENT( DMTest::CondAlg1 )
+DECLARE_COMPONENT( DMTest::MetaWriterAlg )
+DECLARE_COMPONENT( DMTest::MetaReaderAlg )
 
 DECLARE_COMPONENT( DMTest::xAODTestReadSymlinkTool )
 
diff --git a/Control/IOVSvc/CMakeLists.txt b/Control/IOVSvc/CMakeLists.txt
index da36caa7bd3d146f577d01afdb4695c9d6c6f897..566e1d22c105282e1853253ddd98e078d81da80c 100644
--- a/Control/IOVSvc/CMakeLists.txt
+++ b/Control/IOVSvc/CMakeLists.txt
@@ -14,6 +14,7 @@ atlas_depends_on_subdirs( PUBLIC
                           GaudiKernel
                           PRIVATE
                           AtlasTest/TestTools
+                          Control/AthContainersInterfaces
                           Database/PersistentDataModel
                           Event/EventInfo 
 			  Event/xAOD/xAODEventInfo )
diff --git a/Control/IOVSvc/src/MetaInputLoader.cxx b/Control/IOVSvc/src/MetaInputLoader.cxx
index 394d8a9697b73c6a98623f6918e06f6744cd51b8..90c8e89495e700eb7bbb048804978d362859b953 100644
--- a/Control/IOVSvc/src/MetaInputLoader.cxx
+++ b/Control/IOVSvc/src/MetaInputLoader.cxx
@@ -13,10 +13,13 @@
 // FrameWork includes
 #include "GaudiKernel/Property.h"
 #include "StoreGate/ReadHandle.h"
+#include "AthContainersInterfaces/IConstAuxStoreMeta.h"
 #include "SGTools/DataProxy.h"
+#include "SGTools/CurrentEventStore.h"
 #include "AthenaKernel/errorcheck.h"
 
 #include "PersistentDataModel/DataHeader.h"
+#include <set>
 
 /////////////////////////////////////////////////////////////////// 
 // Public methods: 
@@ -74,7 +77,9 @@ MetaInputLoader::initialize()
   StatusCode sc(StatusCode::SUCCESS);
   std::ostringstream str;
   str << "Will create WriteCondHandle dependencies for the following DataObjects:";
-  for (auto &e : m_load) {
+  // Make sure output is sorted in a reproducible manner.
+  std::set<DataObjID> ordered (m_load.begin(), m_load.end());
+  for (const DataObjID& e : ordered) {
     str << "\n    + " << e;
     if (e.key() == "") {
       sc = StatusCode::FAILURE;
@@ -109,8 +114,27 @@ MetaInputLoader::execute()
   if (m_first) {
     DataObjIDColl::iterator itr;
     for (itr = m_load.begin(); itr != m_load.end(); ) {
-      if ( ! m_metaStore->contains<MetaContBase>( "MetaDataStore+"+itr->key() ) ){
-        ATH_MSG_INFO("ConditionStore does not contain a MetaCont<> of "
+      std::string key = itr->key();
+      bool found = m_metaStore->contains<MetaContBase>( key );
+      // If the MetaCont<> is not found for an aux store object, then
+      // go ahead and create one with a payload type of SG::IConstAuxStore.
+      if (!found && key.size() > 4 && key.substr (key.size()-4) == "Aux.") {
+        auto cont = new MetaCont<SG::IConstAuxStore> (*itr);
+        if (m_metaStore->record (std::move (cont), itr->key()).isFailure()) {
+          ATH_MSG_ERROR ("Could not record aux store MetaCont<> " <<
+                         itr->key());
+        }
+        // Need to symlink it as IConstAuxStore.
+        if (m_metaStore->symLink (ClassID_traits<MetaCont<SG::IConstAuxStore> >::ID(),
+                                  itr->key(),
+                                  ClassID_traits<SG::IConstAuxStore >::ID()).isFailure()) {
+          ATH_MSG_ERROR ("Could not symlink aux store MetaCont<> " <<
+                         itr->key());
+        }
+      }
+
+      if ( ! m_metaStore->contains<MetaContBase>( itr->key() ) ){
+        ATH_MSG_INFO("MetaDataStore does not contain a MetaCont<> of "
                      << *itr
                      << ". Either a ReadMetaHandle was not initialized or "
                      << "no other Algorithm is using this Handle");
@@ -123,7 +147,7 @@ MetaInputLoader::execute()
   }
 
   const DataHeader* thisDH;
-  if(evtStore()->retrieve(thisDH)!=StatusCode::SUCCESS) {
+  if(evtStore()->retrieve(thisDH, "EventSelector")!=StatusCode::SUCCESS) {
     ATH_MSG_ERROR("Unable to get Event Info");
     return StatusCode::FAILURE;
   }
@@ -140,7 +164,7 @@ MetaInputLoader::execute()
     ATH_MSG_DEBUG( "handling id: " << obj );
 
     MetaContBase* mcb(0);
-    if (! m_metaStore->retrieve(mcb, "MetaDataStore+"+obj.key()).isSuccess()) {
+    if (! m_metaStore->retrieve(mcb, obj.key()).isSuccess()) {
       ATH_MSG_ERROR( "unable to get MetaContBase* for " << obj 
                      << " from MetaDataStore" );
       continue;
@@ -202,13 +226,18 @@ StatusCode MetaInputLoader::createMetaObj(MetaContBase* mcb,
     if (dp!=0) {
       mcb->setProxy(dp);
       SG::DataProxy* dpcont = mcb->proxy();
-      DataObject* dobj(0);
-      void* v(0);
-      if (dpcont->loader()->createObj(dpcont->address(), dobj).isFailure()) {
-        ATH_MSG_ERROR(" could not create new DataObject");
-        return StatusCode::FAILURE;
+      DataObject* dobj = nullptr;
+      {
+        SG::CurrentEventStore::Push push (&*m_inputStore);
+        if (m_inputStore->createObj (dpcont->loader(),
+                                     dpcont->address(),
+                                     dobj).isFailure())
+        {
+          ATH_MSG_ERROR(" could not create new DataObject");
+          return StatusCode::FAILURE;
+        }
       }
-      v = SG::Storable_cast(dobj,clid);
+      void* v = SG::Storable_cast(dobj,clid);
       if (!mcb->insert(sid,v)) {
         ATH_MSG_ERROR("Could not insert object " << clid << " with key " << key << " for SID=" << sid);
         return StatusCode::FAILURE;