diff --git a/AtlasTest/EventTest/EventLoopTest/cmt/requirements b/AtlasTest/EventTest/EventLoopTest/cmt/requirements
new file mode 100755
index 0000000000000000000000000000000000000000..4b708ac6887587f506f65211b5a6a6fd51f2e3d9
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/cmt/requirements
@@ -0,0 +1,27 @@
+package EventLoopTest
+
+author Paolo Calafiura <pcalafiura@lbl.gov>
+
+use AtlasPolicy         AtlasPolicy-01-*
+use MinimalRunTime      MinimalRunTime-*         Control  -no_auto_imports
+use EventAthenaPool     EventAthenaPool-*        Event
+
+#integration tests
+apply_pattern install_applications
+apply_pattern install_xmls
+apply_pattern declare_joboptions files="*.py"
+
+private
+use TestTools       TestTools-*          AtlasTest
+use AthExBeginRun AthExBeginRun-*   Control/AthenaExamples -no_auto_imports 	 
+#we need mostly to prepare for the real BeginRun test 	 
+apply_pattern athenarun_test name="BeginRunWriteCond" \ 	 
+              pre_script="../cmt/setup.sh"      \ 	 
+              options="AthExBeginRun/AthExBeginRunWriteCond.py" \ 	 
+              post_script="${TESTTOOLSROOT}/share/post.sh BeginRunWriteCond $(q)^Py:ConfigurableDb +(WARNING|INFO|ERROR)|Py:Athena +INFO including file .*athenarc|Warning in .TEnvRec::ChangeValue.: duplicate entry|^CORAL/Services/ConnectionService|^RalSessionMgr|^XMLFileCatalog|^PoolXMLFileCatalog|^IOVDbConnection|^RelationalDatabase$(q)" 	 
+#here is what we want to test 	 
+apply_pattern athenarun_test name="BeginRun" \ 	 
+              pre_script="../cmt/setup.sh"      \ 	 
+              options="AthExBeginRun/AthExBeginRunOptions.py" \ 	 
+              post_script="${TESTTOOLSROOT}/share/post.sh BeginRun $(q)^Py:ConfigurableDb +(WARNING|INFO|ERROR)|Py:Athena +INFO including file .*athenarc|Warning in .TEnvRec::ChangeValue.: duplicate entry|^CORAL/Services/ConnectionService|^RalSessionMgr|^XMLFileCatalog|^IOVDbConnection|^RelationalDatabase$(q)" 	 
+macro_append BeginRun_test_dependencies " BeginRunWriteCond_test "
diff --git a/AtlasTest/EventTest/EventLoopTest/share/BeginRun.ref b/AtlasTest/EventTest/EventLoopTest/share/BeginRun.ref
new file mode 100644
index 0000000000000000000000000000000000000000..4adb64e187e51d002ffc3c5513440a9f862b1f5b
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/share/BeginRun.ref
@@ -0,0 +1,415 @@
+Py:ConfigurableDb    INFO Read module info for 3203 configurables from 10 genConfDb files
+Py:ConfigurableDb    INFO No duplicates have been found: that's good !
+Py:Athena            INFO including file "AthenaCommon/Bootstrap.py"
+Py:Athena            INFO including file "AthenaCommon/Atlas.UnixStandardJob.py"
+Py:Athena            INFO including file "$HOME/.athenarc"
+Py:Athena            INFO including file "AthExBeginRun/AthExBeginRunOptions.py"
+/***** AlgSequence /TopAlg *************************************************************************
+|-<no properties>
+|=/***** Algorithm BeginRunAlg/BeginRunAlg ***********************************************************
+| |-AuditAlgorithms   = False
+| |-AuditBeginRun     = False
+| |-AuditEndRun       = False
+| |-AuditExecute      = False
+| |-AuditFinalize     = False
+| |-AuditInitialize   = False
+| |-AuditReinitialize = False
+| |-Enable            = True
+| |-ErrorCount        = 0
+| |-ErrorMax          = 1
+| |-Key               = '/AthExBeginRun/AthExSimpleCond'  (default: '/AthExBeginRun/AthExSimpleCond')
+| |-MonitorService    = 'MonitorSvc'
+| |-MyAlgTool         = PublicToolHandle('BeginRunTool/BeginRunTool')  (default: 'MyAlgTool')
+| |-OutputLevel       = 0
+| \----- (End of Algorithm BeginRunAlg/BeginRunAlg) --------------------------------------------------
+\----- (End of AlgSequence /TopAlg) ----------------------------------------------------------------
+Py:Athena            INFO including file "AthenaCommon/runbatch.py"
+ApplicationMgr       INFO Updating ROOT::Reflex::PluginService::SetDebug(level) to level=0
+ApplicationMgr    SUCCESS 
+====================================================================================================================================
+                                                   Welcome to ApplicationMgr $Revision: 1.1 $
+                                          running on lxplus237.cern.ch on Wed Apr  2 23:47:49 2008
+====================================================================================================================================
+ApplicationMgr       INFO Successfully loaded modules : AthenaServices
+ApplicationMgr       INFO Application Manager Configured successfully
+ApplicationMgr       INFO Updating ROOT::Reflex::PluginService::SetDebug(level) to level=0
+StatusCodeSvc                    INFO initialize
+StoreGateSvc                     INFO Initializing StoreGateSvc - package version StoreGate-02-25-06
+EventPersistencySvc              INFO  'CnvServices':[ 'McCnvSvc' , 'AthenaPoolCnvSvc' ]
+ClassIDSvc                       INFO Initializing ClassIDSvc - package version CLIDComps-00-04-04
+ClassIDSvc                       INFO  getRegistryEntries: read 22 CLIDRegistry entries for module ALL
+ClassIDSvc                       INFO  getRegistryEntries: read 22 CLIDRegistry entries for module ALL
+ProxyProviderSvc                 INFO Initializing ProxyProviderSvc - package version SGComps-00-00-10
+MetaDataSvc                      INFO Initializing MetaDataSvc - package version EventSelectorAthenaPool-00-06-14
+AthenaPoolCnvSvc                 INFO Initializing AthenaPoolCnvSvc - package version AthenaPoolCnvSvc-00-13-09
+ChronoStatSvc                    INFO  Number of skipped events for MemStat-1
+AthenaSealSvc                    INFO begin initialize() - loading dictionary fillers: size 4
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 7521 types added 1443 dictionary filler name:STLRflx
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 8964 types added 686 dictionary filler name:STLAddRflx
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 9650 types added 778 dictionary filler name:AtlasSTLAddReflexDict
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 10428 types added 567 dictionary filler name:AtlasSealCLHEPDict
+PoolSvc                          INFO No POOL WriteCatalog was specified--using POOL default.
+WARNING: $POOL_CATALOG is not defined
+using default `xmlcatalog_file:PoolFileCatalog.xml'
+XMLFileCatalog: level[Info] Connecting to the catalog
+PoolXMLFileCatalog: level[Info] Xerces-c initialization Number 0
+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 /afs/cern.ch/atlas/software/builds/nightlies/devval/AtlasCore/rel_2/InstallArea/share/dbreplica.config
+DBReplicaSvc                     INFO Total of 4 servers found for host lxplus237.cern.ch
+PoolSvc                          INFO Successfully setup replica sorting algorithm
+   DbSession     Info     Open     DbSession    
+AthenaRootStreamerSvc            INFO POOL/ROOT class loader initialized
+   DbSession     Info     Closed   DbSession    
+AthenaRootStreamerSvc            INFO 9 ROOT streamers declared
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPVec3dStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepVector3D added converter for checksum = 358881035
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepVector3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPPoint3dStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepPoint3D added converter for checksum = 1634550480
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepPoint3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPRotationStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepRotation added converter for checksum = 4141898558
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepRotation
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPGenMatrixStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepGenMatrix added converter for checksum = 21721098
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepGenMatrix
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPMatrixStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepMatrix added converter for checksum = 3811046672
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepMatrix
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPLorVecStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepLorentzVector added converter for checksum = 3077056266
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepLorentzVector
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPTransform3DStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepTransform3D added converter for checksum = 520750269
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepTransform3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEP3VectorStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for Hep3Vector added converter for checksum = 760000369
+AthenaRootStreamerSvc            INFO Adopted streamer for class Hep3Vector
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPBasicVectorStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for BasicVector3D added converter for checksum = 2681080162
+AthenaRootStreamerSvc            INFO Adopted streamer for class BasicVector3D
+AthenaPoolCnvSvc                 INFO Loading POOL XMLAuthenticationService.
+InputMetaDataStore               INFO Initializing InputMetaDataStore - package version StoreGate-02-25-06
+TagMetaDataStore                 INFO Initializing TagMetaDataStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO Opened read transaction for POOL PersistencySvc.
+IOVDbSvc                         INFO DbConnections are managed (opened when needed)
+IOVDbSvc                         INFO POOL file connections are managed (closed at end of event)
+EventSelector                    INFO  Enter McEventSelector Initialization 
+EventSelector                    INFO  McEventSelector Initialized Properly ... 
+IOVDbSvc                         INFO Service IOVDbSvc initialised successfully
+IOVDbSvc                         INFO  
+AthenaEventLoopMgr               INFO Initializing AthenaEventLoopMgr - package version AthenaServices-01-25-01
+BeginRunAlg                      INFO initialize()
+DetectorStore                    INFO Initializing DetectorStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO  
+MetaDataStore                    INFO Initializing MetaDataStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO  
+ActiveStoreSvc                   INFO Initializing ActiveStoreSvc - package version StoreGate-02-25-06
+RalDatabaseSvc     Info Instantiate the RalDatabaseSvc
+RalSessionMgr     Info Instantiate a R/O RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Connect to the database server
+CORAL/Services/ConnectionService     Info Loading default plugin for coral::IRelationalService: CORAL/Services/RelationalService
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "frontier" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "mysql" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "oracle" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "sqlite" with native implementation
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "frontier" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "mysql" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "oracle" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "sqlite" is native
+CORAL/Services/ConnectionService     Info  Connection to service "mytest.db" established. Id=730d6a0a-00fe-11dd-99e1-000423dc2158
+CORAL/Services/ConnectionService     Info New session on connection to service "mytest.db" started for user "". Connection Id=730d6a0a-00fe-11dd-99e1-000423dc2158
+RalSessionMgr     Info Start a read-only transaction active for the duration of the database connection
+RelationalDatabase     Info Instantiate a R/O RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+ClassIDSvc                       INFO  getRegistryEntries: read 53 CLIDRegistry entries for module ALL
+ToolSvc.BeginRunTool             INFO initialize()
+EventPersistencySvc              INFO Added successfully Conversion service:McCnvSvc
+EventPersistencySvc              INFO Added successfully Conversion service:AthenaPoolCnvSvc
+IOVSvc                           INFO IOVRanges will be checked at every Event
+IOVSvc                           INFO Proxy CLID: 132798543 key: /AthExBeginRun/AthExSimpleCond has not been registered. Doing it now.
+ClassIDSvc                       INFO  getRegistryEntries: read 54 CLIDRegistry entries for module ALL
+HistogramPersistencySvc          INFO  'CnvServices':[ 'HbookHistSvc' , 'RootHistSvc' ]
+HistogramPersistencySvc       WARNING Histograms saving not required.
+AthenaEventLoopMgr            WARNING Histograms saving not required.
+AthenaEventLoopMgr               INFO Setup EventSelector service EventSelector
+ApplicationMgr                   INFO Application Manager Initialized successfully
+AthenaEventLoopMgr               INFO   ===>>>  start of run 1    <<<===
+IOVSvc                           INFO Proxy CLID: 61780915 key: ProcessingTags has not been registered. Doing it now.
+BeginRunAlg                      INFO IOV callback triggered by /AthExBeginRun/AthExSimpleCond 
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+AthenaSealSvc                    INFO checkClass - Number of types on entry 12263
+AthenaSealSvc                    INFO checkClass - found type IOVDbTestAmdbCorrection
+AthenaSealSvc                    INFO checkClass - found ClassID C3B137B3-F09E-4B75-B14C-AAA2B64408BB
+AthenaSealSvc                    INFO Checking members of type IOVDbTestAmdbCorrection for 3 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type string for 1 members: ok  - isComplete 1
+AthenaSealSvc                    INFO checkClass - NO MISSING FIELDS!!!
+AthenaSealSvc                    INFO checkClass - Number of types on exit 12272
+   DbSession     Info     Open     DbSession    
+Domain[ROOT_All]     Info >   Access   DbDomain     READ      [ROOT_All] 
+Domain[ROOT_All]     Info ->  Access   DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info                           AthExCondStream.root
+AthExCondStream.root   Always Root file version:51800
+AthenaRootStreamerSvc            INFO Found unknown streamer checksum 2357390539 for class HepPoint3D - using default ROOT streamer
+AthenaRootStreamerSvc            INFO Found unknown streamer checksum 2965104389 for class BasicVector3D - using default ROOT streamer
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+HistorySvc                       INFO Registered 1 Algorithms
+HistorySvc                       INFO Registered 1 AlgTools
+HistorySvc                       INFO Registered 32 Services
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+RelationalDatabase     Info Delete the RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Delete the RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Commit the read-only transaction active for the duration of the database connection
+RalSessionMgr     Info Disconnect from the database server
+XMLFileCatalog     Info There were no updates in the catalog
+AthExCondStream.root     Info Database being retired...
+Domain[ROOT_All]     Info ->  Deaccess DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info >   Deaccess DbDomain     READ      [ROOT_All] 
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 2    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 3    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0,0,0)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 4    <<<===
+BeginRunAlg                      INFO IOV callback triggered by /AthExBeginRun/AthExSimpleCond 
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+RalSessionMgr     Info Instantiate a R/O RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Connect to the database server
+CORAL/Services/ConnectionService     Info  Connection to service "mytest.db" established. Id=73d53fee-00fe-11dd-99e1-000423dc2158
+CORAL/Services/ConnectionService     Info New session on connection to service "mytest.db" started for user "". Connection Id=73d53fee-00fe-11dd-99e1-000423dc2158
+RalSessionMgr     Info Start a read-only transaction active for the duration of the database connection
+RelationalDatabase     Info Instantiate a R/O RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+   DbSession     Info     Open     DbSession    
+Domain[ROOT_All]     Info >   Access   DbDomain     READ      [ROOT_All] 
+Domain[ROOT_All]     Info ->  Access   DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info                           AthExCondStream.root
+AthExCondStream.root   Always Root file version:51800
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+RelationalDatabase     Info Delete the RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Delete the RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Commit the read-only transaction active for the duration of the database connection
+RalSessionMgr     Info Disconnect from the database server
+AthExCondStream.root     Info Database being retired...
+Domain[ROOT_All]     Info ->  Deaccess DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info >   Deaccess DbDomain     READ      [ROOT_All] 
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 5    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 6    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 7    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.1,0.1,0.1)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 8    <<<===
+BeginRunAlg                      INFO IOV callback triggered by /AthExBeginRun/AthExSimpleCond 
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+RalSessionMgr     Info Instantiate a R/O RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Connect to the database server
+CORAL/Services/ConnectionService     Info  Connection to service "mytest.db" established. Id=73d7c5a2-00fe-11dd-99e1-000423dc2158
+CORAL/Services/ConnectionService     Info New session on connection to service "mytest.db" started for user "". Connection Id=73d7c5a2-00fe-11dd-99e1-000423dc2158
+RalSessionMgr     Info Start a read-only transaction active for the duration of the database connection
+RelationalDatabase     Info Instantiate a R/O RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+   DbSession     Info     Open     DbSession    
+Domain[ROOT_All]     Info >   Access   DbDomain     READ      [ROOT_All] 
+Domain[ROOT_All]     Info ->  Access   DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info                           AthExCondStream.root
+AthExCondStream.root   Always Root file version:51800
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+RelationalDatabase     Info Delete the RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Delete the RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Commit the read-only transaction active for the duration of the database connection
+RalSessionMgr     Info Disconnect from the database server
+AthExCondStream.root     Info Database being retired...
+Domain[ROOT_All]     Info ->  Deaccess DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info >   Deaccess DbDomain     READ      [ROOT_All] 
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 9    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 10    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 11    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 12    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.2,0.2,0.2)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 13    <<<===
+BeginRunAlg                      INFO IOV callback triggered by /AthExBeginRun/AthExSimpleCond 
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+RalSessionMgr     Info Instantiate a R/O RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Connect to the database server
+CORAL/Services/ConnectionService     Info  Connection to service "mytest.db" established. Id=73da1f0a-00fe-11dd-99e1-000423dc2158
+CORAL/Services/ConnectionService     Info New session on connection to service "mytest.db" started for user "". Connection Id=73da1f0a-00fe-11dd-99e1-000423dc2158
+RalSessionMgr     Info Start a read-only transaction active for the duration of the database connection
+RelationalDatabase     Info Instantiate a R/O RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+   DbSession     Info     Open     DbSession    
+Domain[ROOT_All]     Info >   Access   DbDomain     READ      [ROOT_All] 
+Domain[ROOT_All]     Info ->  Access   DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info                           AthExCondStream.root
+AthExCondStream.root   Always Root file version:51800
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+RelationalDatabase     Info Delete the RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Delete the RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Commit the read-only transaction active for the duration of the database connection
+RalSessionMgr     Info Disconnect from the database server
+AthExCondStream.root     Info Database being retired...
+Domain[ROOT_All]     Info ->  Deaccess DbDatabase   READ      [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info >   Deaccess DbDomain     READ      [ROOT_All] 
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 14    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+AthenaEventLoopMgr               INFO   ===>>>  start of run 15    <<<===
+ToolSvc.BeginRunTool             INFO BeginRun Incident received
+BeginRunAlg                      INFO beginRun()
+BeginRunAlg                      INFO beginRun: Conditions from detector store: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 2  <<<===
+BeginRunAlg                      INFO execute: Conditions via DataHandle: trans = (1,2,3) rot = (0.3,0.3,0.3)
+AthenaEventLoopMgr               INFO   ===>>>  end of event 2    <<<===
+BeginRunAlg                      INFO endRun()
+BeginRunAlg                      INFO finalize()
+DetectorStore                    INFO Finalizing DetectorStore - package version StoreGate-02-25-06
+MetaDataStore                    INFO Finalizing MetaDataStore - package version StoreGate-02-25-06
+IOVDbConnection                  INFO printStats: number of connections 1
+IOVDbConnection                  INFO Connection: sqlite://;schema=mytest.db;dbname=TESTCOOL nCreate: 1 nDelete: 1 nActivate: 4
+IOVDbSvc                         INFO Service finalised successfully
+EventSelector                    INFO finalize
+TagMetaDataStore                 INFO Finalizing TagMetaDataStore - package version StoreGate-02-25-06
+InputMetaDataStore               INFO Finalizing InputMetaDataStore - package version StoreGate-02-25-06
+HistorySvc                       INFO Service finalised successfully
+PoolSvc                          INFO finalize() in PoolSvc
+XMLFileCatalog     Info There were no updates in the catalog
+PoolXMLFileCatalog     Info XercesC termination number 0
+AthenaSealSvc                    INFO finalize() in AthenaSealSvc
+StoreGateSvc                     INFO Finalizing StoreGateSvc - package version StoreGate-02-25-06
+ToolSvc.finalize()               INFO Removing all tools created by ToolSvc
+*****Chrono*****                 INFO ****************************************************************************************************
+*****Chrono*****                 INFO  The Final CPU consumption ( Chrono ) Table (ordered)
+*****Chrono*****                 INFO ****************************************************************************************************
+AthenaSealSvc::autoLoading       INFO Time User   : Tot=    6 [ms]                                             #=  1
+AthenaSealSvc::dictLoading       INFO Time User   : Tot=  465 [ms]                                             #=  1
+AthenaSealSvc::checkClass        INFO Time User   : Tot=0.793  [s]                                             #=  1
+ChronoStatSvc                    INFO Time User   : Tot= 3.97  [s]                                             #=  1
+*****Chrono*****                 INFO ****************************************************************************************************
+ChronoStatSvc.finalize()         INFO  Service finalized succesfully 
+cleaning up
+StatusCodeSvc                    INFO initialize
+ApplicationMgr                   INFO Application Manager Finalized successfully
+ApplicationMgr                   INFO Application Manager Terminated successfully
+Py:Athena            INFO leaving with code 0: "successful run"
diff --git a/AtlasTest/EventTest/EventLoopTest/share/BeginRunWriteCond.ref b/AtlasTest/EventTest/EventLoopTest/share/BeginRunWriteCond.ref
new file mode 100644
index 0000000000000000000000000000000000000000..ed8a18a188dd1456fd7186c31105966abf0598e6
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/share/BeginRunWriteCond.ref
@@ -0,0 +1,203 @@
+Py:ConfigurableDb    INFO Read module info for 3203 configurables from 10 genConfDb files
+Py:ConfigurableDb    INFO No duplicates have been found: that's good !
+Py:Athena            INFO including file "AthenaCommon/Bootstrap.py"
+Py:Athena            INFO including file "AthenaCommon/Atlas.UnixStandardJob.py"
+Py:Athena            INFO including file "$HOME/.athenarc"
+Py:Athena            INFO including file "AthExBeginRun/AthExBeginRunWriteCond.py"
+/***** AlgSequence /TopAlg *************************************************************************
+|-<no properties>
+|=/***** Algorithm AthExCreateCondAlg/AthExCreateCondAlg *********************************************
+| |-AuditAlgorithms   = False
+| |-AuditBeginRun     = False
+| |-AuditEndRun       = False
+| |-AuditExecute      = False
+| |-AuditFinalize     = False
+| |-AuditInitialize   = False
+| |-AuditReinitialize = False
+| |-Enable            = True
+| |-ErrorCount        = 0
+| |-ErrorMax          = 1
+| |-IovRuns           = [1, 4, 8, 13]  (default: [])
+| |-Key               = '/AthExBeginRun/AthExSimpleCond'  (default: '/AthExBeginRun/AthExSimpleCond')
+| |-MonitorService    = 'MonitorSvc'
+| |-OutputLevel       = 0
+| |-Tag               = 'COOL-TEST-1'  (default: 'COOL-TEST-1')
+| \----- (End of Algorithm AthExCreateCondAlg/AthExCreateCondAlg) ------------------------------------
+\----- (End of AlgSequence /TopAlg) ----------------------------------------------------------------
+Py:Athena            INFO including file "AthenaCommon/runbatch.py"
+ApplicationMgr       INFO Updating ROOT::Reflex::PluginService::SetDebug(level) to level=0
+ApplicationMgr    SUCCESS 
+====================================================================================================================================
+                                                   Welcome to ApplicationMgr $Revision: 1.1 $
+                                          running on lxplus237.cern.ch on Wed Apr  2 23:47:34 2008
+====================================================================================================================================
+ApplicationMgr       INFO Successfully loaded modules : AthenaServices
+ApplicationMgr       INFO Application Manager Configured successfully
+ApplicationMgr       INFO Updating ROOT::Reflex::PluginService::SetDebug(level) to level=0
+StatusCodeSvc                    INFO initialize
+StoreGateSvc                     INFO Initializing StoreGateSvc - package version StoreGate-02-25-06
+EventPersistencySvc              INFO  'CnvServices':[ 'AthenaPoolCnvSvc' ]
+ClassIDSvc                       INFO Initializing ClassIDSvc - package version CLIDComps-00-04-04
+ClassIDSvc                       INFO  getRegistryEntries: read 22 CLIDRegistry entries for module ALL
+ClassIDSvc                       INFO  getRegistryEntries: read 22 CLIDRegistry entries for module ALL
+ProxyProviderSvc                 INFO Initializing ProxyProviderSvc - package version SGComps-00-00-10
+MetaDataSvc                      INFO Initializing MetaDataSvc - package version EventSelectorAthenaPool-00-06-14
+AthenaPoolCnvSvc                 INFO Initializing AthenaPoolCnvSvc - package version AthenaPoolCnvSvc-00-13-09
+ChronoStatSvc                    INFO  Number of skipped events for MemStat-1
+AthenaSealSvc                    INFO begin initialize() - loading dictionary fillers: size 4
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 7521 types added 1443 dictionary filler name:STLRflx
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 8964 types added 686 dictionary filler name:STLAddRflx
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 9650 types added 778 dictionary filler name:AtlasSTLAddReflexDict
+AthenaSealSvc                    INFO loadDictFiller - Ntypes before 10428 types added 567 dictionary filler name:AtlasSealCLHEPDict
+PoolSvc                          INFO No POOL WriteCatalog was specified--using POOL default.
+WARNING: $POOL_CATALOG is not defined
+using default `xmlcatalog_file:PoolFileCatalog.xml'
+XMLFileCatalog: level[Info] Connecting to the catalog
+PoolXMLFileCatalog: level[Info] Xerces-c initialization Number 0
+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 /afs/cern.ch/atlas/software/builds/nightlies/devval/AtlasCore/rel_2/InstallArea/share/dbreplica.config
+DBReplicaSvc                     INFO Total of 4 servers found for host lxplus237.cern.ch
+PoolSvc                          INFO Successfully setup replica sorting algorithm
+   DbSession     Info     Open     DbSession    
+AthenaRootStreamerSvc            INFO POOL/ROOT class loader initialized
+   DbSession     Info     Closed   DbSession    
+AthenaRootStreamerSvc            INFO 9 ROOT streamers declared
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPVec3dStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepVector3D added converter for checksum = 358881035
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepVector3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPPoint3dStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepPoint3D added converter for checksum = 1634550480
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepPoint3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPRotationStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepRotation added converter for checksum = 4141898558
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepRotation
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPGenMatrixStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepGenMatrix added converter for checksum = 21721098
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepGenMatrix
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPMatrixStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepMatrix added converter for checksum = 3811046672
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepMatrix
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPLorVecStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepLorentzVector added converter for checksum = 3077056266
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepLorentzVector
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPTransform3DStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for HepTransform3D added converter for checksum = 520750269
+AthenaRootStreamerSvc            INFO Adopted streamer for class HepTransform3D
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEP3VectorStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for Hep3Vector added converter for checksum = 760000369
+AthenaRootStreamerSvc            INFO Adopted streamer for class Hep3Vector
+AthenaRootStreamerSvc            INFO   - Streamer name:CLHEPBasicVectorStreamer
+AthenaRootStreamerSvc            INFO ROOT Streamer for BasicVector3D added converter for checksum = 2681080162
+AthenaRootStreamerSvc            INFO Adopted streamer for class BasicVector3D
+AthenaPoolCnvSvc                 INFO Loading POOL XMLAuthenticationService.
+InputMetaDataStore               INFO Initializing InputMetaDataStore - package version StoreGate-02-25-06
+TagMetaDataStore                 INFO Initializing TagMetaDataStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO Opened read transaction for POOL PersistencySvc.
+IOVDbSvc                         INFO DbConnections are managed (opened when needed)
+IOVDbSvc                         INFO POOL file connections are managed (closed at end of event)
+IOVDbSvc                         INFO Service IOVDbSvc initialised successfully
+IOVDbSvc                         INFO  
+AthenaEventLoopMgr               INFO Initializing AthenaEventLoopMgr - package version AthenaServices-01-25-01
+AthExCreateCondAlg               INFO initialize()
+DetectorStore                    INFO Initializing DetectorStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO  
+MetaDataStore                    INFO Initializing MetaDataStore - package version StoreGate-02-25-06
+IOVDbSvc                         INFO  
+ActiveStoreSvc                   INFO Initializing ActiveStoreSvc - package version StoreGate-02-25-06
+HistogramPersistencySvc          INFO  'CnvServices':[ 'HbookHistSvc' , 'RootHistSvc' ]
+HistogramPersistencySvc       WARNING Histograms saving not required.
+AthenaEventLoopMgr            WARNING Histograms saving not required.
+ApplicationMgr                   INFO Application Manager Initialized successfully
+ClassIDSvc                       INFO  getRegistryEntries: read 49 CLIDRegistry entries for module ALL
+AthenaEventLoopMgr               INFO   ===>>>  start of run 0    <<<===
+AthenaEventLoopMgr               INFO   ===>>>  start of event 1  <<<===
+HistorySvc                       INFO Registered 1 Algorithms
+HistorySvc                       INFO Registered 1 AlgTools
+HistorySvc                       INFO Registered 29 Services
+ToolSvc.AthExCondStream          INFO AthenaPoolOutputStreamTool initialize
+AthExCreateCondAlg               INFO Creating conditions object IOVDbTestAmdbCorrection: trans = (1,2,3) rot = (0,0,0) for run 1 and higher
+ClassIDSvc                       INFO  getRegistryEntries: read 57 CLIDRegistry entries for module ALL
+   DbSession     Info     Open     DbSession    
+Domain[ROOT_All]     Info >   Access   DbDomain     UPDATE    [ROOT_All] 
+AthenaSealSvc                    INFO checkClass - Number of types on entry 12264
+AthenaSealSvc                    INFO checkClass - found type IOVDbTestAmdbCorrection
+AthenaSealSvc                    INFO checkClass - found ClassID C3B137B3-F09E-4B75-B14C-AAA2B64408BB
+AthenaSealSvc                    INFO Checking members of type IOVDbTestAmdbCorrection for 3 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type string for 1 members: ok  - isComplete 1
+AthenaSealSvc                    INFO checkClass - NO MISSING FIELDS!!!
+AthenaSealSvc                    INFO checkClass - Number of types on exit 12273
+Domain[ROOT_All]     Info ->  Access   DbDatabase   CREATE    [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info                           AthExCondStream.root
+AthExCondStream.root   Always Root file version:51800
+  StorageSvc     Info Building shape according to reflection information using shape ID for:
+  StorageSvc     Info IOVDbTestAmdbCorrection [C3B137B3-F09E-4B75-B14C-AAA2B64408BB]
+AthenaSealSvc                    INFO checkClass - Number of types on entry 12274
+AthenaSealSvc                    INFO checkClass - found type DataHeader_p2
+AthenaSealSvc                    INFO checkClass - found ClassID 72FBBC6F-C8BE-4122-8790-DC627696C176
+AthenaSealSvc                    INFO Checking members of type DataHeader_p2 for 4 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type string for 1 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type DataHeaderElement_p2 for 9 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type PoolToken_p1 for 5 members: ok  - isComplete 1
+AthenaSealSvc                    INFO Checking members of type basic_string<char> for 1 members: ok  - isComplete 1
+AthenaSealSvc                    INFO checkClass - NO MISSING FIELDS!!!
+AthenaSealSvc                    INFO checkClass - Number of types on exit 12367
+  StorageSvc     Info Building shape according to reflection information using shape ID for:
+  StorageSvc     Info DataHeader_p2 [72FBBC6F-C8BE-4122-8790-DC627696C176]
+XMLFileCatalog     Info There were no updates in the catalog
+ClassIDSvc                       INFO  getRegistryEntries: read 74 CLIDRegistry entries for module ALL
+EventPersistencySvc              INFO Added successfully Conversion service:AthenaPoolCnvSvc
+RalDatabaseSvc     Info Instantiate the RalDatabaseSvc
+RalSessionMgr     Info Instantiate a R/W RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Connect to the database server
+CORAL/Services/ConnectionService     Info Loading default plugin for coral::IRelationalService: CORAL/Services/RelationalService
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "frontier" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "mysql" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "oracle" with native implementation
+CORAL/Services/RelationalService     Info Found plugin for RDBMS technology "sqlite" with native implementation
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "frontier" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "mysql" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "oracle" is native
+CORAL/Services/RelationalService     Info Default implementation for RDBMS technology "sqlite" is native
+CORAL/Services/ConnectionService     Info  Connection to service "mytest.db" established. Id=6af9f248-00fe-11dd-a44d-000423dc2158
+CORAL/Services/ConnectionService     Info New session on connection to service "mytest.db" started for user "". Connection Id=6af9f248-00fe-11dd-a44d-000423dc2158
+RelationalDatabase     Info Instantiate a R/W RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+AthExCreateCondAlg               INFO Creating conditions object IOVDbTestAmdbCorrection: trans = (1,2,3) rot = (0.1,0.1,0.1) for run 4 and higher
+AthExCreateCondAlg               INFO Creating conditions object IOVDbTestAmdbCorrection: trans = (1,2,3) rot = (0.2,0.2,0.2) for run 8 and higher
+AthExCreateCondAlg               INFO Creating conditions object IOVDbTestAmdbCorrection: trans = (1,2,3) rot = (0.3,0.3,0.3) for run 13 and higher
+RelationalDatabase     Info Delete the RalDatabase for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Delete the RalSessionMgr for 'sqlite://;schema=mytest.db;dbname=TESTCOOL'
+RalSessionMgr     Info Disconnect from the database server
+AthenaEventLoopMgr               INFO   ===>>>  end of event 1    <<<===
+AthExCreateCondAlg               INFO finalize()
+DetectorStore                    INFO Finalizing DetectorStore - package version StoreGate-02-25-06
+MetaDataStore                    INFO Finalizing MetaDataStore - package version StoreGate-02-25-06
+IOVDbConnection                  INFO printStats: number of connections 1
+IOVDbConnection                  INFO Connection: sqlite://;schema=mytest.db;dbname=TESTCOOL nCreate: 1 nDelete: 1 nActivate: 1
+IOVDbSvc                         INFO Service finalised successfully
+TagMetaDataStore                 INFO Finalizing TagMetaDataStore - package version StoreGate-02-25-06
+InputMetaDataStore               INFO Finalizing InputMetaDataStore - package version StoreGate-02-25-06
+HistorySvc                       INFO Service finalised successfully
+PoolSvc                          INFO finalize() in PoolSvc
+AthExCondStream.root     Info Database being retired...
+Domain[ROOT_All]     Info ->  Deaccess DbDatabase   CREATE    [ROOT_All] F617DFC6-3F00-DD11-B013-000423D59BB6
+Domain[ROOT_All]     Info >   Deaccess DbDomain     UPDATE    [ROOT_All] 
+XMLFileCatalog     Info There were no updates in the catalog
+PoolXMLFileCatalog     Info XercesC termination number 0
+AthenaSealSvc                    INFO finalize() in AthenaSealSvc
+StoreGateSvc                     INFO Finalizing StoreGateSvc - package version StoreGate-02-25-06
+ToolSvc.finalize()               INFO Removing all tools created by ToolSvc
+ToolSvc.AthExCondStream          INFO AthenaPoolOutputStreamTool finalize
+*****Chrono*****                 INFO ****************************************************************************************************
+*****Chrono*****                 INFO  The Final CPU consumption ( Chrono ) Table (ordered)
+*****Chrono*****                 INFO ****************************************************************************************************
+AthenaSealSvc::autoLoading       INFO Time User   : Tot=   35 [ms] Ave/Min/Max= 17.5(+- 10.5)/    7/   28 [ms] #=  2
+AthenaSealSvc::dictLoading       INFO Time User   : Tot=  460 [ms]                                             #=  1
+AthenaSealSvc::checkClass        INFO Time User   : Tot=0.814  [s] Ave/Min/Max=  407(+-  378)/   29/  785 [ms] #=  2
+ChronoStatSvc                    INFO Time User   : Tot= 3.98  [s]                                             #=  1
+*****Chrono*****                 INFO ****************************************************************************************************
+ChronoStatSvc.finalize()         INFO  Service finalized succesfully 
+StatusCodeSvc                    INFO initialize
+ApplicationMgr                   INFO Application Manager Finalized successfully
+ApplicationMgr                   INFO Application Manager Terminated successfully
+Py:Athena            INFO leaving with code 0: "successful run"
diff --git a/AtlasTest/EventTest/EventLoopTest/share/ByteStreamReadTest.py b/AtlasTest/EventTest/EventLoopTest/share/ByteStreamReadTest.py
new file mode 100755
index 0000000000000000000000000000000000000000..ac5a0ac8db302954659978920b7f303ab595215c
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/share/ByteStreamReadTest.py
@@ -0,0 +1,44 @@
+#**************************************************************
+#
+# jopOptions file for reading ByteStream 
+#
+#==============================================================
+# Input 
+#include( "ByteStreamCnvSvc/TBEventSelector_jobOptions.py" )
+include( "ByteStreamCnvSvc/BSEventStorageEventSelector_jobOptions.py" )
+#include( "ByteStreamCnvSvc/ByteStreamSelector_jobOptions.py" )
+
+include( "ByteStreamCnvSvcBase/BSAddProvSvc_RDO_jobOptions.py" )
+
+theAuditorSvc = svcMgr.AuditorSvc
+theAuditorSvc.Auditors =  [ "ChronoAuditor" ] 
+
+# if you need DetDescr. 
+# #include "TDRDetDescrAthenaRoot/TDRDetDescrAthenaRoot_jobOptions.txt"
+# Specify input 
+# Directory 
+ByteStreamInputSvc = svcMgr.ByteStreamInputSvc
+
+# specify Dir, Prefix,Run 
+#ByteStreamInputSvc.InputDirectory =["/castor/cern.ch/atlas/P1commisioning/calo/cosmic/"]
+# Prefix 
+#ByteStreamInputSvc.FilePrefix  = ["daq_EB-1_Cosmic"]  
+# Run number 
+#ByteStreamInputSvc.RunNumber = [8035] 
+
+# alternatively specify th full file name
+ByteStreamInputSvc.FullFileName=["/afs/cern.ch/atlas/offline/test/data11_7TeV.00182796.physics_JetTauEtmiss.merge.RAW._lb0300._SFO-10._0001.1.10evts.data"]
+# ByteStreamInputSvc.FullFileName=["/castor/cern.ch/atlas/P1commisioning/phaseIII/daq_SFI-1_m3_combined_0011000_file01.data"]
+#ByteStreamInputSvc.FullFileName=["/castor/cern.ch/user/i/idcosmic/real_data_endcap/combined/daq_EB_RCD_0007870_file17.data"]
+# ByteStreamInputSvc.FullFileName=["/tmp/hma/daq_SFI-1_m3_combined_0011000_file01.data"]
+#ByteStreamInputSvc.FullFileName=["/afs/cern.ch/user/b/battagli/public/Production/daq.NoTag.1183533026...LB0000.SFO-1._0001.data"]
+#ByteStreamInputSvc.FullFileName=["/afs/cern.ch/user/b/battagli/public/data/daq.NoTag.540697965.No.Streaming.LB0020.SFO-1._0001.data"]
+#ByteStreamInputSvc.FullFileName=["/afs/cern.ch/user/b/battagli/public/data/daq.NoTag.540697965.Physics.Electron.LB0020.SFO-1._0001.data"]
+
+
+ByteStreamInputSvc.OutputLevel = DEBUG
+ByteStreamInputSvc.MaxBadEvents = 20
+# ByteStreamInputSvc.DumpFlag = True
+
+MessageSvc.OutputLevel = DEBUG
+theApp.EvtMax = 1000
diff --git a/AtlasTest/EventTest/EventLoopTest/test/ByteStreamReadTest.xml b/AtlasTest/EventTest/EventLoopTest/test/ByteStreamReadTest.xml
new file mode 100755
index 0000000000000000000000000000000000000000..44aabcfaeecb11f2af5d3218494d45a3a440aa2f
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/test/ByteStreamReadTest.xml
@@ -0,0 +1,15 @@
+<unifiedTestConfiguration>
+  <atn>
+     <TEST name="ByteStreamReadTest" type="athena" suite="Examples">
+        <options_atn>-s EventLoopTest/ByteStreamReadTest.py</options_atn>
+        <timelimit>5</timelimit>
+        <author> Hong Ma </author>
+        <mailto> hma@bnl.gov </mailto>
+        <expectations>
+           <errorMessage>FAILURE (ERROR)</errorMessage>
+           <successMessage>Finalizing</successMessage>
+           <returnValue>0</returnValue>
+        </expectations>
+     </TEST>
+  </atn>
+</unifiedTestConfiguration>
diff --git a/AtlasTest/EventTest/EventLoopTest/test/EventLoopTest.xml b/AtlasTest/EventTest/EventLoopTest/test/EventLoopTest.xml
new file mode 100755
index 0000000000000000000000000000000000000000..17aa0dfb18263b62b00b8f8dff2ac05a6de79e3e
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/test/EventLoopTest.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<atn>
+    <TEST name="EventLoopTest" type="makecheck">
+       <package>Control/SGTools</package>
+       <timelimit>10</timelimit>
+       <author> Frank Winklmeier</author>
+       <mailto> frank.winklmeier@cern.ch, pcalafiura@lbl.gov</mailto>
+       <expectations>
+          <errorMessage>Athena exited abnormally</errorMessage>
+          <warningMessage> # WARNING_MESSAGE : post.sh> ERROR</warningMessage>
+          <successMessage>check ok</successMessage>
+          <returnValue>0</returnValue>
+       </expectations>
+    </TEST>
+</atn>
diff --git a/AtlasTest/EventTest/EventLoopTest/test/EventMixerTest.xml b/AtlasTest/EventTest/EventLoopTest/test/EventMixerTest.xml
new file mode 100755
index 0000000000000000000000000000000000000000..7b5091f44cb2d0b6b05d38b561e4a5cd17cd791a
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/test/EventMixerTest.xml
@@ -0,0 +1,15 @@
+<unifiedTestConfiguration>
+  <atn>
+     <TEST name="EventMixer" type="athena" suite="Examples">
+        <options_atn>-s AthenaServices/MixingEventSelector_test.py</options_atn>
+        <timelimit>15</timelimit>
+        <author> Paolo Calafiura </author>
+        <mailto> pcalafiura@lbl.gov </mailto>
+        <expectations>
+           <errorMessage>FAILURE (ERROR)</errorMessage>
+           <successMessage>done processing event #300</successMessage>
+           <returnValue>0</returnValue>
+        </expectations>
+     </TEST>
+  </atn>
+</unifiedTestConfiguration>
diff --git a/AtlasTest/EventTest/EventLoopTest/test/MultiplePassTest.xml b/AtlasTest/EventTest/EventLoopTest/test/MultiplePassTest.xml
new file mode 100755
index 0000000000000000000000000000000000000000..cd80a7ef221fa0fa33e24ae20d9ca6ace7c095a6
--- /dev/null
+++ b/AtlasTest/EventTest/EventLoopTest/test/MultiplePassTest.xml
@@ -0,0 +1,28 @@
+<unifiedTestConfiguration>
+  <atn>
+     <TEST name="MultiplePass" type="athena" suite="Examples">
+        <options_atn>-s AthenaServices/MultiplePass_test.py</options_atn>
+        <timelimit>5</timelimit>
+        <author> Paolo Calafiura </author>
+        <mailto> pcalafiura@lbl.gov </mailto>
+        <expectations>
+           <errorMessage>FAILURE (ERROR)</errorMessage>
+           <successMessage>finished pass #2</successMessage>
+           <returnValue>0</returnValue>
+        </expectations>
+     </TEST>
+  </atn>
+  <atn>
+     <TEST name="MultiplePassWithAlgFilter" type="athena" suite="Examples">
+        <options_atn>-s AthenaServices/MultiplePassWithAlgFilter_test.py</options_atn>
+        <timelimit>5</timelimit>
+        <author> Paolo Calafiura </author>
+        <mailto> pcalafiura@lbl.gov </mailto>
+        <expectations>
+           <errorMessage>FAILURE (ERROR)</errorMessage>
+           <successMessage>finished pass #2</successMessage>
+           <returnValue>0</returnValue>
+        </expectations>
+     </TEST>
+  </atn>
+</unifiedTestConfiguration>