diff --git a/AtlasTest/ControlTest/test/StoreID_test.cxx b/AtlasTest/ControlTest/test/StoreID_test.cxx index e7608b5fcb510b6c81de0fdac05f08f13da29bed..404d85d3ca66dc9470e76032cfedab49e46d04be 100644 --- a/AtlasTest/ControlTest/test/StoreID_test.cxx +++ b/AtlasTest/ControlTest/test/StoreID_test.cxx @@ -38,8 +38,6 @@ int main() { assert(pStore); assert(pStore->storeID() == StoreID::EVENT_STORE); - pStore->setStoreID(StoreID::SPARE_STORE); - assert(pStore->storeID() == StoreID::SPARE_STORE); assert((pSvcLoc->service("DetectorStore", pStore)).isSuccess()); assert(pStore); diff --git a/Control/AthenaKernel/AthenaKernel/StoreID.h b/Control/AthenaKernel/AthenaKernel/StoreID.h index ee2f46394066b94d7dd53d64e6759a5e45917ea6..16ffbd92a6d0f90c8bd7e05757a377bda3022100 100644 --- a/Control/AthenaKernel/AthenaKernel/StoreID.h +++ b/Control/AthenaKernel/AthenaKernel/StoreID.h @@ -27,8 +27,6 @@ class StoreID DETECTOR_STORE, CONDITION_STORE, METADATA_STORE, - SIMPLE_STORE, - SPARE_STORE, PILEUP_STORE, UNKNOWN } type; diff --git a/Control/AthenaKernel/python/StoreID.py b/Control/AthenaKernel/python/StoreID.py index 0efaad844739fde10017f8bfbc0083747700779c..121f4902ed6616eb17fde7a32e5b81c01643d2e6 100644 --- a/Control/AthenaKernel/python/StoreID.py +++ b/Control/AthenaKernel/python/StoreID.py @@ -11,7 +11,5 @@ EVENT_STORE = 0 DETECTOR_STORE = 1 CONDITION_STORE = 2 METADATA_STORE = 3 -SIMPLE_STORE = 4 -SPARE_STORE = 5 -PILEUP_STORE = 6 -UNKNOWN = 7 +PILEUP_STORE = 4 +UNKNOWN = 5 diff --git a/Control/AthenaKernel/src/StoreID.cxx b/Control/AthenaKernel/src/StoreID.cxx index c9d491eefa809cf1d8e2fd18ef9c24b56dc7f8ae..0333161305a0b052eeddf1de0eb2ce98c111d333 100644 --- a/Control/AthenaKernel/src/StoreID.cxx +++ b/Control/AthenaKernel/src/StoreID.cxx @@ -12,7 +12,6 @@ static const std::vector<std::string> STORENAMES { "ConditionStore", "InputMetaDataStore", "MetaDataStore", - "SpareStore", "PileupStore", "UnknownStore" }; @@ -51,7 +50,7 @@ StoreID::findStoreID(const std::string& storeNamePrefix) { } case 'M': { - return StoreID::SIMPLE_STORE; + return StoreID::METADATA_STORE; break; } case 'P': @@ -61,16 +60,7 @@ StoreID::findStoreID(const std::string& storeNamePrefix) { } case 'S': { - if (storeNamePrefix.at(ist+1)=='p'){ - return StoreID::SPARE_STORE; - }else{ - return StoreID::EVENT_STORE; - } - break; - } - case 'T': - { - return StoreID::METADATA_STORE; + return StoreID::EVENT_STORE; break; } default: diff --git a/Control/SGComps/src/ProxyProviderSvc.cxx b/Control/SGComps/src/ProxyProviderSvc.cxx index f0108b98e26ff73dcfbd0e0791b35da82a347525..df460af3c0e7bc964242ee23059065d752c97530 100644 --- a/Control/SGComps/src/ProxyProviderSvc.cxx +++ b/Control/SGComps/src/ProxyProviderSvc.cxx @@ -261,7 +261,7 @@ SG::DataProxy* ProxyProviderSvc::retrieveProxy(const CLID& id, const std::string& key, IProxyRegistry& store) { - if ( !m_providers.empty() && store.storeID() != StoreID::SIMPLE_STORE ) { + if ( !m_providers.empty() ) { const EventContext& ctx = contextFromStore (store); SG::TransientAddress pTAd (id, key); pAPiterator iProvider(m_providers.begin()), iEnd(m_providers.end()); diff --git a/Control/SGTools/test/DataStore_test.cxx b/Control/SGTools/test/DataStore_test.cxx index 2c5b4ef122c6113bc836b8389b0812bc57deb38e..ce081b63da65389d5c81a2cd9bd4c8851113ffe9 100644 --- a/Control/SGTools/test/DataStore_test.cxx +++ b/Control/SGTools/test/DataStore_test.cxx @@ -59,8 +59,8 @@ void test_ctor() SGTest::TestStore pool; SG::DataStore store (pool); assert (store.storeID() == StoreID::UNKNOWN); - store.setStoreID (StoreID::SPARE_STORE); - assert (store.storeID() == StoreID::SPARE_STORE); + store.setStoreID (StoreID::EVENT_STORE); + assert (store.storeID() == StoreID::EVENT_STORE); } @@ -336,7 +336,7 @@ void test_keys() assert (store.addToStore (125, dp3).isSuccess()); assert (store.addToStore (125, dp4).isSuccess()); TestProvider prov; - dp4->setProvider (&prov, StoreID::SPARE_STORE); + dp4->setProvider (&prov, StoreID::EVENT_STORE); store.keys (125, v, true, false); assert (v.size() == 2); diff --git a/Control/SGTools/test/TransientAddress_test.cxx b/Control/SGTools/test/TransientAddress_test.cxx index 2309340e27cc91c508a41512cc7570e8faeb5438..6f554410ae06ab009168879d7376abec5daaab40 100644 --- a/Control/SGTools/test/TransientAddress_test.cxx +++ b/Control/SGTools/test/TransientAddress_test.cxx @@ -164,9 +164,9 @@ void test1() assert (tad3.address() == 0); TestProvider tp; - tad3.setProvider (&tp, StoreID::SPARE_STORE); + tad3.setProvider (&tp, StoreID::EVENT_STORE); assert (tad3.provider() == &tp); - assert (tad3.storeID() == StoreID::SPARE_STORE); + assert (tad3.storeID() == StoreID::EVENT_STORE); assert (tad3.isValid(nullptr)); tad3.consultProvider (false); assert (!tad3.isValid(nullptr)); @@ -193,7 +193,7 @@ void test2() TestAddress ad1(1); SG::TransientAddress tad1 (123, "key", &ad1); TestProvider tp; - tad1.setProvider (&tp, StoreID::SPARE_STORE); + tad1.setProvider (&tp, StoreID::EVENT_STORE); tad1.setSGKey (876); tad1.setTransientID (124); tad1.setAlias ("key2"); @@ -201,7 +201,7 @@ void test2() assert (tad1.name() == "key"); assert (tad1.clID() == 123); assert (tad1.address() == &ad1); - assert (tad1.storeID() == StoreID::SPARE_STORE); + assert (tad1.storeID() == StoreID::EVENT_STORE); assert (tad1.sgkey() == 876); assert (tad1.transientID().size() == 2); assert (tad1.transientID (123)); @@ -214,7 +214,7 @@ void test2() assert (tad2.name() == "key"); assert (tad2.clID() == 123); assert (tad2.address() == &ad1); - assert (tad2.storeID() == StoreID::SPARE_STORE); + assert (tad2.storeID() == StoreID::EVENT_STORE); assert (tad2.sgkey() == 876); assert (tad2.transientID().size() == 2); assert (tad2.transientID (123)); @@ -232,7 +232,7 @@ void test2() assert (tad1.name() == "key"); assert (tad1.clID() == 123); assert (tad1.address() == &ad1); - assert (tad1.storeID() == StoreID::SPARE_STORE); + assert (tad1.storeID() == StoreID::EVENT_STORE); assert (tad1.sgkey() == 876); assert (tad1.transientID().size() == 2); assert (tad1.transientID (123)); @@ -255,7 +255,7 @@ void test3() TestAddress ad1(1); SG::TransientAddress tad1 (123, "key", &ad1); TestProvider tp; - tad1.setProvider (&tp, StoreID::SPARE_STORE); + tad1.setProvider (&tp, StoreID::EVENT_STORE); tad1.setSGKey (876); tad1.setTransientID (124); tad1.setAlias ("key2"); @@ -263,7 +263,7 @@ void test3() assert (tad1.name() == "key"); assert (tad1.clID() == 123); assert (tad1.address() == &ad1); - assert (tad1.storeID() == StoreID::SPARE_STORE); + assert (tad1.storeID() == StoreID::EVENT_STORE); assert (tad1.sgkey() == 876); assert (tad1.transientID().size() == 2); assert (tad1.transientID (123)); @@ -276,7 +276,7 @@ void test3() assert (tad2.name() == "key"); assert (tad2.clID() == 123); assert (tad2.address() == &ad1); - assert (tad2.storeID() == StoreID::SPARE_STORE); + assert (tad2.storeID() == StoreID::EVENT_STORE); assert (tad2.sgkey() == 876); assert (tad2.transientID().size() == 2); assert (tad2.transientID (123)); @@ -290,7 +290,7 @@ void test3() assert (tad3.name() == "key"); assert (tad3.clID() == 123); assert (tad3.address() == &ad1); - assert (tad3.storeID() == StoreID::SPARE_STORE); + assert (tad3.storeID() == StoreID::EVENT_STORE); assert (tad3.sgkey() == 876); assert (tad3.transientID().size() == 2); assert (tad3.transientID (123));