diff --git a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring.py b/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring.py
deleted file mode 100644
index e03edde0f024632764d2bc0cc847967d946d56ca..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring.py
+++ /dev/null
@@ -1,296 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-isHI_2016 = False
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-
-isOnline          = True
-isOnlineStateless = True
-
-# for testing on lxplus
-isOfflineTest     = False
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-useEmon           = True
-## KeyCount value in the EMON service defined as 1-byte, i.e. the maximum allowed value is 255. 
-keycount          = 150
-buffersize        = 10
-updateperiod      = 200
-# timeout is in ms
-timeout           = 600000
-
-#keyname           = 'efd'   #AK: 21-05-2014
-keyname           = 'dcm'
-
-import os
-
-partitionName     = os.environ.get("TDAQ_PARTITION", "ATLAS")
-publishNumber     = os.environ.get("GLOBAL_JOB_NUMBER", "1")
-publishName       = os.environ.get("TDAQ_APPLICATION_NAME", "GlobalMonitoring")
-
-printfunc (publishName)
-isserverName = 'Histogramming-Global-iss'  # Ak: 26-05-2014 - needed to write out the gathere hsitograms to the correct server
-
-#streamName       = 'MinBias'
-streamName        = 'express'
-streamLogic       = 'Or'
-
-# When using ATLAS partition
-# Use different streams for "atlas standby" and "atlas ready"
-#
-if (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1'):
-    streamLogic       = 'Or'
-    
-    import RecExOnline.OnlineISConfiguration
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-
-    obj = ispy.ISObject(ispy.IPCPartition(partitionName), 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-    ### if ( obj.T0_project_tag == 'data15_comm' or obj.T0_project_tag == 'data15_13TeV'):
-    if ( obj.T0_project_tag == 'data17_comm' or obj.T0_project_tag == 'data17_13TeV' or obj.T0_project_tag == 'data17_1beam' or obj.T0_project_tag == 'data16_comm' or obj.T0_project_tag == 'data16_13TeV' or obj.T0_project_tag == 'data16_5TeV' or obj.T0_project_tag == 'data16_1beam' or obj.T0_project_tag == 'data16_hip' or obj.T0_project_tag == 'data16_hip5TeV' or obj.T0_project_tag == 'data16_hip8TeV'):
-        #streamName        = 'MinBias'
-        #streamName        = 'Main' # Switching due to missingg Minbias stream -= 13/06/2015 AK
-        try:
-            if RecExOnline.OnlineISConfiguration.GetAtlasReady():
-                printfunc ("ATLAS READY, reading express stream")
-                streamName = 'express'
-            else:
-                printfunc ("ATLAS NOT READY, reading standby stream")
-                ### streamName = 'standby'
-                ### streamName = 'physics_Standby'
-                streamName = 'Standby'
-        except:
-            streamName = 'express'
-    else:
-        streamName        = 'express:IDCosmic:HLT_IDCosmic:CosmicMuons:MinBias'
-else:
-    streamLogic       = 'Ignore'
-    
-
-
-
-#
-# When NOT using ATLAS partition
-#
-if (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1'):
-    if isHI_2016:
-       publishName     = 'GMTest_hiconf'
-    else:
-       publishName     = 'GMTest_ppconf'
-    isserverName    = 'Histogramming'
-
-
-printfunc ("GlobalMonitoring : streamName streamLogic= ",streamName,streamLogic)
-printfunc ("publishName      : ",publishName)
-
-
-#import time
-#myfloat = float(publishNumber)
-#tosleep = myfloat*5
-#time.sleep(tosleep)
-
-from future import standard_library
-standard_library.install_aliases()
-import subprocess
-pids=subprocess.getoutput("/sbin/pidof -o %u python" % os.getpid()).split(" ")
-printfunc ("pids",pids)
-
-for pid in pids:
-  printfunc ("pid",pid)
-  #if (False):
-  #if (1):
-  if (0):
-    printfunc ("pid = ",pid)
-    #thisnumber=subprocess.getoutput("grep GLOBAL_JOB_NUMBER /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    thisname=subprocess.getoutput("grep TDAQ_APPLICATION_NAME /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    printfunc ("thisname = ",thisname)
-    printfunc ("publishName = ",publishName)
-    if (thisname == publishName):
-      printfunc ("found a match! Will Kill pid = ",pid)
-      killreturn = subprocess.getoutput("kill %u" % int(pid))
-
-
-useAtlantisEmon   = False
-
-### evtMax            = -1
-### evtMax            = 50
-
-if (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1'):
-    evtMax            = -1
-
-if (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1'):
-    # evtMax            = 200
-    evtMax            = -1 # lshi: for Gatherer test
-
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-
-isGlobalMonitoring = True
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-#beamType          = 'cosmics'  
-beamType          = 'collisions'  #AK: 21-05-2014
-
-#COND tag and GEO are needed for running over a test partition online
-#ConditionsTag     = 'CONDBR2-HLTP-2015-08' # 20160317
-ConditionsTag     = 'CONDBR2-HLTP-2016-01'
-DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-### test run1
-if isHI_2016:
-   ConditionsTag     = 'CONDBR2-HLTP-2016-01'
-   DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-
-### ConditionsTag     = 'CONDBR2-HLTP-2016-01' # 2016-02-05 Based on CONDBR2-HLTP-2015-08, for M11.
-### ConditionsTag     = 'CONDBR2-HLTP-2015-08' # 20160317
-### ConditionsTag     = 'CONDBR2-HLTP-2015-07'   # created 2015-08-10
-### ConditionsTag     = 'CONDBR2-HLTP-2015-05'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-04'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-01'
-### ConditionsTag     = 'CONDBR2-ES1PA-2014-01'  ### new for offline (19.3.0.1)
-
-### DetDescrVersion   = 'ATLAS-R2-2015-01-01-00'
-### DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'  ### new for offline (19.3.0.1)
-### DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-
-doInDet     = doAllReco
-### doInDet     = False
-
-doMuon      = doAllReco
-###doMuon      = False
-
-doLArg      = doAllReco
-doTile      = doAllReco
-
-doTrigger   = doAllReco
-
-   
-doHist      = doAllReco
-doJiveXML   = False
-
-doEgammaTau = doAllReco
-### doEgammaTau = False
-
-doHIPRec     = False
-
-doHIRec     = False
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-
-doCaloMon = doAllMon
-
-doTileMon = doAllMon #AK: new since 09 july 2014 (M4)
-# doTileMon = False
-
-doPhysMon = doAllMon
-
-doTrigMon = doAllMon
-
-doIDMon   = doAllMon
-###doIDMon   = False
-
-doTRTMon  = doAllMon
-###doTRTMon  = False
-
-doMuonMon = doAllMon
-### doMuonMon = False
-
-doCTPMon  = False #doAllMon #AK: 25-01-2014
-doHIMon   = False # doAllMon
-
-if isHI_2016:
-   #doTrigger   = False
-   doHIPRec    = doAllReco
-   doZdc       = doAllReco
-   #doTrigMon = False
-   doHIMon   = doAllMon
-### doHIMon   = False # doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)         
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)    
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-#printfunc ("#### yunju Here is DQMonFlags.monManEnvironment:"+DQMonFlags.monManEnvironment)
-## for egmma monitoring in lxplus
-#if isHI_2016:
-#   DQMonFlags.monManEnvironment.set_Value_and_Lock('tier0')
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-### from JetRec.JetRecFlags import jetFlags
-### jetFlags.useTracks.set_Value_and_Lock(False)
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_defaultpp.py b/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_defaultpp.py
deleted file mode 100644
index a039cf38278ed43e1ceba77efe9f12935cffe82f..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_defaultpp.py
+++ /dev/null
@@ -1,262 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-
-# for testing on lxplus
-isOfflineTest     = False
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-useEmon           = True
-## KeyCount value in the EMON service defined as 1-byte, i.e. the maximum allowed value is 255. 
-keycount          = 150
-buffersize        = 10
-updateperiod      = 200
-# timeout is in ms
-timeout           = 600000
-#keyname           = 'efd'   #AK: 21-05-2014
-keyname           = 'dcm'
-
-import os
-
-partitionName     = os.environ.get("TDAQ_PARTITION", "ATLAS")
-publishNumber     = os.environ.get("GLOBAL_JOB_NUMBER", "1")
-publishName       = os.environ.get("TDAQ_APPLICATION_NAME", "GlobalMonitoring")
-
-printfunc (publishName)
-isserverName = 'Histogramming-Global-iss'  # Ak: 26-05-2014 - needed to write out the gathere hsitograms to the correct server
-
-#streamName       = 'MinBias'
-streamName        = 'express'
-streamLogic       = 'Or'
-
-# When using ATLAS partition
-# Use different streams for "atlas standby" and "atlas ready"
-#
-if (partitionName == 'ATLAS'):
-    streamLogic       = 'Or'
-    
-    import RecExOnline.OnlineISConfiguration
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-
-    obj = ispy.ISObject(ispy.IPCPartition(partitionName), 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-    ### if ( obj.T0_project_tag == 'data15_comm' or obj.T0_project_tag == 'data15_13TeV'):
-    if ( obj.T0_project_tag == 'data15_comm' or obj.T0_project_tag == 'data15_13TeV' or obj.T0_project_tag == 'data15_5TeV' or obj.T0_project_tag == 'data16_comm' or obj.T0_project_tag == 'data16_13TeV' or obj.T0_project_tag == 'data16_5TeV' or obj.T0_project_tag == 'data16_1beam'):
-        #streamName        = 'MinBias'
-        #streamName        = 'Main' # Switching due to missingg Minbias stream -= 13/06/2015 AK
-        try:
-            if RecExOnline.OnlineISConfiguration.GetAtlasReady():
-                printfunc ("ATLAS READY, reading express stream")
-                streamName = 'express'
-            else:
-                printfunc ("ATLAS NOT READY, reading standby stream")
-                ### streamName = 'standby'
-                ### streamName = 'physics_Standby'
-                streamName = 'Standby'
-        except:
-            streamName = 'express'
-    else:
-        streamName        = 'express:IDCosmic:HLT_IDCosmic:CosmicMuons:MinBias'
-else:
-    streamLogic       = 'Ignore'
-
-#
-# When NOT using ATLAS partition
-#
-if (partitionName != 'ATLAS'):
-    publishName     = 'YJ_test'
-    isserverName    = 'Histogramming'
-
-
-printfunc ("GlobalMonitoring : streamName streamLogic= ",streamName,streamLogic)
-printfunc ("publishName      : ",publishName)
-
-
-#import time
-#myfloat = float(publishNumber)
-#tosleep = myfloat*5
-#time.sleep(tosleep)
-
-from future import standard_library
-standard_library.install_aliases()
-import subprocess
-pids=subprocess.getoutput("/sbin/pidof -o %u python" % os.getpid()).split(" ")
-printfunc ("pids",pids)
-
-for pid in pids:
-  printfunc ("pid",pid)
-  #if (False):
-  #if (1):
-  if (0):
-    printfunc ("pid = ",pid)
-    #thisnumber=subprocess.getoutput("grep GLOBAL_JOB_NUMBER /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    thisname=subprocess.getoutput("grep TDAQ_APPLICATION_NAME /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    printfunc ("thisname = ",thisname)
-    printfunc ("publishName = ",publishName)
-    if (thisname == publishName):
-      printfunc ("found a match! Will Kill pid = ",pid)
-      killreturn = subprocess.getoutput("kill %u" % int(pid))
-
-
-useAtlantisEmon   = False
-
-### evtMax            = -1
-### evtMax            = 50
-
-if (partitionName == 'ATLAS'):
-    evtMax            = -1
-
-if (partitionName != 'ATLAS'):
-    evtMax            = 40
-
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-
-isGlobalMonitoring = True
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-#beamType          = 'cosmics'  
-beamType          = 'collisions'  #AK: 21-05-2014
-
-#COND tag and GEO are needed for running over a test partition online
-ConditionsTag     = 'CONDBR2-HLTP-2015-08' # 20160317
-### ConditionsTag     = 'CONDBR2-HLTP-2015-07'   # created 2015-08-10
-### ConditionsTag     = 'CONDBR2-HLTP-2015-05'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-04'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-01'
-### ConditionsTag     = 'CONDBR2-ES1PA-2014-01'  ### new for offline (19.3.0.1)
-
-### DetDescrVersion   = 'ATLAS-R2-2015-01-01-00'
-### DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'  ### new for offline (19.3.0.1)
-DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-
-doInDet     = doAllReco
-### doInDet     = False
-
-doMuon      = doAllReco
-###doMuon      = False
-
-doLArg      = doAllReco
-doTile      = doAllReco
-
-doTrigger   = doAllReco
-### doTrigger   = False
-
-doHist      = doAllReco
-doJiveXML   = False
-
-doEgammaTau = doAllReco
-### doEgammaTau = False
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-
-doCaloMon = doAllMon
-
-doTileMon = doAllMon #AK: new since 09 july 2014 (M4)
-# doTileMon = False
-
-doPhysMon = doAllMon
-
-doTrigMon = doAllMon
-### doTrigMon = False
-
-doIDMon   = doAllMon
-###doIDMon   = False
-
-doTRTMon  = doAllMon
-###doTRTMon  = False
-
-doMuonMon = doAllMon
-### doMuonMon = False
-
-doCTPMon  = False #doAllMon #AK: 25-01-2014
-
-doHIMon   = False # doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)         
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)    
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-### from JetRec.JetRecFlags import jetFlags
-### jetFlags.useTracks.set_Value_and_Lock(False)
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_pp_2018.py b/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_pp_2018.py
deleted file mode 100644
index 20aef54cbb23f11f41112c79de6b1e2e323753ec..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/GlobalMonitoring_pp_2018.py
+++ /dev/null
@@ -1,319 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-isHI_2016 = False
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-
-isOnline          = True
-isOnlineStateless = True
-
-# for testing on lxplus
-isOfflineTest     = False
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-useEmon           = True
-## KeyCount value in the EMON service defined as 1-byte, i.e. the maximum allowed value is 255. 
-## keycount          = 150
-keycount          = 300
-## keycount          = 500
-buffersize        = 10
-updateperiod      = 200
-# timeout is in ms
-timeout           = 600000
-
-#keyname           = 'efd'   #AK: 21-05-2014
-keyname           = 'dcm'
-
-import os
-
-partitionName     = os.environ.get("TDAQ_PARTITION", "ATLAS")
-publishNumber     = os.environ.get("GLOBAL_JOB_NUMBER", "1")
-publishName       = os.environ.get("TDAQ_APPLICATION_NAME", "GlobalMonitoring")
-
-printfunc (publishName)
-isserverName = 'Histogramming-Global-iss'  # Ak: 26-05-2014 - needed to write out the gathere hsitograms to the correct server
-
-#streamName       = 'MinBias'
-streamName        = 'express'
-streamLogic       = 'Or'
-
-# When using ATLAS partition
-# Use different streams for "atlas standby" and "atlas ready"
-#
-if (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1'):
-    streamLogic       = 'Or'
-    
-    import RecExOnline.OnlineISConfiguration
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-
-    obj = ispy.ISObject(ispy.IPCPartition(partitionName), 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-    ### if ( obj.T0_project_tag == 'data15_comm' or obj.T0_project_tag == 'data15_13TeV'):
-    if ( obj.T0_project_tag == 'data18_900GeV' or obj.T0_project_tag == 'data18_comm' or obj.T0_project_tag == 'data18_13TeV' or obj.T0_project_tag == 'data18_5TeV' or obj.T0_project_tag == 'data18_1beam' or obj.T0_project_tag == 'data17_comm' or obj.T0_project_tag == 'data17_13TeV' or obj.T0_project_tag == 'data17_5TeV' or obj.T0_project_tag == 'data17_1beam' or obj.T0_project_tag == 'data16_comm' or obj.T0_project_tag == 'data16_13TeV' or obj.T0_project_tag == 'data16_5TeV' or obj.T0_project_tag == 'data16_1beam' or obj.T0_project_tag == 'data16_hip' or obj.T0_project_tag == 'data16_hip5TeV' or obj.T0_project_tag == 'data16_hip8TeV'):
-        #streamName        = 'MinBias'
-        #streamName        = 'Main' # Switching due to missingg Minbias stream -= 13/06/2015 AK
-        try:
-            if RecExOnline.OnlineISConfiguration.GetAtlasReady():
-                printfunc ("ATLAS READY, reading express stream")
-                streamName = 'express'
-                ### streamName = 'express:MinBias:Standby'
-                ### streamName = 'express:MinBias'
-                ### streamName = 'MinBias:L1Calo'
-            else:
-                printfunc ("ATLAS NOT READY, reading standby stream")
-                ### streamName = 'standby'
-                ### streamName = 'physics_Standby'
-                ### streamName = 'Standby'
-                ### streamName = 'MinBias:Standby'
-                streamName = 'express:IDCosmic:HLT_IDCosmic:CosmicMuons:MinBias:Standby'
-                ### streamName = 'MinBias:L1Calo'
-        except:
-            streamName = 'express'
-    else:
-        streamName        = 'express:IDCosmic:HLT_IDCosmic:CosmicMuons:MinBias:Standby'
-else:
-    streamLogic       = 'Ignore'
-    
-
-
-
-#
-# When NOT using ATLAS partition
-#
-if (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1'):
-    if isHI_2016:
-       publishName     = 'GMTest_hiconf'
-    else:
-       publishName     = 'GMTest_ppconf_21_1_45_17Oct18_1'
-    isserverName    = 'Histogramming'
-
-
-printfunc ("GlobalMonitoring : streamName streamLogic= ",streamName,streamLogic)
-printfunc ("publishName      : ",publishName)
-
-
-#import time
-#myfloat = float(publishNumber)
-#tosleep = myfloat*5
-#time.sleep(tosleep)
-
-from future import standard_library
-standard_library.install_aliases()
-import subprocess
-pids=subprocess.getoutput("/sbin/pidof -o %u python" % os.getpid()).split(" ")
-printfunc ("pids",pids)
-
-for pid in pids:
-  printfunc ("pid",pid)
-  #if (False):
-  #if (1):
-  if (0):
-    printfunc ("pid = ",pid)
-    #thisnumber=subprocess.getoutput("grep GLOBAL_JOB_NUMBER /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    thisname=subprocess.getoutput("grep TDAQ_APPLICATION_NAME /proc/%u/fd/1 -m 1 | cut -f2 -d'='" % int(pid))
-    printfunc ("thisname = ",thisname)
-    printfunc ("publishName = ",publishName)
-    if (thisname == publishName):
-      printfunc ("found a match! Will Kill pid = ",pid)
-      killreturn = subprocess.getoutput("kill %u" % int(pid))
-
-
-useAtlantisEmon   = False
-
-### evtMax            = -1
-### evtMax            = 50
-
-if (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1'):
-    evtMax            = -1
-
-if (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1'):
-    evtMax            = 200
-    # evtMax            = -1 # lshi: for Gatherer test
-
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-
-isGlobalMonitoring = True
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-#beamType          = 'cosmics'  
-beamType          = 'collisions'  #AK: 21-05-2014
-
-#COND tag and GEO are needed for running over a test partition online
-#ConditionsTag     = 'CONDBR2-HLTP-2015-08' # 20160317
-#ConditionsTag     = 'CONDBR2-HLTP-2016-01'
-#DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-#ConditionsTag     = 'CONDBR2-HLTP-2017-03'
-ConditionsTag     = 'CONDBR2-HLTP-2018-01'  # Aug 21st 2018
-DetDescrVersion   = 'ATLAS-R2-2016-01-00-01'  ### new for offline (19.3.0.1)
-
-### test run1
-if isHI_2016:
-   ConditionsTag     = 'CONDBR2-HLTP-2016-01'
-   DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-
-### ConditionsTag     = 'CONDBR2-HLTP-2016-01' # 2016-02-05 Based on CONDBR2-HLTP-2015-08, for M11.
-### ConditionsTag     = 'CONDBR2-HLTP-2015-08' # 20160317
-### ConditionsTag     = 'CONDBR2-HLTP-2015-07'   # created 2015-08-10
-### ConditionsTag     = 'CONDBR2-HLTP-2015-05'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-04'
-### ConditionsTag     = 'CONDBR2-HLTP-2015-01'
-### ConditionsTag     = 'CONDBR2-ES1PA-2014-01'  ### new for offline (19.3.0.1)
-
-### DetDescrVersion   = 'ATLAS-R2-2015-01-01-00'
-### DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'  ### new for offline (19.3.0.1)
-### DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-
-doInDet     = doAllReco
-### doInDet     = False
-
-doMuon      = doAllReco
-###doMuon      = False
-
-doLArg      = doAllReco
-###doLArg      = False
-
-doTile      = doAllReco
-
-doTrigger   = doAllReco
-###doTrigger   = False
-
-doHist      = doAllReco
-doJiveXML   = False
-
-doEgammaTau = doAllReco
-### doEgammaTau = False
-
-doHIPRec     = False
-
-doHIRec     = False
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-
-doCaloMon = doAllMon
-###doCaloMon = False
-
-doTileMon = doAllMon #AK: new since 09 july 2014 (M4)
-# doTileMon = False
-
-doPhysMon = doAllMon
-###doPhysMon = False
-
-doTrigMon = doAllMon
-
-doIDMon   = doAllMon
-###doIDMon   = False
-
-doTRTMon  = doAllMon
-###doTRTMon  = False
-
-doMuonMon = doAllMon
-### doMuonMon = False
-
-doCTPMon  = False #doAllMon #AK: 25-01-2014
-doHIMon   = False # doAllMon
-
-if isHI_2016:
-   #doTrigger   = False
-   doHIPRec    = doAllReco
-   doZdc       = doAllReco
-   #doTrigMon = False
-   doHIMon   = doAllMon
-### doHIMon   = False # doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)         
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)    
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-#printfunc ("#### yunju Here is DQMonFlags.monManEnvironment:"+DQMonFlags.monManEnvironment)
-## for egmma monitoring in lxplus
-#if isHI_2016:
-#   DQMonFlags.monManEnvironment.set_Value_and_Lock('tier0')
-
-### AFP Monitoring
-DQMonFlags.doAFPMon.set_Value_and_Lock(True)
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-### AFP reconstruction
-rec.doAFP.set_Value_and_Lock(True)
-rec.doForwardDet.set_Value_and_Lock(True)
-rec.doAlfa.set_Value_and_Lock(False)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-### from JetRec.JetRecFlags import jetFlags
-### jetFlags.useTracks.set_Value_and_Lock(False)
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online.py
deleted file mode 100644
index 9d4ae78112b0214d388f3a10f71266eaf980c68a..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online.py
+++ /dev/null
@@ -1,172 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-
-## this is used for testing in lxplus
-## isOfflineTest = True  (lxplus)
-## isOfflineTest = False  (P1)
-##
-isOfflineTest     = False
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-
-useEmon           = True
-keycount          = 250
-buffersize        = 10
-updateperiod      = 200
-timeout           = 600000
-#keyname           = 'CompleteEvent'
-keyname           = 'dcm'
-# keyname           = 'SFI'
-#streamName        ='CosmicCalo_physics'
-streamName        ='express_express'
-
-useAtlantisEmon   = False
-evtMax            = 100
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)
-import os
-partitionName   = os.environ.get("TDAQ_PARTITION", "TestDataProvider_TCT")
-#"TestPartitionGlobalMonitoring" 
-
-publishName     = 'SMW_GMtestM7_20_2_0_2_1_29may15'
-isserverName    = 'Histogramming'
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-ConditionsTag     = 'CONDBR2-HLTP-2015-08'  ### tag created : 2015-11-04
-### ConditionsTag     = 'CONDBR2-HLTP-2014-00'
-###
-### ConditionsTag     = 'CONDBR2-BLKPA-2014-03'
-### ConditionsTag     = 'CONDBR2-ES1PA-2014-01'  ### new for offline (19.3.0.1)
-
-### DetDescrVersion   = 'ATLAS-R2-2015-01-01-00'
-### DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'
-DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-
-beamType = 'cosmics'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-
-doInDet     = doAllReco
-### doInDet     = False
-
-doMuon      = doAllReco
-### doMuon      = False
-
-doLArg      = doAllReco
-doTile      = doAllReco
-
-doTrigger   = doAllReco
-### doTrigger   = False
-
-doHist      = doAllReco
-doJiveXML   = False
-
-doEgammaTau = doAllReco
-### doEgammaTau = False
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-
-doCaloMon = doAllMon
-
-doTileMon = doAllMon #AK: new since 09 july 2014 (M4)
-#doTileMon = False
-
-doPhysMon = doAllMon
-
-doTrigMon = doAllMon
-### doTrigMon = False
-
-doIDMon   = doAllMon
-###doIDMon   = False
-
-doTRTMon  = doAllMon
-###doTRTMon  = False
-
-doMuonMon = doAllMon
-###doMuonMon = False
-
-doCTPMon  = False #doAllMon #AK: 25-01-2014
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)         
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-### from JetRec.JetRecFlags import jetFlags
-### jetFlags.useTracks.set_Value_and_Lock(False)
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_ID.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_ID.py
deleted file mode 100644
index fcabd08a432e875ed87b75b5d0abd204909b786a..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_ID.py
+++ /dev/null
@@ -1,217 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-isOfflineTest     =False
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py)
-useEmon           = True
-keycount          = 90
-buffersize        = 10
-updateperiod      = 100
-timeout           = 240000
-keyname           = 'dcm'
-useAtlantisEmon   = False
-evtMax            = -1
-
-streamName        = 'IDCosmic'
-streamName        = 'MinBias'   # first collisions (05/05/2015 - cgrefe)
-streamType	  = 'physics'
-streamLogic       = 'Or'
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-import os
-partitionName = os.environ.get("TDAQ_PARTITION", "TestPartitionGlobalMonitoring")
-publishName   = os.environ.get("TDAQ_APPLICATION_NAME", "ID-Test-Application")
-isserverName  = 'Histogramming-CombinedInDet-1-iss'
-
-if(partitionName == "ATLAS"):
-    streamLogic       = 'Or'
-    
-    import RecExOnline.OnlineISConfiguration
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-    
-    obj = ispy.ISObject(ispy.IPCPartition(partitionName), 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-
-    if ( obj.T0_project_tag == 'data16_comm' or obj.T0_project_tag == 'data16_13TeV' or obj.T0_project_tag == 'data16_5TeV' or obj.T0_project_tag == 'data16_hi'):
-        try:
-            if obj.T0_project_tag == 'data15_hi':
-                 from InDetRecExample.InDetJobProperties import InDetFlags
-                 InDetFlags.doHeavyIon.set_Value_and_Lock(True)
-                 InDetFlags.cutLevel = 2
-            if RecExOnline.OnlineISConfiguration.GetAtlasReady():
-                printfunc ("ATLAS READY, reading express stream")
-                streamName = 'express:IDMonDummyStream'
-                streamType = 'express'
-                if obj.T0_project_tag == 'data15_hi':
-                    streamName = 'MinBias:IDMonDummyStream'  # intermediate change for HI running
-                    streamType = 'physics'
-                #streamName = 'IDTrack:IDMonDummyStream'
-                #streamType = 'calib'
-            else:
-                printfunc ("ATLAS NOT READY, reading standby stream")
-                streamName = 'Standby:IDMonDummyStream'
-        except:
-            printfunc ("EXCEPTION")
-            streamName = 'express:IDMonDummyStream'
-    elif obj.T0_project_tag == 'data16_1beam':
-        streamName = 'express'
-    else:
-        streamName        = 'express:IDCosmic:HLT_IDCosmic:MinBias:IDMonDummyStream'
-
-else:
-    streamLogic       = 'Ignore'
-
-if ( publishName == "ID-AthenaMon-Noise" ):
-    publishName       = "ID_PT_Noise"
-    streamType        = 'monitoring'
-    streamName        = 'IDMonitoring'
-    streamLogic       = 'Or'# This should be taken out when we have a proper IDMonitoring stream
-    groupName        = ''
-    lvl1Logic         = 'Or' if partitionName == "ATLAS" else 'Ignore' # cgrefe 08.09.15: see if the Or works in beam 
-    lvl1Name          = 'L1_RD0_EMPTY'
-    doIdGlobalErrorMon = True
-elif ( publishName == "ID-AthenaMon-PixelDetails" ):
-    doPixelOnlyMon    = True
-    publishName       = 'CombinedInDet_PixelDetails'
-    from InDetRecExample.InDetJobProperties import InDetFlags
-    InDetFlags.doTRTStandalone.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsSCT.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsTRT.set_Value_and_Lock(False)
-    InDetFlags.doBackTracking.set_Value_and_Lock(False)
-elif ( publishName == "ID-AthenaMon-PixelDetails-Test" ):
-    doPixelOnlyMon    = True
-    publishName       = 'CombinedInDet_PixelDetails'
-    from InDetRecExample.InDetJobProperties import InDetFlags
-    InDetFlags.doTRTStandalone.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsSCT.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsTRT.set_Value_and_Lock(False)
-    InDetFlags.doBackTracking.set_Value_and_Lock(False)
-    streamLogic       = 'Ignore'
-elif ( publishName == "ID-AthenaMon-NCB" ):
-    #Ensure we reconstruct only 01X hits in the SCT!
-    from InDetRecExample.InDetJobProperties import InDetFlags
-    InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-    keyname           = 'dcm'
-    keycount          = 255      # increasing dcm to increase statistics
-    streamLogic       = 'Or'
-    streamType        = 'physics'
-    streamName        = 'Background'
-    lvl1Logic         = 'Or'
-    lvl1Name          = 'L1_BCM_AC_UNPAIRED_ISO:L1_BCM_AC_UNPAIRED_NONISO:L1_BCM_CA_UNPAIRED_ISO:L1_BCM_CA_UNPAIRED_NONISO:L1_J12_UNPAIRED_ISO:L1_J12_UNPAIRED_NONISO'
-    doIdNCBMon        = True
-elif ( publishName == "ID-Test-Application" ):
-    ##keyname='CompleteEvent'
-    #streamLogic       = 'Or'
-    isserverName  = 'Histogramming'
-    streamType = 'express'
-    streamName = 'express'
-
-# --- Trigger selection for TRT beam monitoring
-elif ( publishName == 'ID-AthenaMon-TRTBeam' ):
-    keyname      = 'dcm'
-    keycount     = 255           # there are only around 100 SFIs - connect to all of them
-    groupName   = ''         # process the same events as other monitoring jobs with the same event selection
-    streamType   = 'monitoring'
-    streamLogic  = 'Or'
-    streamName   = 'IDMonitoring'# avoid PixelNoise and SCTNoise, because those streams contain mostly partial events without TRT data
-    lvl1Logic    = 'Or'
-    lvl1Name     = 'L1_RD0_FILLED'
-    doTRTBeamMon = True          # use the special monitoring tool InDetMonitoringTRT_Beam.py in InDetMonitoring.py
-    doESD        = False         # switch off any reconstruction to gain some speed, we only need raw data here
-
-elif ( publishName == 'ID-AthenaMon-TRTBeam-Test' ):
-    keyname      = 'dcm'
-    keycount     = 255           # there are only around 100 SFIs - connect to all of them
-    groupName   = ''         # process the same events as other monitoring jobs with the same event selection
-    streamType   = 'monitoring'
-    streamLogic  = 'Or'
-    streamName   = 'IDMonitoring'# avoid PixelNoise and SCTNoise, because those streams contain mostly partial events without TRT data
-    lvl1Logic    = 'Or'
-    lvl1Name     = 'L1_RD0_FILLED'
-    doTRTBeamMon = True          # use the special monitoring tool InDetMonitoringTRT_Beam.py in InDetMonitoring.py
-    doESD        = False         # switch off any reconstruction to gain some speed, we only need raw data here
-
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-#ConditionsTag     = 'CONDBR2-HLTP-2015-08'
-#DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'  ### new for offline (19.3.0.1)
-#beamType          = 'cosmics'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-doInDet     = True
-doMuon      = False
-doLArg      = False
-doTile      = False
-doTrigger   = False
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = False
-doCaloMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = False
-doIDMon   = True   # cgrefe: disabled for now until pixel monitoing is fixed (19.08.2015)
-doSCTMon  = True
-doTRTMon  = True
-doMuonMon = doAllMon
-
-# TRT beam monitoring uses no event reconstruction - switch of all other ID monitoring
-if ('doTRTBeamMon' in dir() and doTRTBeamMon):
-    doIDMon   = False
-    doSCTMon  = False
-    doTRTMon  = True  # this needs to be true in order to initialize the ID monitoring config. Will not run the TRT_Monitoring tool
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-#InDetFlags.doIBL.set_Value_and_Lock(True)
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.doPrintConfigurables.set_Value_and_Lock(True)
-
-if ( publishName != "ID-AthenaMon-PixelDetails" ):
-    InDetFlags.doTrackSegmentsPixel.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsSCT.set_Value_and_Lock(False)
-    InDetFlags.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.Enabled = False
-
-from InDetRecExample.InDetJobProperties import InDetFlags                                                                               
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)                                                                                         
-
-#jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)                                                                                  
-
-from TrkDetDescrSvc.TrkDetDescrJobProperties import TrkDetFlags
-TrkDetFlags.TRT_BuildStrawLayers.set_Value(True) # needed for proper efficiency determination during online monitoring
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo.py
deleted file mode 100644
index f91431fcf59d7a1705eca5e6ea454441cbe42a03..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo.py
+++ /dev/null
@@ -1,486 +0,0 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
-
-## Job options for Running the L1Calo Athena Online Monitoring
-## A few notes:
-## At the moment one needs to edit the RecExOnline_monitoring.py 
-##    and define the doLVL1CaloMon variable and replace doTrigMon
-##    in the statement:
-##       DQMonFlags.useTrigger(doTrigMon)
-##       DQMonFlags.doLVL1CaloMon(doTrigMon)
-##    with doLVL1CaloMon. Then add doLVL1CaloMon to
-##    the 'orMon' list.
-## I think that is all you need. Cheers, Taylor
-
-
-# used by RecExOnline to setup Emon Service
-useEmon           = True
-
-
-##################
-## -- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)
-
-import os
-
-# set partition name (default is ATLAS)  
-partitionName = os.getenv("TDAQ_PARTITION","ATLAS")
-
-# Debug for ATLASDQ-853: Crash with traceback instead of printing errors and continuing (May 2021)
-from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
-athenaCommonFlags.AllowIgnoreConfigError = False # This will force Athena to crash in case of errors (for debugging)
-athenaCommonFlags.BSRDOInput.set_Value_and_Lock([]) # Fix from ATLASDQ-853 (June 2021)
-
-# New config flags (Feb. 2022)  
-from AthenaConfiguration.AllConfigFlags import ConfigFlags
-
-# Fix for ID monitoring errors (ATLASDQ-853; Sept. 2021)
-ID = ConfigFlags.DQ.Steering.InDet
-ID.doGlobalMon=False
-ID.doAlignMon=False
-
-# Enable L1Topo monitoring (Oct. 2021 pilot beams)
-ConfigFlags.DQ.Steering.doLVL1InterfacesMon=True
-
-## ------------------------------------------- set online defaults for new config flags
-# Fix for autoconfig problem ATR-22872 (April 2021)
-from AthenaConfiguration.AutoConfigOnlineRecoFlags import autoConfigOnlineRecoFlags
-ConfigFlags.Trigger.triggerConfig = 'DB' # temporary 02/2021
-autoConfigOnlineRecoFlags(ConfigFlags, partitionName)
-
-# Fix for unavailable LBLB info (ATR-23464)
-ConfigFlags.DQ.enableLumiAccess = False
-ConfigFlags.DQ.Environment = "online"
-
-# Fix for missing output file ATR-22872 (May 2021)
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-# Added flags to run AthenaMT
-DQMonFlags.doNewMonitoring.set_Value_and_Lock(True) # Change to true to enable MT (needs --threads = 1 to run)
-DQMonFlags.doHLTMon.set_Value_and_Lock(False)
-DQMonFlags.monManFileKey.set_Value_and_Lock('') # Set top-level path 
-DQMonFlags.histogramFile.set_Value_and_Lock('monitoring.root')
-
-# Don't use the trigger decision tool (ATR-24589, Nov. 2021)
-DQMonFlags.useTrigger.set_Value_and_Lock(False)
-ConfigFlags.DQ.triggerDataAvailable = True # KW test Nov. 22, doesn't work
-
-# To get rid of rogue DQT, PFO, and TopoCluster monitoring plots
-DQMonFlags.doJetInputsMon=False
-DQMonFlags.doDataFlowMon=False
-
-# set name of this publisher as it will appear in IS (default is "l1calo-athenaHLT"; change to something sensible for testing)
-publishName       = "l1calo-athenaHLT"
-
-# name of the stream type (physics,express, etc.)
-streamType = os.getenv("L1CALO_PTIO_STREAM_TYPE","physics")
-
-# name of the stream (Egamma,JetTauEtmiss,MinBias,Standby, etc.)
-# this can be a colon(:) separated list of streams that use
-# the 'streamLogic' to combine
-# stream for 2016 HI run
-streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","L1Calo:Main:MinBias:MinBiasOverlay:UPC:EnhancedBias:ZeroBias:HardProbes:Standby:ALFACalib")
-
-# logic used to combine multiple streams
-# can be set to 'Ignore' which means the stream selection isn't used
-streamLogic = os.getenv("L1CALO_PTIO_STREAM_LOGIC","Or")
-if(partitionName == "L1CaloStandalone"):
-   streamLogic = "Ignore"
-
-# name of L1 items to select
-# can be colon(:) separated list of L1 items
-lvl1Name          = ''
-
-# logic used to combined multiple L1 items
-# can be set to 'Ignore' which means the L1 selection isn't used
-lvl1Logic         = 'Ignore'
-
-# set the Sampler Key Type name (default is SFI)
-if ( not os.environ.get("L1CALO_PTIO_KEY") ):
-  if( partitionName == "L1CaloStandalone" ):
-    keyname = 'REB'
-  else:
-    keyname = 'dcm' #'SFI'
-else:
-  keyname = os.environ.get("L1CALO_PTIO_KEY")
-
-# set the Sampler count (default is 15)
-keycount = int(os.environ.get("L1CALO_PTIO_KEY_COUNT","25"))
-
-# event buffer size for each sampler
-buffersize        = 10
-
-# time in seconds between updating plots
-updateperiod      = 30
-
-# timeout (not sure what this does)
-timeout           = 240000
-
-# IS server onwhich to create this provider
-isserverName    = 'Histogramming'
-
-# this is not the global monitoring
-isGlobalMonitoring = False
-
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.setGlobalTag("CONDBR2-HLTP-2014-00")
-#conddb.setGlobalTag("CONDBR2-ES1PA-2014-00") #crash
-
-
-############
-## -- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-#usePickleConfig   = False
-#pickleconfigfile  = './ami_recotrf.pickle'
-#DataSource        = 'data'
-#InputFormat       = 'bytestream'
-#fileName         = './0.data'
-#doESD             = True
-#writeESD          = False
-#doAOD             = False
-#writeAOD          = False
-isOnlineStateless = True
-#beamType = 'collisions' #'collisions' # default: 'cosmics'
-#is_T0_project_tag = 'cos010'
-#is_T0_project_tag = "data_test"
-#is_T0_project_tag = "data14_cos"
-#is_T0_project_tag = "data15_13TeV"
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-#ConditionsTag     = 'COMCOND-HLTP-004-01'
-#DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-
-from AthenaCommon.GlobalFlags import globalflags
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-ES1PA-2014-00")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-05")
-#--->>>######globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-08")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2016-01")
-#globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-##ConditionsTag = 'CONDBR2-ES1PA-2014-00'
-##DetDescrVersion = 'ATLAS-R2-2015-01-01-00' 
-#DetDescrVersion = 'ATLAS-R2-2015-03-01-00' 
-#--->>>######DetDescrVersion = 'ATLAS-R2-2015-03-01-00'
-#DetDescrVersion = 'ATLAS-R2-2016-01-00-01'
-
-#doPixelOnlyMon   = False
-
-# unlimit max number of events
-evtMax            = -1
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-# following set to default values from JOs
-#doInDet     = doAllReco
-#doMuon      = doAllReco
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = True
-#doJiveXML   = False
-#doEgammaTau = doAllReco
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-#doAllReco   = True
-# following set to default values from JOs
-#doInDet     = False
-#doMuon      = True
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = False
-#doJiveXML   = False
-#doEgammaTau = False
-#doLArg      = False
-#doTile      = False
-
-
-#doCommissioning = False
-
-doTrigger = False  
-
-################
-## -- flags set in: RecExOnline_monitoring.py (from RecExOnline_jobOptions.py)
-
-# don't need all the monitoring enabled just for L1Calo
-doAllMon  = False
-#doCaloMon = doAllMon
-#doPhysMon = doAllMon
-#doIDMon   = doAllMon
-#doPixelOnlyMon = False
-#doSCTMon  = doAllMon
-#doMuonMon = True
-#doTRTMon  = doAllMon
-#doTrigMon = doAllMon
-doLVL1CaloMon = True
-#doHLTMon  = doTrigMon
-#doCTPMon  = doAllMon
-#doCTPMon = True
-#doLucidMon= doAllMon
-isOnline  = True
-
-rec.doInDet.set_Value_and_Lock(False)
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useTracks.set_Value_and_Lock(False)
-jetFlags.usePFlow.set_Value_and_Lock(False)
-jetFlags.useMuonSegments.set_Value_and_Lock(False)
-
-
-#rec.doMuon.set_Value_and_Lock(False)
-
-# KW fix for CaloExtensionBuilder conflict (ATLASDQ-853)
-from RecExConfig.RecAlgsFlags import recAlgs
-recAlgs.doEFlow.set_Value_and_Lock(False)
-recAlgs.doTrackParticleCellAssociation.set_Value_and_Lock(False)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
-# Don't forget to lock the config flags
-ConfigFlags.lock() #KW test Feb. 22 
-ConfigFlags.dump()
-
-# Fix for beamspot conditions bug, Feb. 2022 (ATR-25008)
-from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
-from AthenaConfiguration.ComponentAccumulator import CAtoGlobalWrapper
-CAtoGlobalWrapper(BeamSpotCondAlgCfg, ConfigFlags)
-
-
-printfunc (' ')
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_globalconfig settings')
-printfunc ('| usePickleConfig    = ',usePickleConfig)
-printfunc ('| DataSource         = ',DataSource)
-printfunc ('| InputFormat        = ',InputFormat)
-printfunc ('| fileName           = ',fileName)
-#printfunc ('| doESD              = ',doESD)
-printfunc ('| writeESD           = ',writeESD)
-#printfunc ('| doAOD              = ',doAOD)
-printfunc ('| writeAOD           = ',writeAOD)
-printfunc ('| isOnlineStateless  = ',isOnlineStateless)
-printfunc ('| beamType           = ',beamType)
-printfunc ('| is_T0_project_tag  = ',is_T0_project_tag)
-printfunc ('| ConditionsTag      = ',ConditionsTag)
-#printfunc ('| DetDescrVersion    = ',DetDescrVersion)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| evtMax             = ',evtMax)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_recoflags settings')
-printfunc ('| doAllReco          = ',doAllReco)
-printfunc ('| doInDet            = ',doInDet)
-printfunc ('| doMuon             = ',doMuon)
-printfunc ('| doLArg             = ',doLArg)
-printfunc ('| doTile             = ',doTile)
-printfunc ('| doLucid            = ',doLucid)
-#printfunc ('| doTrigger          = ',doTrigger)
-#printfunc ('| doHist             = ',doHist)
-#printfunc ('| doJiveXML          = ',doJiveXML)
-printfunc ('| doEgammaTau        = ',doEgammaTau)
-printfunc ('| doCommissioning    = ',doCommissioning)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_monitoring settings')
-printfunc ('| doAllMon           = ',doAllMon)
-printfunc ('| doCaloMon          = ',doCaloMon)
-printfunc ('| doPhysMon          = ',doPhysMon)
-printfunc ('| doHLTMon           = ',doHLTMon)
-printfunc ('| doLVL1CaloMon      = ',doLVL1CaloMon)
-printfunc ('| doCTPMon           = ',doCTPMon)
-printfunc ('| doIDMon            = ',doIDMon)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| doSCTMon           = ',doSCTMon)
-printfunc ('| doMuonMon          = ',doMuonMon)
-printfunc ('| doTRTMon           = ',doTRTMon)
-printfunc ('| doLucidMon         = ',doLucidMon)
-printfunc ('| isOnline           = ',isOnline)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline: emonsvc settings')
-printfunc ('| partitionName      = ',partitionName)
-printfunc ('| publishName        = ',publishName)
-printfunc ('| streamNames        = ',streamName)
-printfunc ('| streamType         = ',streamType)
-printfunc ('| streamLogic        = ',streamLogic)
-printfunc ('| lvl1Name           = ',lvl1Name)
-printfunc ('| lvl1Logic          = ',lvl1Logic)
-printfunc ('| keyname            = ',keyname)
-printfunc ('| keycount           = ',keycount)
-printfunc ('| buffersize         = ',buffersize)
-printfunc ('| updateperiod       = ',updateperiod)
-printfunc ('| timeout            = ',timeout)
-printfunc ('| isserverName       = ',isserverName)
-printfunc ('| isGlobalMonitoring = ',isGlobalMonitoring)
-printfunc ('--------------------------------------------------------------')
-
-#from AthenaCommon.AppMgr import ServiceMgr
-#from TrigT1CaloCondSvc.TrigT1CaloCondSvcConf import L1CaloCondSvc
-#ServiceMgr += L1CaloCondSvc()
-#from IOVDbSvc.CondDB import conddb
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Calibration/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults"]
-#for l1calofolder in L1CaloFolderList:
-#  conddb.addFolderWithTag("TRIGGER", l1calofolder, "HEAD")
-
-#L1CaloDb=""
-#if not 'L1CaloDbConnection' in dir():
-#    if 'L1CaloSqliteDB' in dir():
-#        L1CaloDbConnection="<dbConnection>sqlite://;schema=" + L1CaloSqliteDB + ";dbname=L1CALO</dbConnection>"
-#    else:
-#        L1CaloDb="TRIGGER"
-#        L1CaloDbConnection=""
-
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-
-
-
-#L1CaloDbTag = "<tag>HEAD</tag>"
-#
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults"]
-
-#for l1calofolder in L1CaloFolderList:
-#    if not conddb.folderRequested(l1calofolder):
-#        conddb.addFolder(L1CaloDb, L1CaloDbConnection + l1calofolder + L1CaloDbTag)
-
-
-#from IOVDbSvc.CondDB import conddb
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-##conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-##conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#from IOVDbSvc.CondDB import conddb
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-02')
-
-#--->>>######conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-03')
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-
-#theApp.CreateSvc  += ["StoreGateSvc/StoreGateSvc" ]
-#ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
-#ByteStreamAddressProviderSvc.TypeNames += ["/Run/L1TopoToCTPLocation"]
-#ProxyProviderSvc = Service( "ProxyProviderSvc" )
-#ProxyProviderSvc.ProviderNames += [ "ByteStreamAddressProviderSvc" ]
-#svcMgr.ProxyProviderSvc.ProviderNames += [ "/Run/L1TopoToCTPLocation" ]
-
-
-# added for testing purposes
-# need to for the run number in the test data partitions
-# fix for missing folder /TRIGGER/LUMI/LBLESTONL
-#if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("Test_dataProvider") >= 0) :
-
-if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("ATLAS") >= 0) :
-#if (partitionName.find("L1CaloStandalone") >= 0) :
-  printfunc ("L1Calo Monitoring is overriding the run number and lumiblock number.")
-  import ispy   ## this should retrieve the run number automatically as done in RecExOnline_globalconfig.py
-  from ispy import *
-  from ipc import IPCPartition
-  from ispy import ISObject
-  p2  = ispy.IPCPartition(partitionName)
-  obj = ispy.ISObject(p2, 'RunParams.RunParams', 'RunParams')
-  obj.checkout()
-  is_run_number = obj.run_number
-  svcMgr.IOVDbSvc.forceRunNumber = is_run_number
-  #svcMgr.IOVDbSvc.forceRunNumber=313285 #313063 #312649(HI) #312424(HI) #309640 #271733 #182519 #238735
-  svcMgr.IOVDbSvc.forceLumiblockNumber=1
-  printfunc ("L1Calo Monitoring set run to ",svcMgr.IOVDbSvc.forceRunNumber,"and lumi block to",svcMgr.IOVDbSvc.forceLumiblockNumber)
-
-  #from IOVDbSvc.CondDB import conddb
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>") 
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-  from IOVDbSvc.CondDB import conddb
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/HltConfigKeys<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Prescales<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/PrescaleKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/Groups<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Lvl1ConfigKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/ItemDef<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupDescription<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupContent<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Prescales<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Thresholds<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/CTPCoreInputMapping<tag>HEAD</tag>")
-
-
-
-  # only offline
-  from RecExConfig.InputFilePeeker import inputFileSummary
-  printfunc ("inputFileSummary =",inputFileSummary)
-  if inputFileSummary.__contains__('bs_metadata'):
-    # get the run number and lumi_block for the input
-    run_number = inputFileSummary['bs_metadata']['run_number']
-
-    pointintime = (int(run_number)<<32) + int(lumi_block) # start from lumiblock 0 (or 1?)
-
-    DBInstance = svcMgr.IOVDbSvc.properties()['DBInstance']
-    printfunc ("L1Calo Monitoring check DBInstance ",DBInstance)
-    connstring = "COOLONL_TRIGGER/"+str(DBInstance)
-    from CoolConvUtilities.AtlCoolLib import indirectOpen
-    coolDB=indirectOpen(connstring)
-    SMKfolder=coolDB.getFolder('/TRIGGER/HLT/HltConfigKeys')
-
-    retrieved_obj=SMKfolder.findObject(pointintime,0)
-    retrieved_payload=retrieved_obj.payload()
-    retrieved_format=retrieved_payload['MasterConfigurationKey']
-    SuperMasterKey=int(999)
-    printfunc ("SMK SuperMasterKey default =",SuperMasterKey)
-    SuperMasterKey = int(retrieved_format)
-    printfunc ("SMK SuperMasterKey from Cool =",SuperMasterKey)
-    coolDB.closeDatabase()
-
-   #from IOVDbSvc.CondDB import conddb
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-   #conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-
-
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Cosmics.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Cosmics.py
deleted file mode 100644
index e4692f34f7122771500b257508e0a6c86ef26a24..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Cosmics.py
+++ /dev/null
@@ -1,485 +0,0 @@
-# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
-
-## Job options for Running the L1Calo Athena Online Monitoring
-## A few notes:
-## At the moment one needs to edit the RecExOnline_monitoring.py 
-##    and define the doLVL1CaloMon variable and replace doTrigMon
-##    in the statement:
-##       DQMonFlags.useTrigger(doTrigMon)
-##       DQMonFlags.doLVL1CaloMon(doTrigMon)
-##    with doLVL1CaloMon. Then add doLVL1CaloMon to
-##    the 'orMon' list.
-## I think that is all you need. Cheers, Taylor
-
-
-# used by RecExOnline to setup Emon Service
-useEmon           = True
-
-
-##################
-## -- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)
-
-import os
-
-# set partition name (default is ATLAS)  
-partitionName = os.getenv("TDAQ_PARTITION","ATLAS")
-
-# Debug for ATLASDQ-853: Crash with traceback instead of printing errors and continuing (May 2021)
-from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
-athenaCommonFlags.AllowIgnoreConfigError = False # This will force Athena to crash in case of errors (for debugging)
-athenaCommonFlags.BSRDOInput.set_Value_and_Lock([]) # Fix from ATLASDQ-853 (June 2021)
-
-# New config flags (Feb. 2022)  
-from AthenaConfiguration.AllConfigFlags import ConfigFlags
-
-# Fix for ID monitoring errors (ATLASDQ-853; Sept. 2021)
-ID = ConfigFlags.DQ.Steering.InDet
-ID.doGlobalMon=False
-ID.doAlignMon=False
-
-# Enable L1Topo monitoring (Oct. 2021 pilot beams)
-ConfigFlags.DQ.Steering.doLVL1InterfacesMon=True
-
-## ------------------------------------------- set online defaults for new config flags
-# Fix for autoconfig problem ATR-22872 (April 2021)
-from AthenaConfiguration.AutoConfigOnlineRecoFlags import autoConfigOnlineRecoFlags
-ConfigFlags.Trigger.triggerConfig = 'DB' # temporary 02/2021
-autoConfigOnlineRecoFlags(ConfigFlags, partitionName)
-
-# Fix for unavailable LBLB info (ATR-23464)
-ConfigFlags.DQ.enableLumiAccess = False
-ConfigFlags.DQ.Environment = "online"
-
-# Fix for missing output file ATR-22872 (May 2021)
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-# Added flags to run AthenaMT
-DQMonFlags.doNewMonitoring.set_Value_and_Lock(True) # Change to true to enable MT (needs --threads = 1 to run)
-DQMonFlags.doHLTMon.set_Value_and_Lock(False)
-DQMonFlags.monManFileKey.set_Value_and_Lock('') # Set top-level path 
-DQMonFlags.histogramFile.set_Value_and_Lock('monitoring.root')
-
-# Don't use the trigger decision tool (ATR-24589, Nov. 2021)
-DQMonFlags.useTrigger.set_Value_and_Lock(False)
-ConfigFlags.DQ.triggerDataAvailable = True # KW test Nov. 22, doesn't work
-
-# To get rid of rogue DQT, PFO, and TopoCluster monitoring plots
-DQMonFlags.doJetInputsMon=False
-DQMonFlags.doDataFlowMon=False
-
-# set name of this publisher as it will appear in IS (default is "l1calo-athenaHLT"; change to something sensible for testing)
-publishName       = "l1calo-athenaHLT-cosmics"
-
-# name of the stream type (physics,express, etc.)
-streamType = os.getenv("L1CALO_PTIO_STREAM_TYPE","physics")
-
-# name of the stream (Egamma,JetTauEtmiss,MinBias,Standby, etc.)
-# this can be a colon(:) separated list of streams that use
-# the 'streamLogic' to combine
-# stream for 2016 HI run
-streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","CosmicCalo:Standby")
-
-# logic used to combine multiple streams
-# can be set to 'Ignore' which means the stream selection isn't used
-streamLogic = os.getenv("L1CALO_PTIO_STREAM_LOGIC","Or")
-if(partitionName == "L1CaloStandalone"):
-   streamLogic = "Ignore"
-
-# name of L1 items to select
-# can be colon(:) separated list of L1 items
-lvl1Name          = ''
-
-# logic used to combined multiple L1 items
-# can be set to 'Ignore' which means the L1 selection isn't used
-lvl1Logic         = 'Ignore'
-
-# set the Sampler Key Type name (default is SFI)
-if ( not os.environ.get("L1CALO_PTIO_KEY") ):
-  if( partitionName == "L1CaloStandalone" ):
-    keyname = 'REB'
-  else:
-    keyname = 'dcm' #'SFI'
-else:
-  keyname = os.environ.get("L1CALO_PTIO_KEY")
-
-# set the Sampler count (default is 15)
-keycount = int(os.environ.get("L1CALO_PTIO_KEY_COUNT","25"))
-
-# event buffer size for each sampler
-buffersize        = 10
-
-# time in seconds between updating plots
-updateperiod      = 30
-
-# timeout (not sure what this does)
-timeout           = 240000
-
-# IS server onwhich to create this provider
-isserverName    = 'Histogramming'
-
-# this is not the global monitoring
-isGlobalMonitoring = False
-
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.setGlobalTag("CONDBR2-HLTP-2014-00")
-#conddb.setGlobalTag("CONDBR2-ES1PA-2014-00") #crash
-
-
-############
-## -- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-#usePickleConfig   = False
-#pickleconfigfile  = './ami_recotrf.pickle'
-#DataSource        = 'data'
-#InputFormat       = 'bytestream'
-#fileName         = './0.data'
-#doESD             = True
-#writeESD          = False
-#doAOD             = False
-#writeAOD          = False
-isOnlineStateless = True
-#beamType = 'collisions' #'collisions' # default: 'cosmics'
-#is_T0_project_tag = 'cos010'
-#is_T0_project_tag = "data_test"
-#is_T0_project_tag = "data14_cos"
-#is_T0_project_tag = "data15_13TeV"
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-#ConditionsTag     = 'COMCOND-HLTP-004-01'
-#DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-
-from AthenaCommon.GlobalFlags import globalflags
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-ES1PA-2014-00")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-05")
-#--->>>######globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-08")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2016-01")
-#globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-##ConditionsTag = 'CONDBR2-ES1PA-2014-00'
-##DetDescrVersion = 'ATLAS-R2-2015-01-01-00' 
-#DetDescrVersion = 'ATLAS-R2-2015-03-01-00' 
-#--->>>######DetDescrVersion = 'ATLAS-R2-2015-03-01-00'
-#DetDescrVersion = 'ATLAS-R2-2016-01-00-01'
-
-#doPixelOnlyMon   = False
-
-# unlimit max number of events
-evtMax            = -1
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-# following set to default values from JOs
-#doInDet     = doAllReco
-#doMuon      = doAllReco
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = True
-#doJiveXML   = False
-#doEgammaTau = doAllReco
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-#doAllReco   = True
-# following set to default values from JOs
-#doInDet     = False
-#doMuon      = True
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = False
-#doJiveXML   = False
-#doEgammaTau = False
-#doLArg      = False
-#doTile      = False
-
-
-#doCommissioning = False
-
-doTrigger = False  
-
-################
-## -- flags set in: RecExOnline_monitoring.py (from RecExOnline_jobOptions.py)
-
-# don't need all the monitoring enabled just for L1Calo
-doAllMon  = False
-#doCaloMon = doAllMon
-#doPhysMon = doAllMon
-#doIDMon   = doAllMon
-#doPixelOnlyMon = False
-#doSCTMon  = doAllMon
-#doMuonMon = True
-#doTRTMon  = doAllMon
-#doTrigMon = doAllMon
-doLVL1CaloMon = True
-#doHLTMon  = doTrigMon
-#doCTPMon  = doAllMon
-#doCTPMon = True
-#doLucidMon= doAllMon
-isOnline  = True
-
-rec.doInDet.set_Value_and_Lock(False)
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useTracks.set_Value_and_Lock(False)
-jetFlags.usePFlow.set_Value_and_Lock(False)
-jetFlags.useMuonSegments.set_Value_and_Lock(False)
-
-
-#rec.doMuon.set_Value_and_Lock(False)
-
-# KW fix for CaloExtensionBuilder conflict (ATLASDQ-853)
-from RecExConfig.RecAlgsFlags import recAlgs
-recAlgs.doEFlow.set_Value_and_Lock(False)
-recAlgs.doTrackParticleCellAssociation.set_Value_and_Lock(False)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
-# Don't forget to lock the config flags
-ConfigFlags.lock() #KW test Feb. 22 
-ConfigFlags.dump()
-
-# Fix for beamspot conditions bug, Feb. 2022 (ATR-25008)
-from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
-from AthenaConfiguration.ComponentAccumulator import CAtoGlobalWrapper
-CAtoGlobalWrapper(BeamSpotCondAlgCfg, ConfigFlags)
-
-
-printfunc (' ')
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_globalconfig settings')
-printfunc ('| usePickleConfig    = ',usePickleConfig)
-printfunc ('| DataSource         = ',DataSource)
-printfunc ('| InputFormat        = ',InputFormat)
-printfunc ('| fileName           = ',fileName)
-#printfunc ('| doESD              = ',doESD)
-printfunc ('| writeESD           = ',writeESD)
-#printfunc ('| doAOD              = ',doAOD)
-printfunc ('| writeAOD           = ',writeAOD)
-printfunc ('| isOnlineStateless  = ',isOnlineStateless)
-printfunc ('| beamType           = ',beamType)
-printfunc ('| is_T0_project_tag  = ',is_T0_project_tag)
-printfunc ('| ConditionsTag      = ',ConditionsTag)
-#printfunc ('| DetDescrVersion    = ',DetDescrVersion)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| evtMax             = ',evtMax)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_recoflags settings')
-printfunc ('| doAllReco          = ',doAllReco)
-printfunc ('| doInDet            = ',doInDet)
-printfunc ('| doMuon             = ',doMuon)
-printfunc ('| doLArg             = ',doLArg)
-printfunc ('| doTile             = ',doTile)
-printfunc ('| doLucid            = ',doLucid)
-#printfunc ('| doTrigger          = ',doTrigger)
-#printfunc ('| doHist             = ',doHist)
-#printfunc ('| doJiveXML          = ',doJiveXML)
-printfunc ('| doEgammaTau        = ',doEgammaTau)
-printfunc ('| doCommissioning    = ',doCommissioning)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_monitoring settings')
-printfunc ('| doAllMon           = ',doAllMon)
-printfunc ('| doCaloMon          = ',doCaloMon)
-printfunc ('| doPhysMon          = ',doPhysMon)
-printfunc ('| doHLTMon           = ',doHLTMon)
-printfunc ('| doLVL1CaloMon      = ',doLVL1CaloMon)
-printfunc ('| doCTPMon           = ',doCTPMon)
-printfunc ('| doIDMon            = ',doIDMon)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| doSCTMon           = ',doSCTMon)
-printfunc ('| doMuonMon          = ',doMuonMon)
-printfunc ('| doTRTMon           = ',doTRTMon)
-printfunc ('| doLucidMon         = ',doLucidMon)
-printfunc ('| isOnline           = ',isOnline)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline: emonsvc settings')
-printfunc ('| partitionName      = ',partitionName)
-printfunc ('| publishName        = ',publishName)
-printfunc ('| streamNames        = ',streamName)
-printfunc ('| streamType         = ',streamType)
-printfunc ('| streamLogic        = ',streamLogic)
-printfunc ('| lvl1Name           = ',lvl1Name)
-printfunc ('| lvl1Logic          = ',lvl1Logic)
-printfunc ('| keyname            = ',keyname)
-printfunc ('| keycount           = ',keycount)
-printfunc ('| buffersize         = ',buffersize)
-printfunc ('| updateperiod       = ',updateperiod)
-printfunc ('| timeout            = ',timeout)
-printfunc ('| isserverName       = ',isserverName)
-printfunc ('| isGlobalMonitoring = ',isGlobalMonitoring)
-printfunc ('--------------------------------------------------------------')
-
-#from AthenaCommon.AppMgr import ServiceMgr
-#from TrigT1CaloCondSvc.TrigT1CaloCondSvcConf import L1CaloCondSvc
-#ServiceMgr += L1CaloCondSvc()
-#from IOVDbSvc.CondDB import conddb
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Calibration/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults"]
-#for l1calofolder in L1CaloFolderList:
-#  conddb.addFolderWithTag("TRIGGER", l1calofolder, "HEAD")
-
-#L1CaloDb=""
-#if not 'L1CaloDbConnection' in dir():
-#    if 'L1CaloSqliteDB' in dir():
-#        L1CaloDbConnection="<dbConnection>sqlite://;schema=" + L1CaloSqliteDB + ";dbname=L1CALO</dbConnection>"
-#    else:
-#        L1CaloDb="TRIGGER"
-#        L1CaloDbConnection=""
-
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-
-
-
-#L1CaloDbTag = "<tag>HEAD</tag>"
-#
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults"]
-
-#for l1calofolder in L1CaloFolderList:
-#    if not conddb.folderRequested(l1calofolder):
-#        conddb.addFolder(L1CaloDb, L1CaloDbConnection + l1calofolder + L1CaloDbTag)
-
-
-#from IOVDbSvc.CondDB import conddb
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-##conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-##conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#from IOVDbSvc.CondDB import conddb
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-02')
-
-#--->>>######conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-03')
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-
-#theApp.CreateSvc  += ["StoreGateSvc/StoreGateSvc" ]
-#ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
-#ByteStreamAddressProviderSvc.TypeNames += ["/Run/L1TopoToCTPLocation"]
-#ProxyProviderSvc = Service( "ProxyProviderSvc" )
-#ProxyProviderSvc.ProviderNames += [ "ByteStreamAddressProviderSvc" ]
-#svcMgr.ProxyProviderSvc.ProviderNames += [ "/Run/L1TopoToCTPLocation" ]
-
-
-# added for testing purposes
-# need to for the run number in the test data partitions
-# fix for missing folder /TRIGGER/LUMI/LBLESTONL
-#if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("Test_dataProvider") >= 0) :
-
-if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("ATLAS") >= 0) :
-#if (partitionName.find("L1CaloStandalone") >= 0) :
-  printfunc ("L1Calo Monitoring is overriding the run number and lumiblock number.")
-  import ispy   ## this should retrieve the run number automatically as done in RecExOnline_globalconfig.py
-  from ispy import *
-  from ipc import IPCPartition
-  from ispy import ISObject
-  p2  = ispy.IPCPartition(partitionName)
-  obj = ispy.ISObject(p2, 'RunParams.RunParams', 'RunParams')
-  obj.checkout()
-  is_run_number = obj.run_number
-  svcMgr.IOVDbSvc.forceRunNumber = is_run_number
-  #svcMgr.IOVDbSvc.forceRunNumber=313285 #313063 #312649(HI) #312424(HI) #309640 #271733 #182519 #238735
-  svcMgr.IOVDbSvc.forceLumiblockNumber=1
-  printfunc ("L1Calo Monitoring set run to ",svcMgr.IOVDbSvc.forceRunNumber,"and lumi block to",svcMgr.IOVDbSvc.forceLumiblockNumber)
-
-  #from IOVDbSvc.CondDB import conddb
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>") 
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-  from IOVDbSvc.CondDB import conddb
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/HltConfigKeys<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Prescales<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/PrescaleKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/Groups<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Lvl1ConfigKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/ItemDef<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupDescription<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupContent<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Prescales<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Thresholds<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/CTPCoreInputMapping<tag>HEAD</tag>")
-
-
-
-  # only offline
-  from RecExConfig.InputFilePeeker import inputFileSummary
-  printfunc ("inputFileSummary =",inputFileSummary)
-  if inputFileSummary.__contains__('bs_metadata'):
-    # get the run number and lumi_block for the input
-    run_number = inputFileSummary['bs_metadata']['run_number']
-
-    pointintime = (int(run_number)<<32) + int(lumi_block) # start from lumiblock 0 (or 1?)
-
-    DBInstance = svcMgr.IOVDbSvc.properties()['DBInstance']
-    printfunc ("L1Calo Monitoring check DBInstance ",DBInstance)
-    connstring = "COOLONL_TRIGGER/"+str(DBInstance)
-    from CoolConvUtilities.AtlCoolLib import indirectOpen
-    coolDB=indirectOpen(connstring)
-    SMKfolder=coolDB.getFolder('/TRIGGER/HLT/HltConfigKeys')
-
-    retrieved_obj=SMKfolder.findObject(pointintime,0)
-    retrieved_payload=retrieved_obj.payload()
-    retrieved_format=retrieved_payload['MasterConfigurationKey']
-    SuperMasterKey=int(999)
-    printfunc ("SMK SuperMasterKey default =",SuperMasterKey)
-    SuperMasterKey = int(retrieved_format)
-    printfunc ("SMK SuperMasterKey from Cool =",SuperMasterKey)
-    coolDB.closeDatabase()
-
-   #from IOVDbSvc.CondDB import conddb
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-   #conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Stability.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Stability.py
deleted file mode 100644
index b3cee9e9fb5631aa7b1dcd57469d62ede78f84fa..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_L1Calo_Stability.py
+++ /dev/null
@@ -1,439 +0,0 @@
-## Job options for Running the L1Calo Athena Online Monitoring
-## A few notes:
-## At the moment one needs to edit the RecExOnline_monitoring.py 
-##    and define the doLVL1CaloMon variable and replace doTrigMon
-##    in the statement:
-##       DQMonFlags.useTrigger(doTrigMon)
-##       DQMonFlags.doLVL1CaloMon(doTrigMon)
-##    with doLVL1CaloMon. Then add doLVL1CaloMon to
-##    the 'orMon' list.
-## I think that is all you need. Cheers, Taylor
-
-
-# used by RecExOnline to setup Emon Service
-useEmon           = True
-
-
-##################
-## -- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)
-
-import os
-
-# set partition name (default is ATLAS)
-partitionName = os.getenv("TDAQ_PARTITION","ATLAS")
-
-# set name of this publisher as it will appear in IS
-publishName       = "l1calo-athenaHLT-stability"
-
-# name of the stream type (physics,express, etc.)
-streamType = os.getenv("L1CALO_PTIO_STREAM_TYPE","physics")
-
-# name of the stream (Egamma,JetTauEtmiss,MinBias,Standby, etc.)
-# this can be a colon(:) separated list of streams that use
-# the 'streamLogic' to combine
-# stream for 2011 HI run: HardProbes
-#streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","CosmicCalo:Egamma:JetTauEtmiss:MinBias:Muons:HardProbes")
-#streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","CosmicCalo:CosmicMuons:Egamma:HLTPassthrough:HLT_IDCosmic:IDCosmic:L1Muon:L1Calo:MinBias:Jet:MinBias")
-#streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","CosmicCalo:L1Calo:Main:MinBias")
-streamName = os.getenv("L1CALO_PTIO_STREAM_NAME","CosmicCalo:L1Calo:Main:MinBias:EnhancedBias:ZeroBias:HardProbes:Standby:ALFACalib")
-
-# logic used to combine multiple streams
-# can be set to 'Ignore' which means the stream selection isn't used
-streamLogic = os.getenv("L1CALO_PTIO_STREAM_LOGIC","Or")
-if(partitionName == "L1CaloStandalone"):
-   streamLogic = "Ignore"
-
-# name of L1 items to select
-# can be colon(:) separated list of L1 items
-lvl1Name          = ''
-
-# logic used to combined multiple L1 items
-# can be set to 'Ignore' which means the L1 selection isn't used
-lvl1Logic         = 'Ignore'
-
-# set the Sampler Key Type name (default is SFI)
-if ( not os.environ.get("L1CALO_PTIO_KEY") ):
-  if( partitionName == "L1CaloStandalone" ):
-    keyname = 'REB'
-  else:
-    keyname = 'dcm' #'SFI'
-else:
-  keyname = os.environ.get("L1CALO_PTIO_KEY")
-
-# set the Sampler count (default is 15)
-keycount = int(os.environ.get("L1CALO_PTIO_KEY_COUNT","25"))
-
-# event buffer size for each sampler
-buffersize        = 10
-
-# time in seconds between updating plots
-updateperiod      = 30
-
-# timeout (not sure what this does)
-timeout           = 240000
-
-# IS server onwhich to create this provider
-isserverName    = 'Histogramming'
-
-# this is not the global monitoring
-isGlobalMonitoring = False
-
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.setGlobalTag("CONDBR2-HLTP-2014-00")
-#conddb.setGlobalTag("CONDBR2-ES1PA-2014-00") #crash
-
-
-############
-## -- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-#usePickleConfig   = False
-#pickleconfigfile  = './ami_recotrf.pickle'
-#DataSource        = 'data'
-#InputFormat       = 'bytestream'
-#fileName         = './0.data'
-#doESD             = True
-#writeESD          = False
-#doAOD             = False
-#writeAOD          = False
-isOnlineStateless = True
-#beamType = 'collisions' #'collisions' # default: 'cosmics'
-#is_T0_project_tag = 'cos010'
-#is_T0_project_tag = "data_test"
-#is_T0_project_tag = "data14_cos"
-#is_T0_project_tag = "data15_13TeV"
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-#ConditionsTag     = 'COMCOND-HLTP-004-01'
-#DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-
-from AthenaCommon.GlobalFlags import globalflags
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-ES1PA-2014-00")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-05")
-#--->>>######globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2015-08")
-#globalflags.ConditionsTag.set_Value_and_Lock("CONDBR2-HLTP-2016-01")
-#globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-##ConditionsTag = 'CONDBR2-ES1PA-2014-00'
-##DetDescrVersion = 'ATLAS-R2-2015-01-01-00' 
-#DetDescrVersion = 'ATLAS-R2-2015-03-01-00' 
-#--->>>######DetDescrVersion = 'ATLAS-R2-2015-03-01-00'
-#DetDescrVersion = 'ATLAS-R2-2016-01-00-01'
-
-#doPixelOnlyMon   = False
-
-# unlimit max number of events
-evtMax            = -1
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-# following set to default values from JOs
-#doInDet     = doAllReco
-#doMuon      = doAllReco
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = True
-#doJiveXML   = False
-#doEgammaTau = doAllReco
-
-###########
-## -- flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-#doAllReco   = True
-# following set to default values from JOs
-#doInDet     = False
-#doMuon      = True
-#doLArg      = doAllReco
-#doTile      = doAllReco
-#doLucid     = False
-#doHist      = False
-#doJiveXML   = False
-#doEgammaTau = False
-#doLArg      = False
-#doTile      = False
-
-
-#doCommissioning = False
-
-doTrigger = False
-
-################
-## -- flags set in: RecExOnline_monitoring.py (from RecExOnline_jobOptions.py)
-
-# don't need all the monitoring enabled just for L1Calo
-doAllMon  = False
-#doCaloMon = doAllMon
-#doPhysMon = doAllMon
-#doIDMon   = doAllMon
-#doPixelOnlyMon = False
-#doSCTMon  = doAllMon
-#doMuonMon = True
-#doTRTMon  = doAllMon
-#doTrigMon = doAllMon
-doLVL1CaloMon = True
-#doHLTMon  = doTrigMon
-#doCTPMon  = doAllMon
-#doCTPMon = True
-#doLucidMon= doAllMon
-isOnline  = True
-
-
-from TrigT1CaloMonitoringTools.LVL1CaloMonFlags import LVL1CaloMonFlags
-LVL1CaloMonFlags.doPPrStabilityMon = True #False #True
-LVL1CaloMonFlags.doFineTimeMonitoring = False
-LVL1CaloMonFlags.doPedestalMonitoring = True
-LVL1CaloMonFlags.doPedestalCorrectionMonitoring = True
-LVL1CaloMonFlags.doEtCorrelationMonitoring = False
-
-
-rec.doInDet.set_Value_and_Lock(False)
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useTracks.set_Value_and_Lock(False)
-jetFlags.usePFlow.set_Value_and_Lock(False)
-jetFlags.useMuonSegments.set_Value_and_Lock(False)
-
-
-#rec.doMuon.set_Value_and_Lock(False)
-
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
-
-
-printfunc (' ')
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_globalconfig settings')
-printfunc ('| usePickleConfig    = ',usePickleConfig)
-printfunc ('| DataSource         = ',DataSource)
-printfunc ('| InputFormat        = ',InputFormat)
-printfunc ('| fileName           = ',fileName)
-#printfunc ('| doESD              = ',doESD)
-printfunc ('| writeESD           = ',writeESD)
-#printfunc ('| doAOD              = ',doAOD)
-printfunc ('| writeAOD           = ',writeAOD)
-printfunc ('| isOnlineStateless  = ',isOnlineStateless)
-printfunc ('| beamType           = ',beamType)
-printfunc ('| is_T0_project_tag  = ',is_T0_project_tag)
-printfunc ('| ConditionsTag      = ',ConditionsTag)
-#printfunc ('| DetDescrVersion    = ',DetDescrVersion)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| evtMax             = ',evtMax)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_recoflags settings')
-printfunc ('| doAllReco          = ',doAllReco)
-printfunc ('| doInDet            = ',doInDet)
-printfunc ('| doMuon             = ',doMuon)
-printfunc ('| doLArg             = ',doLArg)
-printfunc ('| doTile             = ',doTile)
-printfunc ('| doLucid            = ',doLucid)
-#printfunc ('| doTrigger          = ',doTrigger)
-#printfunc ('| doHist             = ',doHist)
-#printfunc ('| doJiveXML          = ',doJiveXML)
-printfunc ('| doEgammaTau        = ',doEgammaTau)
-printfunc ('| doCommissioning    = ',doCommissioning)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline_monitoring settings')
-printfunc ('| doAllMon           = ',doAllMon)
-printfunc ('| doCaloMon          = ',doCaloMon)
-printfunc ('| doPhysMon          = ',doPhysMon)
-printfunc ('| doHLTMon           = ',doHLTMon)
-printfunc ('| doLVL1CaloMon      = ',doLVL1CaloMon)
-printfunc ('| doCTPMon           = ',doCTPMon)
-printfunc ('| doIDMon            = ',doIDMon)
-printfunc ('| doPixelOnlyMon     = ',doPixelOnlyMon)
-printfunc ('| doSCTMon           = ',doSCTMon)
-printfunc ('| doMuonMon          = ',doMuonMon)
-printfunc ('| doTRTMon           = ',doTRTMon)
-printfunc ('| doLucidMon         = ',doLucidMon)
-printfunc ('| isOnline           = ',isOnline)
-printfunc ('-------------------------------------------------------------')
-printfunc ('|     RecExOnline: emonsvc settings')
-printfunc ('| partitionName      = ',partitionName)
-printfunc ('| publishName        = ',publishName)
-printfunc ('| streamNames        = ',streamName)
-printfunc ('| streamType         = ',streamType)
-printfunc ('| streamLogic        = ',streamLogic)
-printfunc ('| lvl1Name           = ',lvl1Name)
-printfunc ('| lvl1Logic          = ',lvl1Logic)
-printfunc ('| keyname            = ',keyname)
-printfunc ('| keycount           = ',keycount)
-printfunc ('| buffersize         = ',buffersize)
-printfunc ('| updateperiod       = ',updateperiod)
-printfunc ('| timeout            = ',timeout)
-printfunc ('| isserverName       = ',isserverName)
-printfunc ('| isGlobalMonitoring = ',isGlobalMonitoring)
-printfunc ('--------------------------------------------------------------')
-
-#from AthenaCommon.AppMgr import ServiceMgr
-#from TrigT1CaloCondSvc.TrigT1CaloCondSvcConf import L1CaloCondSvc
-#ServiceMgr += L1CaloCondSvc()
-#from IOVDbSvc.CondDB import conddb
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Calibration/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults"]
-#for l1calofolder in L1CaloFolderList:
-#  conddb.addFolderWithTag("TRIGGER", l1calofolder, "HEAD")
-
-#L1CaloDb=""
-#if not 'L1CaloDbConnection' in dir():
-#    if 'L1CaloSqliteDB' in dir():
-#        L1CaloDbConnection="<dbConnection>sqlite://;schema=" + L1CaloSqliteDB + ";dbname=L1CALO</dbConnection>"
-#    else:
-#        L1CaloDb="TRIGGER"
-#        L1CaloDbConnection=""
-
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-
-
-
-#L1CaloDbTag = "<tag>HEAD</tag>"
-#
-#L1CaloFolderList = []
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V1/Conditions/DisabledTowers"]
-#L1CaloFolderList += ["/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults"]
-
-#for l1calofolder in L1CaloFolderList:
-#    if not conddb.folderRequested(l1calofolder):
-#        conddb.addFolder(L1CaloDb, L1CaloDbConnection + l1calofolder + L1CaloDbTag)
-
-
-#from IOVDbSvc.CondDB import conddb
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-##conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults")
-##conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-##conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#from IOVDbSvc.CondDB import conddb
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-#conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults")
-#conddb.blockFolder("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Configuration/PprChanDefaults<tag>HEAD</tag>")
-#conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Conditions/DisabledTowers<tag>HEAD</tag>")
-#
-#conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-02')
-
-#--->>>######conddb.addOverride('/GLOBAL/TrackingGeo/LayerMaterialV2','AtlasLayerMat_v19s0_ATLAS-R2-2015-03')
-
-#from IOVDbSvc.CondDB import conddb
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-#conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-
-#theApp.CreateSvc  += ["StoreGateSvc/StoreGateSvc" ]
-#ByteStreamAddressProviderSvc = Service( "ByteStreamAddressProviderSvc" )
-#ByteStreamAddressProviderSvc.TypeNames += ["/Run/L1TopoToCTPLocation"]
-#ProxyProviderSvc = Service( "ProxyProviderSvc" )
-#ProxyProviderSvc.ProviderNames += [ "ByteStreamAddressProviderSvc" ]
-#svcMgr.ProxyProviderSvc.ProviderNames += [ "/Run/L1TopoToCTPLocation" ]
-
-
-# added for testing purposes
-# need to for the run number in the test data partitions
-# fix for missing folder /TRIGGER/LUMI/LBLESTONL
-#if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("Test_dataProvider") >= 0) :
-
-if (partitionName.find("L1CaloStandalone") >= 0) or (partitionName.find("ATLAS") >= 0) :
-#if (partitionName.find("L1CaloStandalone") >= 0) :
-  printfunc ("L1Calo Monitoring is overriding the run number and lumiblock number.")
-  svcMgr.IOVDbSvc.forceRunNumber=313285 #312424 #309640 #271733 #182519 #238735
-  svcMgr.IOVDbSvc.forceLumiblockNumber=1
-  printfunc ("L1Calo Monitoring set run to ",svcMgr.IOVDbSvc.forceRunNumber,"and lumi block to",svcMgr.IOVDbSvc.forceLumiblockNumber)
-
-  #from IOVDbSvc.CondDB import conddb
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/Menu <tag>HEAD</tag>") 
-  #conddb.addFolder("TRIGGER","/TRIGGER/HLT/HltConfigKeys <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Lvl1ConfigKey <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Menu <tag>HEAD</tag>")
-  #conddb.addFolder("TRIGGER","/TRIGGER/LVL1/Prescales <tag>HEAD</tag>")
-
-
-  from IOVDbSvc.CondDB import conddb
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/HltConfigKeys<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/HLT/Prescales<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/PrescaleKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>oracle://ATONR_COOL;schema=ATLAS_COOLONL_TRIGGER;dbname=CONDBR2</dbConnection>/TRIGGER/HLT/Groups<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Lvl1ConfigKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Menu<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/ItemDef<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupKey<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupDescription<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/BunchGroupContent<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Prescales<tag>HEAD</tag>")
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/Thresholds<tag>HEAD</tag>")
-
-  conddb.addFolder("", "<db>COOLONL_TRIGGER/CONDBR2</db>/TRIGGER/LVL1/CTPCoreInputMapping<tag>HEAD</tag>")
-
-
-
-  # only offline
-  from RecExConfig.InputFilePeeker import inputFileSummary
-  printfunc ("inputFileSummary =",inputFileSummary)
-  if inputFileSummary.__contains__('bs_metadata'):
-    # get the run number and lumi_block for the input
-    run_number = inputFileSummary['bs_metadata']['run_number']
-
-    pointintime = (int(run_number)<<32) + int(lumi_block) # start from lumiblock 0 (or 1?)
-
-    DBInstance = svcMgr.IOVDbSvc.properties()['DBInstance']
-    printfunc ("L1Calo Monitoring check DBInstance ",DBInstance)
-    connstring = "COOLONL_TRIGGER/"+str(DBInstance) 
-    from CoolConvUtilities.AtlCoolLib import indirectOpen
-    coolDB=indirectOpen(connstring)
-    SMKfolder=coolDB.getFolder('/TRIGGER/HLT/HltConfigKeys')
-
-    retrieved_obj=SMKfolder.findObject(pointintime,0)
-    retrieved_payload=retrieved_obj.payload()
-    retrieved_format=retrieved_payload['MasterConfigurationKey']
-    SuperMasterKey=int(999)
-    printfunc ("SMK SuperMasterKey default =",SuperMasterKey)
-    SuperMasterKey = int(retrieved_format)                                 
-    printfunc ("SMK SuperMasterKey from Cool =",SuperMasterKey)
-    coolDB.closeDatabase()
-
-   #from IOVDbSvc.CondDB import conddb
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib")
-   #conddb.blockFolder("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels")
-   #conddb.blockFolder("/TRIGGER/Receivers/Factors/CalibGains")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels<tag>HEAD</tag>")
-   #conddb.addFolder("", "<dbConnection>sqlite://;schema=/det/l1calo/calib/tdaq-05/calib.sqlite;dbname=L1CALO</dbConnection>/TRIGGER/Receivers/Factors/CalibGains<tag>HEAD</tag>")
-
-
-#M6
-#rec.doTau=False;
-#rec.doEgamma=False;
-#rec.doJetMissingETTag=False;
-#from CaloRec.CaloCellFlags import jobproperties
-#jobproperties.CaloCellFlags.doLArHVCorr=False
-#jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False);  
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_Pix.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_Pix.py
deleted file mode 100644
index 6118eab8942bccc49c6f568f3be4026d0f72b36c..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_Pix.py
+++ /dev/null
@@ -1,81 +0,0 @@
-
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-useEmon           = True
-keyname           = 'efd'
-keycount          = 255
-buffersize        = 10
-updateperiod      = 200
-timeout           = 240000
-streamLogic       = 'Or'
-#streamName        = 'bulk'
-streamName = 'L1Calo:MinBias:L1MinBias:Egamma:JetTauEtmiss:Muons:CosmicCalo:CosmicMuons'
-useAtlantisEmon   = False
-evtMax            = -1
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-import os
-partitionName = os.environ.get("TDAQ_PARTITION", "ATLAS")
-
-publishName     = 'PixelPT'
-#isserverName    = 'Histogramming-Pixel'
-if (partitionName=='TestDataProvider_TCT'):
-    isserverName    = 'Histogramming'
-else:
-    isserverName    = 'Histogramming-Pixel'
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-ConditionsTag     = 'COMCOND-HLTP-004-01'
-DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-doInDet     = True
-doMuon      = False
-doLArg      = False
-doTile      = False
-doTrigger   = False
-doHist      = False
-doJiveXML   = False
-doEgammaTau = False
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = False
-doPixelOnlyMon = True
-doCaloMon = False
-doPhysMon = False
-doTrigMon = False
-doIDMon   = False
-doTRTMon  = False
-doSCTMon  = False
-doMuonMon = False
-doLucidMon = False
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_SCT.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_SCT.py
deleted file mode 100644
index fb1886987095e70e7bea24642a7ec4280d22d6d9..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_SCT.py
+++ /dev/null
@@ -1,91 +0,0 @@
-
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py)
-useEmon           = True
-keycount          = 10
-buffersize        = 10
-updateperiod      = 50
-timeout           = 240000
-streamName        = 'L1Calo'
-streamLogic       = 'Ignore'
-
-useAtlantisEmon   = False
-evtMax            = -1
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)
-## SCT Options
-import os
-partitionName = os.environ.get("TDAQ_PARTITION", "TestDataProvider_TCT")
-isserverName = 'Histogramming-SCT-iss'
-
-publishNumber = os.environ.get("JOB_NUMBER", "1")
-streamName = os.environ.get("STREAM_NAME")
-
-if ( publishNumber == 'WarmStart' ):
-  publishName = "SCT-"+publishNumber
-  publishTimeout = 3600000
-else:
-  publishName = "SCT-PT-"+publishNumber
-#  streamName = 'MinBias'
-  streamName = 'CosmicCalo:CosmicCaloEM:L1Calo:L1CaloEM:MinBias:MuonswBeam:RNDM'
-#  streamName = 'MinBias'
-
-printfunc (publishName)
-printfunc ('Hi. the streamName = ')
-printfunc (streamName)
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-#fileName         = './0.data'
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-ConditionsTag     = 'COMCOND-HLTP-004-01'
-DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-beamType = 'collisions'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = False
-doInDet     = True
-doMuon      = doAllReco
-doLArg      = doAllReco
-doTile      = doAllReco
-doTrigger   = False
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = False
-doCaloMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = False
-doIDMon   = False
-doSCTMon  = True
-doTRTMon  = doAllMon
-doMuonMon = doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_TRT.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_TRT.py
deleted file mode 100644
index 00dfcb5bbb130fd3504f1184a38da76358b2dc32..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_Partition_Online_TRT.py
+++ /dev/null
@@ -1,117 +0,0 @@
-## ------------------------------------------ flags for RecExOnline_jobOptions.py
-fileName        = None
-
-## ------------------------------------------ flags for RecExOnline_globalconfig.py
-ConditionsTag   = 'COMCOND-HLTP-004-01'
-DetDescrVersion = 'ATLAS-GEO-20-00-01'
-beamType        = 'collisions'
-
-doESD           = True
-writeESD        = False
-doAOD           = False
-writeAOD        = False
-IOVDbSvcMessage = False
-
-## ------------------------------------------ flags for RecExOnline_recoflags.py
-doAllReco       = False
-doInDet         = True
-doMuon          = doAllReco
-doLArg          = doAllReco
-doTile          = doAllReco
-doTrigger       = False
-doHist          = False
-doJiveXML       = False
-doEgammaTau     = False
-
-## ------------------------------------------ flags for RecExOnline_monitoring.py
-doAllMon        = False
-doTRTMon        = True
-doCaloMon       = doAllMon
-doPhysMon       = doAllMon
-doTrigMon       = doAllMon
-doIDMon         = doAllMon
-doMuonMon       = doAllMon
-
-## ------------------------------------------ flags for RecExOnline_postconfig.py
-isOnline        = True
-useEmon         = True
-evtMax          = -1
-
-## ------------------------------------------ TRT-specific flags
-import os
-partitionName   = os.environ.get('TDAQ_PARTITION', 'ATLAS')
-jobName         = os.environ.get('TDAQ_APPLICATION_NAME', 'TRT-Monitoring-Extra')
-
-publishName     = jobName
-isserverName    = 'Histogramming-TRT'
-keyname         = 'efd'
-keycount        = 12
-updateperiod    = 30
-timeout         = 3600000
-
-# --- Event selection for proton-proton collisions - this is the default
-if (jobName == 'TRT-Monitoring-01'):
-    streamLogic = 'Or'
-    streamName  = 'Egamma'
-if (jobName == 'TRT-Monitoring-02'):
-    streamLogic = 'Or'
-    streamName  = 'Egamma'
-if (jobName == 'TRT-Monitoring-03'):
-    streamLogic = 'Or'
-    streamName  = 'Muons'
-if (jobName == 'TRT-Monitoring-04'):
-    streamLogic = 'Or'
-    streamName  = 'Muons'
-if (jobName == 'TRT-Monitoring-05'):
-    streamLogic = 'Or'
-    streamName  = 'JetTauEtmiss'
-if (jobName == 'TRT-Monitoring-06'):
-    streamLogic = 'Or'
-    streamName  = 'JetTauEtmiss'
-
-# --- Event selection for cosmics - override the per-job settings manually
-if False:                       # it would be nice if this could be set automatically
-    keycount    = 48            # listen to more EFDs because of the low rate
-    streamLogic = 'Or'          # enable stream-based event selection
-    streamName  = 'IDCosmic'    # probably better for us than CosmicCalo or CosmicMuons
-
-# --- Trigger selection for noise monitoring
-if (jobName == 'TRT-Monitoring-Noise'):
-    keyname     = 'SFI'         # take the events straight from L2 - the IDMonitoring stream does not go through the Event Filter, anyway
-    keycount    = 255           # there are only around 100 SFIs - connect to all of them
-    groupName  = ''         # process the same events as other monitoring jobs with the same event selection
-    streamLogic = 'Or'
-    streamName  = 'IDMonitoring' # avoid PixelNoise and SCTNoise, because those streams contain mostly partial events without TRT data
-    lvl1Logic   = 'Or'
-    lvl1Name    = 'L1_RD0_EMPTY'
-
-# --- Trigger selection for beam monitoring
-if (jobName == 'TRT-Monitoring-Beam'):
-    keyname     = 'SFI'         # take the events straight from L2 - the IDMonitoring stream does not go through the Event Filter, anyway
-    keycount    = 255           # there are only around 100 SFIs - connect to all of them
-    groupName  = ''         # process the same events as other monitoring jobs with the same event selection
-    streamLogic = 'Or'
-    streamName  = 'IDMonitoring' # avoid PixelNoise and SCTNoise, because those streams contain mostly partial events without TRT data
-    lvl1Logic   = 'Or'
-    lvl1Name    = 'L1_RD0_FILLED'
-    doBeamMon   = True          # use the special monitoring tool InDetMonitoringTRT_Beam.py in InDetMonitoring.py
-    doESD       = False         # switch off any reconstruction to gain some speed, we only need raw data here
-
-# --- Special settings for the stand-alone test partition
-if (jobName.startswith('TRT-Monitoring-Test')):
-    isserverName = 'Histogramming' # the test partition uses the default IS Server
-    keyname     = 'SFI'         # the test partition does not have an Event Filter
-    streamLogic = 'Ignore'      # take all events from the test partition
-    lvl1Logic   = 'Ignore'      # take all events from the test partition
-
-# --- Special settings for independent running on the command line
-if (jobName == 'TRT-Monitoring-Extra'):
-    streamLogic = 'Or'
-    streamName  = 'Egamma'      # default selection for stand-alone test jobs
-
-### two lines copied from RecExCommission/RecExCommission.py and uncommented
-from TrkDetDescrSvc.TrkDetDescrJobProperties import TrkDetFlags
-TrkDetFlags.TRT_BuildStrawLayers.set_Value(True) # needed for proper efficiency determination during online monitoring
-
-### main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline.py
deleted file mode 100644
index e1adbfbe3ca1f6186d7c30e70a8ccce7742d3038..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline.py
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-
-
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = False
-isOnlineStateless = False
-
-# for testing on lxplus
-isOfflineTest     = True
-
-## ------------------------------------------- flags set in: RecExOnline_monitoring.py  
-isGlobalMonitoring = False
-
-#eMon can only be used ONLINE (please see RecExOnline_Partition_Online.py)
-useEmon           = False
-useAtlantisEmon   = False
-
-###evtMax            = 200
-evtMax            = vars().get('inpuevtMax', 200)
-###evtMax            = -1
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-
-## cosmic
-## fileName          = '/afs/cern.ch/work/c/cylin/public/data15_cos.00258389.express_express.merge.RAW._lb0894._SFO-ALL._0001.1'
-
-## collision
-### fileName          = '/afs/cern.ch/work/c/cylin/public/data15_comm.00264034.express_express.merge.RAW._lb0784._SFO-ALL._0001.1'
-### fileName          = '/afs/cern.ch/work/c/cylin/public/data/data15_13TeV.00270953.express_express.merge.RAW._lb0265._SFO-ALL._0001.1'
-### fileName          = '/afs/cern.ch/work/s/smwang/public/DQM/data/data15_13TeV.00284154.express_express.merge.RAW._lb0218._SFO-ALL._0001.1'
-#fileName          = '/afs/cern.ch/work/s/smwang/public/DQM/data/data15_13TeV.00284484.express_express.merge.RAW._lb0098._SFO-ALL._0001.1'
-fileName          = '/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/RecExOnline/data16_13TeV.00302347.express_express.merge.RAW._lb0432._SFO-ALL._0001.1'
-###
-### fileName          = 'root://eosatlas.cern.ch//eos/atlas/atlastier0/rucio/data15_13TeV/express_express/00284484/data15_13TeV.00284484.express_express.merge.RAW/data15_13TeV.00284484.express_express.merge.RAW._lb0487._SFO-ALL._0001.1'
-
-##
-#fileName          = '/afs/cern.ch/user/k/koutsman/OnlineNightly/data/data12_8TeV.00208931.express_express.daq.RAW._lb0123._SFO-9._0001.data'
-#fileName          = 'root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/tct/rec_input/00204416/express_express/data12_8TeV.00204416.express_express.merge.RAW._lb0015._SFO-ALL._0001.1'
-
-
-#beamType          = 'cosmics'
-#projectName       = 'data15_cos'
-beamType          = 'collisions'  #AK: 21-05-2014
-### projectName       = 'data15_comm'
-###projectName       = 'data15_13TeV'
-projectName       = 'data16_13TeV'
-
-
-### Online
-### ConditionsTag     = 'CONDBR2-HLTP-2015-03'
-###
-### Offline
-### ConditionsTag     = 'CONDBR2-ES1PA-2015-03'
-### ConditionsTag     = 'CONDBR2-ES1PA-2015-04'
-### ConditionsTag     = 'CONDBR2-ES1PA-2015-07'  ### 2015-06-17
-###
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-03'
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-04'
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-09'  ### 2015-06-25
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-11'  ### 2015-07-30
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-14'  ### 2015-08-31
-### ConditionsTag     = 'CONDBR2-BLKPA-2015-15'  ### 2015-09-06
-ConditionsTag     = 'CONDBR2-BLKPA-2016-06'  ### 2016-02-26
-#ConditionsTag = 'CONDBR2-BLKPA-2017-07' ### 2017-11-04
-
-### DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'
-#DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-
-DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-#DetDescrVersion   = 'ATLAS-R2-2016-01-00-01'
-
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-doInDet     = doAllReco
-doMuon      = doAllReco
-doLArg      = doAllReco
-doTile      = doAllReco
-doTrigger   = doAllReco
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissionig = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-doCaloMon = doAllMon
-doTileMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = doAllMon
-doIDMon   = doAllMon
-doTRTMon  = doAllMon
-doMuonMon = doAllMon
-doCTPMon  = False
-doHIMon   = False # doAllMon
-
-#  if DQMonFlags.doPixelMon() or DQMonFlags.doSCTMon() or DQMonFlags.doTRTMon() or \
-#               DQMonFlags.doInDetGlobalMon() or DQMonFlags.doInDetAlignMon():
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-#### CHANGES TO GET 19.1.0.1 RECO WORKING (M4)
-from AthenaCommon.BeamFlags import jobproperties
-jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-
-from AthenaCommon.GlobalFlags import globalflags
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-#print "#### yunju Here is DQMonFlags.monManEnvironment:"+DQMonFlags.monManEnvironment
-## for egmma monitoring in lxplus
-DQMonFlags.monManEnvironment.set_Value_and_Lock('tier0')
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-### from JetRec.JetRecFlags import jetFlags
-### jetFlags.useTracks.set_Value_and_Lock(False)
-
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-# --------------------------------------------- Monitoring
-### replaced by MuonTrackMonitoring (SMW Jan 23 2016)
-### from AthenaMonitoring.DQMonFlags import DQMonFlags
-### DQMonFlags.doMuonPhysicsMon.set_Value_and_Lock(True)
-
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_AMI.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_AMI.py
deleted file mode 100644
index 982fa0118ef392af3568724d6e117b8538b89620..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_AMI.py
+++ /dev/null
@@ -1,56 +0,0 @@
-
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = False
-isOnlineStateless = False
-
-#eMon can only be used ONLINE (please see RecExOnline_Partition_Online.py)
-useEmon           = False
-useAtlantisEmon   = False
-evtMax            = 100
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = True
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = '/afs/cern.ch/atlas/offline/external/FullChainTest/tier0/rtt/OnlineRecoTests/data09_900GeV.00141749.physics_MinBias.merge.RAW._lb0022._0001.1'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-doInDet     = doAllReco
-doMuon      = doAllReco
-doLArg      = doAllReco
-doTile      = doAllReco
-doTrigger   = False
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissionig = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-doCaloMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = False
-doIDMon   = doAllMon
-doTRTMon  = doAllMon
-doMuonMon = doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_isOnlineTrue.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_isOnlineTrue.py
deleted file mode 100644
index 77b5a3a3dc77d3e0f9dc96a88179e88173d19bbf..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Offline_isOnlineTrue.py
+++ /dev/null
@@ -1,204 +0,0 @@
-
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-
-### isOnlineStateless = False
-isOnlineStateless = True
-
-# for testing on lxplus
-isOfflineTest     = True
-
-## ------------------------------------------- flags set in: RecExOnline_monitoring.py  
-isGlobalMonitoring = False
-
-#eMon can only be used ONLINE (please see RecExOnline_Partition_Online.py)
-useEmon           = False
-useAtlantisEmon   = False
-evtMax            = 100
-
-keycount          = 250
-buffersize        = 10
-updateperiod      = 200
-timeout           = 600000
-keyname           = 'SFI'
-#streamName        ='CosmicCalo_physics'
-streamName        ='express_express'
-
-
-#COND tag and GEO are needed for running over a test partition or against ATLAS cosmics, calib
-#ConditionsTag     = 'CONDBR2-ES1PA-2015-03'
-#ConditionsTag     = 'CONDBR2-HLTP-2015-03'    # online database
-#ConditionsTag     = 'CONDBR2-HLTP-2015-07'   # created 2015-08-10
-ConditionsTag     = 'CONDBR2-HLTP-2015-08'   # created 2015-11-04, used in M10
-#ConditionsTag     = 'CONDBR2-HLTP-2016-01'   # 2016-02-05 Based on CONDBR2-HLTP-2015-08, for M11. 
-#ConditionsTag     = 'CONDBR2-BLKPA-2016-06'
-
-#DetDescrVersion   = 'ATLAS-R2-2015-02-00-00'
-DetDescrVersion   = 'ATLAS-R2-2015-03-01-00'
-
-##
-## Beam Type and Project Name
-##
-#beamType          = 'cosmics'
-#projectName       = 'data15_cos'
-##
-beamType          = 'collisions'
-projectName       = 'data15_comm'
-
-
-
-if (not 'beamType' in dir()):
-    beamType = 'collisions'
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-#fileName          = '/afs/cern.ch/user/k/koutsman/OnlineNightly/data/data12_8TeV.00208931.express_express.daq.RAW._lb0123._SFO-9._0001.data'
-#fileName          = 'root://eosatlas//eos/atlas/atlascerngroupdisk/proj-sit/tct/rec_input/00204416/express_express/data12_8TeV.00204416.express_express.merge.RAW._lb0015._SFO-ALL._0001.1'
-
-## cosmic
-## fileName          = '/afs/cern.ch/work/c/cylin/public/data15_cos.00258389.express_express.merge.RAW._lb0894._SFO-ALL._0001.1'
-###
-## collision
-### fileName          = '/afs/cern.ch/work/c/cylin/public/data15_comm.00264034.express_express.merge.RAW._lb0784._SFO-ALL._0001.1'
-#fileName          = '/afs/cern.ch/work/s/smwang/public/DQM/data/data15_13TeV.00284484.express_express.merge.RAW._lb0098._SFO-ALL._0001.1'
-### fileName          = 'root://eosatlas.cern.ch//eos/atlas/atlastier0/rucio/data15_13TeV/express_express/00284484/data15_13TeV.00284484.express_express.merge.RAW/data15_13TeV.00284484.express_express.merge.RAW._lb0487._SFO-ALL._0001.1'
-### projectName       = 'data15_comm'
-#projectName       = 'data15_13TeV'
-
-fileName          = '/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/RecExOnline/data16_13TeV.00302347.express_express.merge.RAW._lb0432._SFO-ALL._0001.1'
-projectName       = 'data16_13TeV'
-
-
-# update for comsics
-if beamType == 'cosmics':
-    ### fileName          = '/afs/cern.ch/atlas/offline/test/data11_cos.00182609.physics_CosmicCalo.merge.RAW._lb0100._SFO-ALL._0001.1.SFO-ALL._0001.1.10evts.data '
-    ### fileName          = '/afs/cern.ch/work/c/cylin/public/data15_cos.00258389.express_express.merge.RAW._lb0894._SFO-ALL._0001.1'
-    fileName          = '/afs/cern.ch/work/s/smwang/public/DQM/data/data15_cos.00287824.express_express.merge.RAW._lb0015._SFO-ALL._0001.1'
-    ### fileName          = 'root://eosatlas.cern.ch//eos/atlas/atlastier0/rucio/data15_cos/express_express/00287824/data15_cos.00287824.express_express.merge.RAW/data15_cos.00287824.express_express.merge.RAW._lb0015._SFO-ALL._0001.1'
-    ### streamName        ='CosmicCalo_physics'
-    streamName        ='express_express'
-    projectName       = 'data15_cos'
-    
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-doInDet     = doAllReco
-doMuon      = doAllReco
-doLArg      = doAllReco
-doTile      = doAllReco
-doTrigger   = doAllReco
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissionig = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-doCaloMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = doAllMon
-doIDMon   = doAllMon
-doTRTMon  = doAllMon
-doMuonMon = doAllMon
-#doPixelOnlyMon = False
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-#### CHANGES TO GET 19.1.0.1 RECO WORKING (M4)
-from AthenaCommon.BeamFlags import jobproperties
-jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-
-#from AthenaCommon.GlobalFlags import globalflags
-#globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-#globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-#globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-
-
-from AthenaCommon.BFieldFlags import jobproperties
-jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-###jobproperties.BField.solenoidOn.set_Value_and_Lock(False)
-
-
-from CaloRec.CaloCellFlags import jobproperties
-jobproperties.CaloCellFlags.doLArHVCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
-jobproperties.CaloCellFlags.doLArDeadOTXCorr.set_Value_and_Lock(False)  ####? for trigger, added 11th March, 2015, by CY
-
-
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doInnerDetectorCommissioning.set_Value_and_Lock(True)
-InDetFlags.useBroadClusterErrors.set_Value_and_Lock(False)
-
-
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-DQMonFlags.doStreamAwareMon.set_Value_and_Lock(False)
-DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
-DQMonFlags.doCTPMon.set_Value_and_Lock(False)
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)
-### DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(False) #xx
-DQMonFlags.doMuonTrkPhysMon.set_Value_and_Lock(True) #xx
-### DQMonFlags.doJetTagMon.set_Value_and_Lock(False)
-
-
-from RecExConfig.RecFlags import rec
-rec.doBTagging.set_Value_and_Lock(True)
-
-from JetRec.JetRecFlags import jetFlags
-jetFlags.useBTagging.set_Value_and_Lock(True)
-
-
-###from JetRec.JetRecFlags import jetFlags
-###jetFlags.useTracks.set_Value_and_Lock(False)
-
-
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-### MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(True)
-MuonDQADetFlags.doTGCMon.set_Value_and_Lock(True)
-
-
-### from AthenaMonitoring.DQMonFlags import DQMonFlags
-### DQMonFlags.doMuonCombinedMon.set_Value_and_Lock(False)
-### DQMonFlags.doMuonPhysicsMon.set_Value_and_Lock(False)
-### #DQMonFlags.doIDMon.set_Value_and_Lock(False)
-
-##---------------------------------------ID suggestion from Alex 18.Feb.2015  --------
-jobproperties.InDetJobProperties.doTrackSegmentsSCT.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsPixel.set_Value_and_Lock(False)
-jobproperties.InDetJobProperties.doTrackSegmentsTRT.set_Value_and_Lock(False)
-
-
-##---------------------------------------Bunch Spacing 25ns  --------
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.InDet25nsec.set_Value_and_Lock(True)
-
-jobproperties.Beam.bunchSpacing.set_Value_and_Lock(25)
-
-# --------------------------------------------- Monitoring
-### replaced by MuonTrackMonitoring (SMW Jan 23 2016)
-### from AthenaMonitoring.DQMonFlags import DQMonFlags
-### DQMonFlags.doMuonPhysicsMon.set_Value_and_Lock(True)
-
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
-
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Online.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Online.py
deleted file mode 100644
index 86e82a427a21fa240aa5238734c492a8daa8fe76..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_User_Online.py
+++ /dev/null
@@ -1,72 +0,0 @@
-## -- Overview of all default local settings that one can change 
-## -- The default values are also shown.
-
-## ------------------------------------------- flags set in: RecExOnline_jobOptions.py  
-isOnline          = True
-isOnlineStateless = True
-
-#for the time being, running over file is not possible ONLINE (please see RecExOnline_File_Offline.py) 
-useEmon           = True
-keycount          = 10
-buffersize        = 10
-updateperiod      = 200
-timeout           = 240000
-keyname           = 'SFI'
-streamName        = 'L1Calo'
-streamLogic       = 'Ignore'
-
-useAtlantisEmon   = False
-evtMax            = -1
-
-## ------------------------------------------- flags set in: RecExOnline_emonsvc.py (from RecExOnline_jobOptions.py)                    
-partitionName   = 'TestDataProvider'
-publishName     = 'A1_Global_Test'
-isserverName    = 'Histogramming'
-
-## ------------------------------------------- flags set in: RecExOnline_globalconfig.py  (from RecExOnline_jobOptions.py)
-#read the pickle file if you want to use the AMI tag info
-#stored in ami_recotrf.pickle (produced by 'tct_getAmiTag.py f140 ami_recotrf.cmdargs ami_recotrf.pickle') 
-usePickleConfig   = False
-pickleconfigfile  = './ami_recotrf.pickle'
-DataSource        = 'data'
-InputFormat       = 'bytestream'
-fileName          = './0.data'
-beamType          = 'collisions'
-
-#COND tag and GEO are needed for running over a test partition online
-ConditionsTag     = 'COMCOND-HLTP-004-01'
-DetDescrVersion   = 'ATLAS-GEO-20-00-01'
-
-doESD             = True
-writeESD          = False
-doAOD             = False
-writeAOD          = False
-IOVDbSvcMessage   = False
-
-## ------------------------------------------ flags set in: RecExOnline_recoflags.py (from RecExOnline_jobOptions.py)
-doAllReco   = True
-doInDet     = doAllReco
-doMuon      = doAllReco
-doLArg      = doAllReco
-doTile      = doAllReco
-doTrigger   = False
-doHist      = doAllReco
-doJiveXML   = False
-doEgammaTau = doAllReco
-
-#set to True in the JO
-#doCommissioning = False
-
-## ------------------------------------------ flags set in : RecExOnline_monitoring.py (from from RecExOnline_jobOptions.py)
-doAllMon  = True
-doCaloMon = doAllMon
-doPhysMon = doAllMon
-doTrigMon = False
-doIDMon   = doAllMon
-doTRTMon  = doAllMon
-doMuonMon = doAllMon
-
-## ------------------------------------------ flags set in : RecExOnline_postconfig.py    (called from RecExOnline_jobOptions.py)
-
-## main online reco scripts
-include ("RecExOnline/RecExOnline_jobOptions.py")
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_emonsvc.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_emonsvc.py
deleted file mode 100644
index bd404507bbd7d34a69cee90a5fe159f4c05e47ca..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_emonsvc.py
+++ /dev/null
@@ -1,201 +0,0 @@
-########################################
-#
-# Example setup for ByteStreamEmonSvc
-# 
-#########################################
-
-## -------------------------------------------------------------------
-## list of local flags
-
-if ('partitionName' not in dir() or partitionName is None):
-    partitionName = 'ATLAS'
-
-if ('publishName' not in dir() or publishName is None):
-    publishName = 'Global_PT'
-
-if ('streamType' not in dir() or streamType is None):
-    streamType = 'physics'
-
-if ('streamName' not in dir() or streamName is None):
-    streamName = 'Egamma:Muons'
-
-if ('streamLogic' not in dir() or streamLogic is None):
-    streamLogic = 'Ignore'
-
-if ('lvl1Name' not in dir() or lvl1Name is None):
-    lvl1Name = 'L1_MU2:L1_MU3:L1_EM10'
-
-if ('lvl1Logic' not in dir() or lvl1Logic is None):
-    lvl1Logic = 'Ignore'
-
-if ('keyname' not in dir()):
-    keyname = 'SFI'
-
-if ('keycount' not in dir()):
-    keycount = 10
-
-if ('buffersize' not in dir()):
-    buffersize = 10
-
-if ('updateperiod' not in dir()):
-    updateperiod = 200
-
-if ('timeout' not in dir()):
-    timeout = 240000
-
-if ('groupName' not in dir()):
-    groupName = 'RecExOnline'
-
-if ('isserverName' not in dir()):
-    isserverName = 'Histogramming'
-
-if ('isGlobalMonitoring' not in dir()):
-    isGlobalMonitoring = False
-
-## -------------------------------------------------------------------
-# Common part, copy from here
-from AthenaCommon.AppMgr import ServiceMgr as svcMgr
-from AthenaCommon.Constants import *
-
-include("ByteStreamEmonSvc/ByteStreamEmonInputSvc_jobOptions.py")
-
-# #####################################################
-# If using the ERSBootstrap.py file, enable the output
-# via ERS
-# ####################################################
-#MessageSvc.useErs = True
-# Define the input
-ByteStreamEmonInputSvc = svcMgr.ByteStreamInputSvc
-
-# ############################################################
-# The name of the partition you want to connect to is taken
-# from 'TDAQ_PARTITION' if it exists, otherwise from here.
-# ############################################################
-ByteStreamEmonInputSvc.Partition = partitionName
-
-# #######################################################
-# The source of events, can be 'REB' (ROS Event Builder),
-# 'SFI' (output of L2, default), 'efd' (output of EF)
-# #######################################################
-#print "IRH got Key: keyname: "+keyname
-ByteStreamEmonInputSvc.Key = keyname
-
-# special settings for pixel stand-alone partition
-if (partitionName == 'PixelDD'):
-    ByteStreamEmonInputSvc.Key = 'ReadoutApplication'
-    ByteStreamEmonInputSvc.KeyValue = [ 'ROSEventBuilder' ]
-
-# ############################################################
-# A list of of key values, e.g. a list of SFIs to contact.
-# If not defined, one event provider of this type (i.e. any SFI)
-# ############################################################
-#ByteStreamEmonInputSvc.KeyValue = [ 'SFI-1', 'SFI-2' ]
-
-# #######################################
-# Alternative: N providers of type 'SFI'
-# KeyValue is ignored if this is set.
-# ######################################
-ByteStreamEmonInputSvc.KeyCount = keycount
-
-# #######################################
-# Set this to the IS server where you want
-# to publish histograms, too. If unset, no
-# histograms are published.
-# #######################################
-if (isGlobalMonitoring and partitionName in ['ATLAS', 'TDAQ']):
-    ByteStreamEmonInputSvc.ISServer = 'Histogramming-Global-iss'
-else:
-    ByteStreamEmonInputSvc.ISServer = isserverName
-
-# ########################################
-# The provider name under which your histograms
-# appear in OH.
-# ########################################
-ByteStreamEmonInputSvc.PublishName = publishName
-
-# ###################################################
-# Should histograms be cleared at new run? default: yes
-# ###################################################
-ByteStreamEmonInputSvc.ClearHistograms = True
-
-# ####################################################
-# A regular expression to restrict which histograms are published.
-# Default: no selection - include all, exclude none
-# ####################################################
-# AK: 11-07-2014 in rel.19 SHIFT and EXPERT histogram folders are disabled. This means that no histograms are published, since SHIFT is enabled and EXPERT disabled.
-#if (isGlobalMonitoring):
-#    ByteStreamEmonInputSvc.Include = '/SHIFT/.*'
-#    ByteStreamEmonInputSvc.Exclude = '/EXPERT/.*'
-
-# ###############################################
-# Frequency of updates (in number of events, not secs...)
-# ###############################################
-#ByteStreamEmonInputSvc.Frequency = 5
-
-ByteStreamEmonInputSvc.BufferSize = buffersize
-ByteStreamEmonInputSvc.UpdatePeriod = updateperiod
-ByteStreamEmonInputSvc.Timeout = timeout
-
-# ##############################
-# one of 'Ignore', 'Or', 'And'
-# ##############################
-ByteStreamEmonInputSvc.LVL1Logic = lvl1Logic
-
-# #########################################
-# One of 'TAP', 'TBP' or 'TAV' (default)
-# #########################################
-#ByteStreamEmonInputSvc.LVL1Origin = 'TAV'
-
-# ###########################################################
-# A list of L1 bit names to select on. This requires the
-# L1CT.TrigConfL1Items to be published in IS.
-# This can be used instead of or in addition to LVL1Bits.
-# ###########################################################
-if (lvl1Logic != 'Ignore'):
-    ByteStreamEmonInputSvc.LVL1Names = lvl1Name.split(':')
-
-# ##########################################################
-# A list of numerical trigger bits instead of names. This is
-# Or'ed with LVL1Names
-# ##########################################################
-#ByteStreamEmonInputSvc.LVL1Items = [ 10, 20, 72, 245 ]
-
-# ###########################################
-# Selection by stream tag:
-# One of 'Or', 'And', 'Ignore' (default)
-# ###########################################
-ByteStreamEmonInputSvc.StreamLogic = streamLogic
-
-# ###########################################
-# One of 'physics' or 'calibration'
-# ############################################
-if (streamName == 'express'):
-    ByteStreamEmonInputSvc.StreamType = 'express'
-else:
-    ByteStreamEmonInputSvc.StreamType = streamType
-
-# ############################################
-# A list of stream tag names
-# ############################################
-if (streamName == ""):
-    ByteStreamEmonInputSvc.StreamNames = list()
-else:
-    ByteStreamEmonInputSvc.StreamNames = streamName.split(':')
-
-# #################################################
-# Shall athena exit if the partition is shutdown ?
-# For offline athena tasks mainly.
-# #################################################
-ByteStreamEmonInputSvc.ExitOnPartitionShutdown = False
-
-# #################################################
-# Set groupName to "RecExOnline" by default so that 
-# each process belonging to the "RecExOnline" group 
-# gets a different set of events.
-# Set groupName to empty to allow other process get 
-# the same events.
-# #################################################
-ByteStreamEmonInputSvc.GroupName = groupName
-
-ByteStreamCnvSvc = Service('ByteStreamCnvSvc')
-theApp.ExtSvc += [ 'ByteStreamCnvSvc' ]
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig.py
deleted file mode 100644
index c5ef01d8dfeaeb7e54f5a3c92e3328fe17c4e9a4..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig.py
+++ /dev/null
@@ -1,353 +0,0 @@
-if (not 'usePickleConfig' in dir()):
-    usePickleConfig = False
-
-if (not 'pickleconfigfile' in dir()):
-    usePickleConfig = False
-
-if (not 'DataSource' in dir()):
-    DataSource = 'data'
-
-if (not 'InputFormat' in dir()):
-    InputFormat = 'bytestream'
-
-if (not 'fileName' in dir()):
-    fileName = None
-
-if (not 'doESD' in dir()):
-    doESD = True
-
-if (not 'writeESD' in dir()):
-    writeESD = False
-
-if (not 'doAOD' in dir()):
-    doAOD = False
-
-if (not 'writeAOD' in dir()):
-    writeAOD = False
-
-if (not 'isOnlineStateless' in dir()):
-    isOnlineStateless = True
-
-if (not 'beamType' in dir()):
-    beamType = 'collisions'
-
-#if (not 'is_T0_project_tag' in dir()):
-#    is_T0_project_tag = 'data12_8TeV'
-
-if (not 'is_T0_project_tag' in dir()):
-    is_T0_project_tag = 'data15_cos'
-
-if (not 'ConditionsTag' in dir()):
-    ConditionsTag = 'CONDBR2-HLTP-2017-03' # for new ID alignment 26 May 2017
-
-if (not 'DetDescrVersion' in dir()):
-    DetDescrVersion = 'ATLAS-R2-2016-01-00-01' # for new ID alignment 26 May 2017
-
-if (not 'doPixelOnlyMon' in dir()):
-    doPixelOnlyMon = False
-
-if (not 'REO_doAutoConfiguration' in dir()):
-    REO_doAutoConfiguration = False
-
-## -------------------------------------------------------------------
-## configuration from pickle file
-
-import os,pickle
-
-from AthenaCommon.Logging import logging
-logRecExOnline_globalconfig = logging.getLogger( 'RecExOnline_globalconfig' )
-
-if usePickleConfig and os.path.exists(pickleconfigfile):
-    f = open(pickleconfigfile, 'r')
-    onlinegoodies = pickle.load(f)
-    f.close()
-
-    if onlinegoodies.has_key('DataSource'):
-        DataSource = onlinegoodies['DataSource']
-    if onlinegoodies.has_key('ConditionsTag'):
-        ConditionsTag = onlinegoodies['ConditionsTag']
-    if onlinegoodies.has_key('beamType'):
-        beamType = onlinegoodies['beamType']
-    if onlinegoodies.has_key('DetDescrVersion'):
-        DetDescrVersion = onlinegoodies['DetDescrVersion']
-
-    if onlinegoodies.has_key('preExec'):
-        preExec = onlinegoodies['preExec'].split(',,')
-    if onlinegoodies.has_key('postExec'):
-        postExec = onlinegoodies['postExec'].split(',,')
-    if onlinegoodies.has_key('preInclude'):
-        preInclude = onlinegoodies['preInclude'].split(',,')
-    if onlinegoodies.has_key('postInclude'):
-        postInclude = onlinegoodies['postInclude'].split(',,')
-
-## -------------------------------------------------------------------
-## Online Configuration from IS
-
-import sys
-
-# The dl module seems to be missing on 64-bit platforms.
-# Since RTLD_NOW==0x002 and RTLD_GLOBAL==0x100 very commonly
-# we will just guess that the proper flags are 0x102 when there
-# is no dl module.
-try:
-    import dl
-    newflags = dl.RTLD_NOW|dl.RTLD_GLOBAL
-    logRecExOnline_globalconfig.info("import dl failed with newflags=%s" % newflags )
-    logRecExOnline_globalconfig.info("proceeding with preconfigured newflags=0x102")
-except:
-    newflags = 0x102  # No dl module, so guess (see above).
-try:
-    sys.setdlopenflags(newflags)
-except:
-    logRecExOnline_globalconfig.info("sys.setdlopenflags(newflags) failed with newflags=%s" % newflags )
-#import dl
-#sys.setdlopenflags(dl.RTLD_GLOBAL | dl.RTLD_NOW)
-
-
-### remember flags to set this correctly via default
-from AthenaCommon.BFieldFlags import jobproperties
-
-FirstSample = 3
-NSamples = 5
-
-### initialize flags before SetupField to choose correct condition tag database. 5 May 2017
-from AthenaCommon.GlobalFlags import globalflags
-from AthenaCommon.AthenaCommonFlags import jobproperties,athenaCommonFlags
-globalflags.DataSource.set_Value_and_Lock(DataSource)
-athenaCommonFlags.isOnline = isOnline
-
-if (useEmon and (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1')):
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-
-    p2  = ispy.IPCPartition(partitionName)
-    obj = ispy.ISObject(p2, 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-    is_T0_project_tag = obj.T0_project_tag
-    is_run_number = obj.run_number
-    is_beam_type = obj.beam_type
-    logRecExOnline_globalconfig.info("is_run_number = %s" % is_run_number)
-    logRecExOnline_globalconfig.info("is_beam_type = %s" % is_beam_type)
-    logRecExOnline_globalconfig.info("is_T0_project_tag = %s" % is_T0_project_tag)
-
-    part_name = 'initial'
-    p = IPCPartition(part_name)
-    toroidCurrent = 0
-    toroidInvalid = 1
-    solenoidCurrent = 0
-    solenoidInvalid = 1
-
-    # AL playing around: start
-    #toroidCurrent   = ispy.ISInfoDynAny(p2, 'DdcFloatInfo')
-    #solenoidCurrent = ispy.ISInfoDynAny(p2, 'DdcFloatInfo')
-    #toroidInvalid   = ispy.ISInfoDynAny(p2, 'DdcIntInfo')
-    #solenoidInvalid = ispy.ISInfoDynAny(p2, 'DdcIntInfo')
-    solenoidCurrent = ISObject(p,'DCS_GENERAL.MagnetSolenoidCurrent.value','DdcFloatInfo')
-    solenoidCurrent.checkout()
-    toroidCurrent = ISObject(p,'DCS_GENERAL.MagnetToroidsCurrent.value','DdcFloatInfo')
-    toroidCurrent.checkout()
-    solenoidInvalid = ISObject(p,'DCS_GENERAL.MagnetSolenoidCurrent.invalid','DdcIntInfo')
-    solenoidInvalid.checkout()
-    toroidInvalid = ISObject(p,'DCS_GENERAL.MagnetToroidsCurrent.invalid','DdcIntInfo')
-    toroidInvalid.checkout()
-
-    #toroidInvalid.value=1
-    #solenoidInvalid.value=1
-    # AL playing around: end
-
-
-    logRecExOnline_globalconfig.info("toroidCurrent = %f", toroidCurrent.value)
-    logRecExOnline_globalconfig.info("toroidInvalid = %f", toroidInvalid.value)
-    logRecExOnline_globalconfig.info("solenoidCurrent = %f", solenoidCurrent.value)
-    logRecExOnline_globalconfig.info("solenoidInvalid = %f", solenoidInvalid.value)
-
-    #from BFieldAth.BFieldAthConf import MagFieldAthenaSvc
-    #svcMgr += MagFieldAthenaSvc(SetupCOOL=True, NameOfTheSource='COOL_HLT', onlineSolCur=solenoidCurrent.value, onlineTorCur=toroidCurrent.value)
-    import MagFieldServices.SetupField # New magnetic field service. 5 May 2017
-
-    try:
-        p3 = IPCPartition(partitionName)
-        x = ISObject(p3, 'LArParams.LAr.RunLogger.GlobalParams', 'GlobalParamsInfo')
-        x.checkout()
-        FirstSample = x.firstSample
-        NSamples = x.nbOfSamples
-        Format = x.format
-    except:
-        logRecExOnline_globalconfig.info("Could not find IS Parameters for LArParams.LAr.RunLogger.GlobalParams - Set default flags (FirstSample=3, NSamples=5")
-
-    # for beam splash when LAr in "transparent" ROD mode  (5 May 2017)
-    if 'Format' in dir() and Format == 0:
-        from LArROD.LArRODFlags import larRODFlags
-        larRODFlags.keepDSPRaw.set_Value_and_Lock(False)
-
-
-
-
-# ----------------------------------------------- Set Run configuration
-
-## Second, fall back to manual configuration or default values
-globalflags.InputFormat.set_Value_and_Lock(InputFormat)
-
-if not useEmon:
-    athenaCommonFlags.BSRDOInput.set_Value_and_Lock([fileName])
-else:
-    athenaCommonFlags.BSRDOInput.set_Value_and_Lock([]) # fix from ATLASDQ-853
-
-## suppress needless warnings "no stream X associated with id Y" for online jobs
-from GaudiSvc.GaudiSvcConf import THistSvc
-THistSvc.OutputLevel = ERROR
-
-### switch off NN Pixel cluster splitting, as suggested in bug #91340
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doPixelClusterSplitting.set_Value(False) # does not work online
-
-## new ID alignment 26 May 2017
-from AtlasGeoModel.InDetGMJobProperties import InDetGeometryFlags
-InDetGeometryFlags.useDynamicAlignFolders.set_Value_and_Lock(True)
-
-# ----------------------------------------------- Online flag
-athenaCommonFlags.EvtMax.set_Value_and_Lock(evtMax)
-athenaCommonFlags.isOnlineStateless = isOnlineStateless
-# ----------------------------------------------- Remove DCS problems
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.useBeamConstraint.set_Value_and_Lock(False)
-
-InDetFlags.doRobustReco = False
-
-if athenaCommonFlags.isOnline:
-    InDetFlags.useDCS.set_Value_and_Lock(False)                               # fails when true: pixel accessing Temperature info (getting fixed)
-
-# ----------------------------------------------- Special settings for pixel monitoring
-logRecExOnline_globalconfig.info("RecExOnline: flag doPixelOnlyMon = %s" %doPixelOnlyMon)
-if doPixelOnlyMon:
-    ## force pixel on, turn off the rest of the ID:
-    InDetFlags.doTrackSegmentsPixel.set_Value_and_Lock(True)
-    InDetFlags.doTrackSegmentsSCT.set_Value_and_Lock(False)
-    InDetFlags.doTrtSegments.set_Value_and_Lock(False)
-
-    from AthenaCommon.DetFlags import DetFlags
-    DetFlags.SCT_setOff()
-    DetFlags.detdescr.SCT_setOn()
-    DetFlags.TRT_setOff()
-    DetFlags.detdescr.TRT_setOn()
-    DetFlags.pixel_setOn()
-    DetFlags.detdescr.pixel_setOn()
-    DetFlags.detdescr.ID_on()
-
-# ----------------------------------------------- Output flags
-from RecExConfig.RecFlags import rec
-
-if (isOnline and useEmon and (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1' or partitionName == 'TDAQ')):
-    rec.projectName.set_Value_and_Lock(is_T0_project_tag)
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-
-# ------------------------------------------------ Ensure the current in tororid and solenoid
-    from AthenaCommon.AthenaCommonFlags import jobproperties,athenaCommonFlags
-    jobproperties.BField.solenoidOn.set_Value_and_Lock( solenoidCurrent.value > 70 )
-    jobproperties.BField.barrelToroidOn.set_Value_and_Lock( toroidCurrent.value > 70 )
-    jobproperties.BField.endcapToroidOn.set_Value_and_Lock( toroidCurrent.value > 70 )
-
-    #rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    #rec.AutoConfiguration = ['ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']")
-    #logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    #logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamEnergy = %s" %BeamEnergy)
-    #logRecExOnline_globalconfig.info("RecExOnline: LumiFlags = %s" %LumiFlags)
-
-if (isOnline and useEmon and (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1' and partitionName != 'TDAQ')):
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType']
-#    rec.AutoConfiguration = ['ConditionsTag', 'BeamType']
-    #logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType']")
-    #logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    #logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-if (not isOnline and not useEmon) or (isOnline and REO_doAutoConfiguration):
-    logRecExOnline_globalconfig.info("RecExOnline: (not isOnline and not useEmon) or (isOnline and REO_doAutoConfiguration)")
-    rec.AutoConfiguration = ['everything']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration = everything")
-
-
-if (isOnline and not useEmon):
-    logRecExOnline_globalconfig.info("RecExOnline: isOnline and not useEmon")
-    from AthenaCommon.BFieldFlags import jobproperties
-    jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-    jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-    jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    ### rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType']
-    #    rec.AutoConfiguration = ['ConditionsTag', 'BeamType']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType']")
-    # logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    # logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    # logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-
-
-
-#### CHANGES TO GET 19.1.0.1 RECO WORKING (M4)
-# Default to COMP200 rather than CONDBR2
-from AthenaCommon.GlobalFlags import globalflags
-#globalflags.DatabaseInstance = "CONDBR2"
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-from LumiBlockComps.LuminosityCondAlgDefault import LuminosityCondAlgOnlineDefault
-LuminosityCondAlgOnlineDefault()
-
-from LumiBlockComps.LumiBlockMuWriterDefault import LumiBlockMuWriterDefault
-LumiBlockMuWriterDefault()
-
-from AthenaCommon.AppMgr import ToolSvc
-from AthenaCommon import CfgMgr
-if not hasattr(ToolSvc, "LumiBlockMuTool"):
-    ToolSvc += CfgMgr.LumiBlockMuTool("LumiBlockMuTool")
-
-## Another Problem with LAR offline databases
-from LArConditionsCommon.LArCondFlags import larCondFlags
-#larCondFlags.SingleVersion.set_Value_and_Lock(True)
-larCondFlags.OFCShapeFolder.set_Value_and_Lock("")
-larCondFlags.ua2MeVFolder.set_Value_and_Lock("")
-larCondFlags.MphysOverMcalFolder.set_Value_and_Lock("")
-
-
-rec.doESD.set_Value_and_Lock(doESD)
-rec.doAOD.set_Value_and_Lock(doAOD)
-rec.doWriteESD.set_Value_and_Lock(writeESD)
-rec.doWriteAOD.set_Value_and_Lock(writeAOD)
-rec.doCBNT.set_Value_and_Lock(False)
-rec.doWriteTAG.set_Value_and_Lock(False)
-
-# Fixing the error message for deprecated doAOD call: "ERROR updating doAOD to value False . WILL SOON NOT WORK ANYMORE ! Please update to filling directly jp.Rec.blah or jp.AthenaCommonFlags.blah "
-#from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
-#athenaCommonFlags.doAOD.set_Value_and_Lock(doAOD)
-#
-#from RecExConfig.RecFlags import jobproperties
-#jobproperties.Rec.doAOD.set_Value_and_Lock(doAOD)
-
-
-
-# ---------------------------------------------- Debug flags
-rec.doPerfMon.set_Value_and_Lock(False)                                     # optional for performance check
-rec.doDetailedPerfMon.set_Value_and_Lock(False)
-rec.doSemiDetailedPerfMon.set_Value_and_Lock(False)
-rec.doNameAuditor.set_Value_and_Lock(False)                                 # optional for debugging
-
-if not 'IOVDbSvcMessage' in dir():
-    from AthenaCommon.AppMgr import ServiceMgr as svcMgr
-    import IOVDbSvc.IOVDb
-    svcMgr.IOVDbSvc.OutputLevel = 2
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig_pp_2018.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig_pp_2018.py
deleted file mode 100644
index 6d4bfc357fdb951c9774fd98b6758ee6ebe8b9bc..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_globalconfig_pp_2018.py
+++ /dev/null
@@ -1,350 +0,0 @@
-if (not 'usePickleConfig' in dir()):
-    usePickleConfig = False
-
-if (not 'pickleconfigfile' in dir()):
-    usePickleConfig = False
-
-if (not 'DataSource' in dir()):
-    DataSource = 'data'
-
-if (not 'InputFormat' in dir()):
-    InputFormat = 'bytestream'
-
-if (not 'fileName' in dir()):
-    fileName = None
-
-if (not 'doESD' in dir()):
-    doESD = True
-
-if (not 'writeESD' in dir()):
-    writeESD = False
-
-if (not 'doAOD' in dir()):
-    doAOD = False
-
-if (not 'writeAOD' in dir()):
-    writeAOD = False
-
-if (not 'isOnlineStateless' in dir()):
-    isOnlineStateless = True
-
-if (not 'beamType' in dir()):
-    beamType = 'collisions'
-
-#if (not 'is_T0_project_tag' in dir()):
-#    is_T0_project_tag = 'data12_8TeV'
-
-if (not 'is_T0_project_tag' in dir()):
-    is_T0_project_tag = 'data15_cos'
-
-### tag created 2015-11-04 : Based on CONDBR2-HLTP-2015-07, TRT folders for rel. 20.7 were added and updated.
-if (not 'ConditionsTag' in dir()):
-    ConditionsTag = 'CONDBR2-HLTP-2015-08'
-
-if (not 'DetDescrVersion' in dir()):
-    DetDescrVersion = 'ATLAS-R2-2015-03-01-00'
-
-if (not 'doPixelOnlyMon' in dir()):
-    doPixelOnlyMon = False
-
-if (not 'REO_doAutoConfiguration' in dir()):
-    REO_doAutoConfiguration = False
-
-### harmonize conditions tag and geometry for all monitoring jobs; 26 May 2017
-DetDescrVersion = 'ATLAS-R2-2016-01-00-01' # for new ID alignment 26 May 2017
-if isOnline:
-    ### ConditionsTag = 'CONDBR2-HLTP-2017-03' # for new ID alignment 26 May 2017
-    ConditionsTag = 'CONDBR2-HLTP-2018-01' # Aug 21st 2018
-
-## -------------------------------------------------------------------
-## configuration from pickle file
-
-import os,pickle
-
-from AthenaCommon.Logging import logging
-logRecExOnline_globalconfig = logging.getLogger( 'RecExOnline_globalconfig' )
-
-if usePickleConfig and os.path.exists(pickleconfigfile):
-    f = open(pickleconfigfile, 'r')
-    onlinegoodies = pickle.load(f)
-    f.close()
-
-    if onlinegoodies.has_key('DataSource'):
-        DataSource = onlinegoodies['DataSource']
-    if onlinegoodies.has_key('ConditionsTag'):
-        ConditionsTag = onlinegoodies['ConditionsTag']
-    if onlinegoodies.has_key('beamType'):
-        beamType = onlinegoodies['beamType']
-    if onlinegoodies.has_key('DetDescrVersion'):
-        DetDescrVersion = onlinegoodies['DetDescrVersion']
-
-    if onlinegoodies.has_key('preExec'):
-        preExec = onlinegoodies['preExec'].split(',,')
-    if onlinegoodies.has_key('postExec'):
-        postExec = onlinegoodies['postExec'].split(',,')
-    if onlinegoodies.has_key('preInclude'):
-        preInclude = onlinegoodies['preInclude'].split(',,')
-    if onlinegoodies.has_key('postInclude'):
-        postInclude = onlinegoodies['postInclude'].split(',,')
-
-## -------------------------------------------------------------------
-## Online Configuration from IS
-
-import sys
-
-# The dl module seems to be missing on 64-bit platforms.
-# Since RTLD_NOW==0x002 and RTLD_GLOBAL==0x100 very commonly
-# we will just guess that the proper flags are 0x102 when there
-# is no dl module.
-try:
-    import dl
-    newflags = dl.RTLD_NOW|dl.RTLD_GLOBAL
-    logRecExOnline_globalconfig.info("import dl failed with newflags=%s" % newflags )
-    logRecExOnline_globalconfig.info("proceeding with preconfigured newflags=0x102")
-except:
-    newflags = 0x102  # No dl module, so guess (see above).
-try:
-    sys.setdlopenflags(newflags)
-except:
-    logRecExOnline_globalconfig.info("sys.setdlopenflags(newflags) failed with newflags=%s" % newflags )
-#import dl
-#sys.setdlopenflags(dl.RTLD_GLOBAL | dl.RTLD_NOW)
-
-
-### remember flags to set this correctly via default
-from AthenaCommon.BFieldFlags import jobproperties
-
-FirstSample = 3
-NSamples = 5
-
-### initialize flags before SetupField to choose correct condition tag database. 5 May 2017
-from AthenaCommon.GlobalFlags import globalflags
-from AthenaCommon.AthenaCommonFlags import jobproperties,athenaCommonFlags
-globalflags.DataSource.set_Value_and_Lock(DataSource)
-athenaCommonFlags.isOnline = isOnline
-
-if (useEmon and (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1')):
-    import ispy
-    from ispy import *
-    from ipc import IPCPartition
-    from ispy import ISObject
-
-    p2  = ispy.IPCPartition(partitionName)
-    obj = ispy.ISObject(p2, 'RunParams.RunParams', 'RunParams')
-    obj.checkout()
-    is_T0_project_tag = obj.T0_project_tag
-    is_run_number = obj.run_number
-    is_beam_type = obj.beam_type
-    logRecExOnline_globalconfig.info("is_run_number = %s" % is_run_number)
-    logRecExOnline_globalconfig.info("is_beam_type = %s" % is_beam_type)
-    logRecExOnline_globalconfig.info("is_T0_project_tag = %s" % is_T0_project_tag)
-
-    part_name = 'initial'
-    p = IPCPartition(part_name)
-    toroidCurrent = 0
-    toroidInvalid = 1
-    solenoidCurrent = 0
-    solenoidInvalid = 1
-
-    # AL playing around: start
-    #toroidCurrent   = ispy.ISInfoDynAny(p2, 'DdcFloatInfo')
-    #solenoidCurrent = ispy.ISInfoDynAny(p2, 'DdcFloatInfo')
-    #toroidInvalid   = ispy.ISInfoDynAny(p2, 'DdcIntInfo')
-    #solenoidInvalid = ispy.ISInfoDynAny(p2, 'DdcIntInfo')
-    solenoidCurrent = ISObject(p,'DCS_GENERAL.MagnetSolenoidCurrent.value','DdcFloatInfo')
-    solenoidCurrent.checkout()
-    toroidCurrent = ISObject(p,'DCS_GENERAL.MagnetToroidsCurrent.value','DdcFloatInfo')
-    toroidCurrent.checkout()
-    solenoidInvalid = ISObject(p,'DCS_GENERAL.MagnetSolenoidCurrent.invalid','DdcIntInfo')
-    solenoidInvalid.checkout()
-    toroidInvalid = ISObject(p,'DCS_GENERAL.MagnetToroidsCurrent.invalid','DdcIntInfo')
-    toroidInvalid.checkout()
-
-    #toroidInvalid.value=1
-    #solenoidInvalid.value=1
-    # AL playing around: end
-
-
-    logRecExOnline_globalconfig.info("toroidCurrent = %f", toroidCurrent.value)
-    logRecExOnline_globalconfig.info("toroidInvalid = %f", toroidInvalid.value)
-    logRecExOnline_globalconfig.info("solenoidCurrent = %f", solenoidCurrent.value)
-    logRecExOnline_globalconfig.info("solenoidInvalid = %f", solenoidInvalid.value)
-
-    #from BFieldAth.BFieldAthConf import MagFieldAthenaSvc
-    #svcMgr += MagFieldAthenaSvc(SetupCOOL=True, NameOfTheSource='COOL_HLT', onlineSolCur=solenoidCurrent.value, onlineTorCur=toroidCurrent.value)
-    import MagFieldServices.SetupField # New magnetic field service. 5 May 2017
-
-    try:
-        p3 = IPCPartition(partitionName)
-        x = ISObject(p3, 'LArParams.LAr.RunLogger.GlobalParams', 'GlobalParamsInfo')
-        x.checkout()
-        FirstSample = x.firstSample
-        NSamples = x.nbOfSamples
-        Format = x.format
-    except:
-        logRecExOnline_globalconfig.info("Could not find IS Parameters for LArParams.LAr.RunLogger.GlobalParams - Set default flags (FirstSample=3, NSamples=5")
-
-    # for beam splash when LAr in "transparent" ROD mode  (5 May 2017)
-    if 'Format' in dir() and Format == 0:
-        from LArROD.LArRODFlags import larRODFlags
-        larRODFlags.keepDSPRaw.set_Value_and_Lock(False)
-
-
-
-
-# ----------------------------------------------- Set Run configuration
-
-## Second, fall back to manual configuration or default values
-globalflags.InputFormat.set_Value_and_Lock(InputFormat)
-
-if not useEmon:
-    athenaCommonFlags.BSRDOInput.set_Value_and_Lock([fileName])
-else:
-    athenaCommonFlags.BSRDOInput.set_Value_and_Lock([''])
-
-## suppress needless warnings "no stream X associated with id Y" for online jobs
-from GaudiSvc.GaudiSvcConf import THistSvc
-THistSvc.OutputLevel = ERROR
-
-### switch off NN Pixel cluster splitting, as suggested in bug #91340
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.doPixelClusterSplitting.set_Value(False) # does not work online
-
-## new ID alignment 26 May 2017
-from AtlasGeoModel.InDetGMJobProperties import InDetGeometryFlags
-InDetGeometryFlags.useDynamicAlignFolders.set_Value_and_Lock(True)
-
-# ----------------------------------------------- Online flag
-athenaCommonFlags.EvtMax.set_Value_and_Lock(evtMax)
-athenaCommonFlags.isOnlineStateless = isOnlineStateless
-# ----------------------------------------------- Remove DCS problems
-from InDetRecExample.InDetJobProperties import InDetFlags
-InDetFlags.useBeamConstraint.set_Value_and_Lock(False)
-
-InDetFlags.doRobustReco = False
-
-if athenaCommonFlags.isOnline:
-    InDetFlags.useDCS.set_Value_and_Lock(False)                               # fails when true: pixel accessing Temperature info (getting fixed)
-
-# ----------------------------------------------- Special settings for pixel monitoring
-logRecExOnline_globalconfig.info("RecExOnline: flag doPixelOnlyMon = %s" %doPixelOnlyMon)
-if doPixelOnlyMon:
-    ## force pixel on, turn off the rest of the ID:
-    InDetFlags.doTrackSegmentsPixel.set_Value_and_Lock(True)
-    InDetFlags.doTrackSegmentsSCT.set_Value_and_Lock(False)
-    InDetFlags.doTrtSegments.set_Value_and_Lock(False)
-
-    from AthenaCommon.DetFlags import DetFlags
-    DetFlags.SCT_setOff()
-    DetFlags.detdescr.SCT_setOn()
-    DetFlags.TRT_setOff()
-    DetFlags.detdescr.TRT_setOn()
-    DetFlags.pixel_setOn()
-    DetFlags.detdescr.pixel_setOn()
-    DetFlags.detdescr.ID_on()
-
-# ----------------------------------------------- Output flags
-from RecExConfig.RecFlags import rec
-
-if (isOnline and useEmon and (partitionName == 'ATLAS' or partitionName == 'ATLAS_MP1' or partitionName == 'TDAQ')):
-    rec.projectName.set_Value_and_Lock(is_T0_project_tag)
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-
-# ------------------------------------------------ Ensure the current in tororid and solenoid
-    from AthenaCommon.AthenaCommonFlags import jobproperties,athenaCommonFlags
-    jobproperties.BField.solenoidOn.set_Value_and_Lock( solenoidCurrent.value > 70 )
-    jobproperties.BField.barrelToroidOn.set_Value_and_Lock( toroidCurrent.value > 70 )
-    jobproperties.BField.endcapToroidOn.set_Value_and_Lock( toroidCurrent.value > 70 )
-
-    #rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    #rec.AutoConfiguration = ['ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']")
-    #logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    #logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamEnergy = %s" %BeamEnergy)
-    #logRecExOnline_globalconfig.info("RecExOnline: LumiFlags = %s" %LumiFlags)
-
-if (isOnline and useEmon and (partitionName != 'ATLAS' and partitionName != 'ATLAS_MP1' and partitionName != 'TDAQ')):
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType']
-#    rec.AutoConfiguration = ['ConditionsTag', 'BeamType']
-    #logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType']")
-    #logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    #logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    #logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-if (not isOnline and not useEmon) or (isOnline and REO_doAutoConfiguration):
-    logRecExOnline_globalconfig.info("RecExOnline: (not isOnline and not useEmon) or (isOnline and REO_doAutoConfiguration)")
-    rec.AutoConfiguration = ['everything']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration = everything")
-
-
-if (isOnline and not useEmon):
-    logRecExOnline_globalconfig.info("RecExOnline: isOnline and not useEmon")
-    from AthenaCommon.BFieldFlags import jobproperties
-    jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True)
-    jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True)
-    jobproperties.BField.solenoidOn.set_Value_and_Lock(True)
-    from AthenaCommon.BeamFlags import jobproperties
-    jobproperties.Beam.beamType.set_Value_and_Lock(beamType)
-    globalflags.ConditionsTag.set_Value_and_Lock(ConditionsTag)
-    globalflags.DetDescrVersion.set_Value_and_Lock(DetDescrVersion)
-    ### rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType', 'BeamEnergy', 'LumiFlags']
-    rec.AutoConfiguration = ['FieldAndGeo', 'ConditionsTag', 'BeamType']
-    #    rec.AutoConfiguration = ['ConditionsTag', 'BeamType']
-    logRecExOnline_globalconfig.info("RecExOnline: running with autoconfiguration ['FieldAndGeo', 'ConditionsTag', 'BeamType']")
-    # logRecExOnline_globalconfig.info("RecExOnline: FieldAndGeo = %s" %FieldAndGeo)
-    # logRecExOnline_globalconfig.info("RecExOnline: ConditionsTag = %s" %ConditionsTag)
-    # logRecExOnline_globalconfig.info("RecExOnline: BeamType = %s" %BeamType)
-
-
-
-#### CHANGES TO GET 19.1.0.1 RECO WORKING (M4)
-# Default to COMP200 rather than CONDBR2
-from AthenaCommon.GlobalFlags import globalflags
-#globalflags.DatabaseInstance = "CONDBR2"
-globalflags.DatabaseInstance.set_Value_and_Lock("CONDBR2")
-
-## Another Problem with LAR offline databases
-from LArConditionsCommon.LArCondFlags import larCondFlags
-#larCondFlags.SingleVersion.set_Value_and_Lock(True)
-larCondFlags.OFCShapeFolder.set_Value_and_Lock("")
-larCondFlags.ua2MeVFolder.set_Value_and_Lock("")
-larCondFlags.MphysOverMcalFolder.set_Value_and_Lock("")
-
-
-rec.doESD.set_Value_and_Lock(doESD)
-rec.doAOD.set_Value_and_Lock(doAOD)
-rec.doWriteESD.set_Value_and_Lock(writeESD)
-rec.doWriteAOD.set_Value_and_Lock(writeAOD)
-rec.doCBNT.set_Value_and_Lock(False)
-rec.doWriteTAG.set_Value_and_Lock(False)
-
-# Fixing the error message for deprecated doAOD call: "ERROR updating doAOD to value False . WILL SOON NOT WORK ANYMORE ! Please update to filling directly jp.Rec.blah or jp.AthenaCommonFlags.blah "
-#from AthenaCommon.AthenaCommonFlags import athenaCommonFlags
-#athenaCommonFlags.doAOD.set_Value_and_Lock(doAOD)
-#
-#from RecExConfig.RecFlags import jobproperties
-#jobproperties.Rec.doAOD.set_Value_and_Lock(doAOD)
-
-
-
-# ---------------------------------------------- Debug flags
-rec.doPerfMon.set_Value_and_Lock(False)                                     # optional for performance check
-rec.doDetailedPerfMon.set_Value_and_Lock(False)
-rec.doSemiDetailedPerfMon.set_Value_and_Lock(False)
-rec.doNameAuditor.set_Value_and_Lock(False)                                 # optional for debugging
-rec.doDetStatus.set_Value_and_Lock(False)                                   # fails when true (fixed in next release)
-
-if not 'IOVDbSvcMessage' in dir():
-    from AthenaCommon.AppMgr import ServiceMgr as svcMgr
-    import IOVDbSvc.IOVDb
-    svcMgr.IOVDbSvc.OutputLevel = 2
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions.py
deleted file mode 100644
index 2a31d7d816a1bd3facee1593768e0475afa83062..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions.py
+++ /dev/null
@@ -1,45 +0,0 @@
-## -------------------------------------------------------------------
-## File: RecExOnline_jobOptions.py
-##
-## Authors: Anadi Canepa, Max Baak
-## Date: 04 April 2009
-##
-## This JO is intended for online reconstruction.
-## It can be run over a BSRDO via EMON service
-## See instructions line by line
-##
-## -------------------------------------------------------------------
-
-## General run configuration (bs emon, filename, datatype, magnetic field, etc.)
-## Reconstruction flags for online running
-## Monitoring flags for online running
-if useEmon:
-  include ("RecExOnline/RecExOnline_emonsvc.py")
-include ("RecExOnline/RecExOnline_globalconfig.py")
-include ("RecExOnline/RecExOnline_recoflags.py")
-include ("RecExOnline/RecExOnline_monitoring.py")
-
-## Pre-exec && preinclude, taken from ami tag
-if (not 'preExec' in dir()):
-  preExec = []
-for cmd in preExec:
-  exec(cmd)
-
-## Usual main reco top options
-include ("RecExCommon/RecExCommon_topOptions.py")
-
-## New protections against crashes
-from AthenaServices.AthenaServicesConf import AthenaEventLoopMgr
-AthenaEventLoopMgr.FailureMode=2
-
-## Post configuration, taken from ami tag
-if (not 'postInclude' in dir()):
-  postInclude = [] 
-for fragment in postInclude: include(fragment)
-
-## debug outputlevel, etc
-include ( "RecExOnline/RecExOnline_postconfig.py" )
-
-## -------------------------------------------------------------------
-## End of RecExOnline_jobOptions.py
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions_HItest.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions_HItest.py
deleted file mode 100644
index 3c68371c002bb025cac5c0339907b3fab0797a03..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_jobOptions_HItest.py
+++ /dev/null
@@ -1,45 +0,0 @@
-## -------------------------------------------------------------------
-## File: RecExOnline_jobOptions.py
-##
-## Authors: Anadi Canepa, Max Baak
-## Date: 04 April 2009
-##
-## This JO is intended for online reconstruction.
-## It can be run over a BSRDO via EMON service
-## See instructions line by line
-##
-## -------------------------------------------------------------------
-
-## General run configuration (bs emon, filename, datatype, magnetic field, etc.)
-## Reconstruction flags for online running
-## Monitoring flags for online running
-if useEmon:
-  include ("RecExOnline/RecExOnline_emonsvc.py")
-include ("RecExOnline/RecExOnline_globalconfig.py")
-include ("RecExOnline/RecExOnline_recoflags_HItest.py")
-include ("RecExOnline/RecExOnline_monitoring.py")
-
-## Pre-exec && preinclude, taken from ami tag
-if (not 'preExec' in dir()):
-  preExec = []
-for cmd in preExec:
-  exec(cmd)
-
-## Usual main reco top options
-include ("RecExCommon/RecExCommon_topOptions.py")
-
-## New protections against crashes
-from AthenaServices.AthenaServicesConf import AthenaEventLoopMgr
-AthenaEventLoopMgr.FailureMode=2
-
-## Post configuration, taken from ami tag
-if (not 'postInclude' in dir()):
-  postInclude = [] 
-for fragment in postInclude: include(fragment)
-
-## debug outputlevel, etc
-include ( "RecExOnline/RecExOnline_postconfig.py" )
-
-## -------------------------------------------------------------------
-## End of RecExOnline_jobOptions.py
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_monitoring.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_monitoring.py
deleted file mode 100644
index 63014f649527be9f160ff0e93850a1257f4eaa53..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_monitoring.py
+++ /dev/null
@@ -1,132 +0,0 @@
-## -------------------------------------------------------------------
-## Main settings of online reco script, can be set from outside
-
-## default, all turned on
-if (not 'doAllMon' in dir()):
-  doAllMon = True
-
-if (not 'doCaloMon' in dir()):
-  doCaloMon = doAllMon
-
-if (not 'doPhysMon' in dir()):
-  doPhysMon = doAllMon
-
-if (not 'doTrigMon' in dir()):
-  doTrigMon = doAllMon
-
-if (not 'doLVL1CaloMon' in dir()):
-  doLVL1CaloMon = doTrigMon
-
-if (not 'doHLTMon' in dir()):
-  #doHLTMon = doTrigMon
-  doHLTMon = False 
-if (not 'doCTPMon' in dir()):
-  #doCTPMon = doTrigMon
-  doCTPMon = False
-if (not 'doIDMon' in dir()):
-  doIDMon = doAllMon
-
-if (not 'doPixelOnlyMon' in dir()):
-  doPixelOnlyMon = False # doAllMon
-
-if (not 'doSCTMon' in dir()):
-  doSCTMon = doAllMon
-
-if (not 'doMuonMon' in dir()):
-  doMuonMon = doAllMon
-
-if (not 'doTRTMon' in dir()):
-  doTRTMon = doAllMon
-
-if (not 'doLucidMon' in dir()):
-  doLucidMon = doAllMon
-
-if (not 'isOnline' in dir()):
-  isOnline = False
-
-if (not 'doTileMon' in dir()):
-  doTileMon = False #doAllMon
-
-if (not 'doHIMon' in dir()):
-  doHIMon = False
-
-if (not 'isOfflineTest' in dir()):
-  isOfflineTest   = False
-
-## if ('isGlobalMonitoring' not in dir()):
-##     isGlobalMonitoring = False
-
-
-# --------------------------------------------- Monitoring
-from AthenaMonitoring.DQMonFlags import DQMonFlags
-
-if isOnline and useEmon:
-  DQMonFlags.histogramFile = ''
-  DQMonFlags.monManFileKey = 'ourGLOBAL'                                   # must use a different stream w.r.t what sets in DQ steering JO
-  DQMonFlags.monManEnvironment.set_Value_and_Lock('online')
-
-DQMonFlags.monManDataType.set_Value_and_Lock('data')
-#DQMonFlags.monManDataType.set_Value_and_Lock('cosmics')
-
-orMon = doAllMon or doCaloMon or doPhysMon or doIDMon or doMuonMon or doTRTMon or doCTPMon or doLucidMon or doSCTMon or doPixelOnlyMon or doLVL1CaloMon or doHLTMon or doHIMon
-DQMonFlags.doMonitoring.set_Value_and_Lock(orMon)
-
-from RecExConfig.RecFlags import rec
-rec.doMonitoring.set_Value_and_Lock(orMon)
-
-# ******************* Calorimeter Monitorings
-DQMonFlags.doLArMon.set_Value_and_Lock(doCaloMon)
-DQMonFlags.doTileMon.set_Value_and_Lock(doTileMon) #False)
-
-# ******************* Physics Monitorings
-DQMonFlags.doMissingEtMon.set_Value_and_Lock(doPhysMon)
-DQMonFlags.doEgammaMon.set_Value_and_Lock(doPhysMon)
-DQMonFlags.doJetMon.set_Value_and_Lock(doPhysMon)
-DQMonFlags.doJetTagMon.set_Value_and_Lock(doPhysMon)
-DQMonFlags.doTauMon.set_Value_and_Lock(doPhysMon)
-DQMonFlags.doCaloMon.set_Value_and_Lock(doCaloMon)
-### DQMonFlags.doMuonPhysicsMon.set_Value_and_Lock(doPhysMon) ### replaced by MuonTrackMonitoring (SMW Jan 23 2016)
-DQMonFlags.doGlobalMon.set_Value_and_Lock(doPhysMon)
-
-# ******************* Trigger monitorings
-useTrigger = doHLTMon or doLVL1CaloMon or doCTPMon
-DQMonFlags.useTrigger.set_Value_and_Lock(useTrigger)
-DQMonFlags.doHLTMon.set_Value_and_Lock(doHLTMon)
-DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(doLVL1CaloMon)
-DQMonFlags.doCTPMon.set_Value_and_Lock(doCTPMon)
-
-# ******************* ID monitorings
-DQMonFlags.doInDetAlignMon.set_Value_and_Lock(doIDMon)
-DQMonFlags.doInDetGlobalMon.set_Value_and_Lock(doIDMon)
-DQMonFlags.doInDetPerfMon.set_Value_and_Lock(doIDMon)
-DQMonFlags.doPixelMon.set_Value_and_Lock(doIDMon or doPixelOnlyMon)
-DQMonFlags.doSCTMon.set_Value_and_Lock(doSCTMon)
-DQMonFlags.doTRTElectronMon.set_Value_and_Lock(False)
-DQMonFlags.doTRTMon.set_Value_and_Lock(doTRTMon)
-
-# ******************* Muon monitorings
-from MuonDQAMonFlags.MuonDQAProperFlags import MuonDQADetFlags
-DQMonFlags.doMuonAlignMon.set_Value_and_Lock(False)                      #### set False by default
-DQMonFlags.doMuonCombinedMon.set_Value_and_Lock(doMuonMon)
-
-#MuonDQADetFlags.doTGCMon.set_Value_and_Lock(False)
-#MuonDQADetFlags.doTGCL1Mon.set_Value_and_Lock(False)
-#MuonDQADetFlags.doMDTTGCL1Mon.set_Value_and_Lock(False)
-
-### DQMonFlags.doMuonRawMon.set_Value_and_Lock(False) #AK - 04/07/2014 doMuonMon)
-DQMonFlags.doMuonRawMon.set_Value_and_Lock(doMuonMon)
-DQMonFlags.doMuonSegmentMon.set_Value_and_Lock(doMuonMon)
-DQMonFlags.doMuonTrackMon.set_Value_and_Lock(doMuonMon)
-
-# ******************* Additional monitorings
-DQMonFlags.doLucidMon.set_Value_and_Lock(doLucidMon)
-
-# ******************* Heavy Ion monitorings
-DQMonFlags.doHIMon.set_Value_and_Lock(doHIMon)
-
-
-#toRun='GM-Application:GlobalMonitoringSegment:pc-tdq-gmon-02:1'
-#if (toRun==publishName):
-#if (isGlobalMonitoring):     #AK: 21-05-2014
-#  include("BFieldTools/DQTBCurrentTool.py")  #AK: 21-05-2014
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_postconfig.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_postconfig.py
deleted file mode 100644
index 58d12a6b2b7d3cde65b14a647f06623f59be1a79..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_postconfig.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# #########################################
-
-# ----------------------------- Catalog file
-Service("PoolSvc").SortReplicas = False                                  # NEEDS TO BE CHECKED
-PoolSvc = Service( "PoolSvc" )
-if isOnline and useEmon:
-  PoolSvc.ReadCatalog += ["xmlcatalog_file:/sw/DbData/poolcond/PoolCat_comcond.xml"]
-#  PoolSvc.ReadCatalog += ["xmlcatalog_file:/sw/DbSuppForMx/poolcond/PoolCat_comcond.xml"]
-#  PoolSvc.ReadCatalog += ["xmlcatalog_file:/det/lar/lar/project/databases/cond08_data.000001.lar.COND/PoolFileCatalog.xml"]
-#  PoolSvc.ReadCatalog += ["xmlcatalog_file:/det/lar/lar/project/databases/comcond.000006.lar_conditions.recon.pool.v0000/PoolFileCatalog.xml"]
-
-# AK: 10-07-2014: fixing this error
-#AthenaPoolConverter                                 ERROR poolToObject: caught error: FID "22CA8C5E-C583-DD11-A2EC-000423D94D30" is not existing in the catalog ( POOL : "PersistencySvc::UserDatabase::connectForRead" from "PersistencySvc" )
-#AthenaPoolConverter                                 ERROR createObj PoolToDataObject() failed, Token = [DB=22CA8C5E-C583-DD11-A2EC-000423D94D30][CNT=CollectionTree(CaloRec::ToolConstants/H1WeightsCone4Topo)][CLID=5A73ABF8-5095-405B-A296-3435BB52A5FD][TECH=00000202][OID=0000000000000003-0000000000000000]
-#DataProxy                                         WARNING accessData: conversion failed for data object 250904980//CALO/H1Weights/H1WeightsCone4Topo
-###  PoolSvc.ReadCatalog += ["xmlcatalog_file:/det/dqm/GlobalMonitoring/AtlasProduction-19.1.0.1/PoolFileCatalog.xml"]
-
-# SMW: 19-11-2014: fixing this error
-# PoolCollectionConverter                           WARNING Unable to create Collection: FID:BC292F26-AE73-9041-BF5C-BCE6C5C651EC
-# PoolCollectionConverter                           WARNING FID "BC292F26-AE73-9041-BF5C-BCE6C5C651EC" is not existing in the catalog ( POOL : "PersistencySvc::UserDatabase::connectForRead" from "PersistencySvc" )
-# CondProxyProvider                                   ERROR Unable to open: FID:BC292F26-AE73-9041-BF5C-BCE6C5C651EC
-
-### PoolSvc.ReadCatalog += ["xmlcatalog_file:/det/dqm/GlobalMonitoring/SMW_test/AtlasProduction-19.3.0.1_19nov14/PoolFileCatalog.xml"]
-  PoolSvc.ReadCatalog += ["xmlcatalog_file:/det/dqm/GlobalMonitoring/PoolFileCatalog_M7/PoolFileCatalog.xml"]
-
-#ToolSvc.InDetCosmicsEventPhaseTool.GlobalOffset = 0
-
-
-# ----------------------------- Printout
-printfunc ("CHECK POINT PRINTING")
-globalflags.print_JobProperties()
-
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags.py
deleted file mode 100644
index 723845b6aea5203c84b0e9cb8a4ebcdf25333859..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags.py
+++ /dev/null
@@ -1,80 +0,0 @@
-## -------------------------------------------------------------------
-
-## default settings
-if (not 'doAllReco' in dir()):
-  doAllReco = True
-
-if (not 'doInDet' in dir()):
-  doInDet = doAllReco
-
-if (not 'doMuon' in dir()):
-  doMuon = doAllReco
-
-if (not 'doLArg' in dir()):
-  doLArg = doAllReco
-
-if (not 'doTile' in dir()):
-  doTile = doAllReco
-
-if (not 'doLucid' in dir()):
-  doLucid = False
-
-if (not 'doZdc' in dir()):
-  doZdc = False
-
-if (not 'doAlfa' in dir()):
-  doAlfa = False
-
-if (not 'doTrigger' in dir()):
-  doTrigger = False
-
-if (not 'doHist' in dir()):
-  doHist = True
-
-if (not 'doJiveXML' in dir()):
-  doJiveXML = False
-
-if (not 'doEgammaTau' in dir()):
-  doEgammaTau = doAllReco
-
-if (not 'doCommissioning' in dir()):
-  doCommissioning = False
-
-if (not 'doHIRec' in dir()):
-  doHIRec = False
-
-if (not 'doHIPRec' in dir()):
-  doHIPRec = False
-
-## ------------------------------------------------------------------- Reco flags
-
-rec.doInDet.set_Value_and_Lock(doInDet)
-rec.doMuon.set_Value_and_Lock(doMuon)                                      
-rec.doLArg.set_Value_and_Lock(doLArg)                                      
-rec.doTile.set_Value_and_Lock(doTile)                                      
-rec.doLucid.set_Value_and_Lock(doLucid)
-rec.doZdc.set_Value_and_Lock(doZdc)
-rec.doAlfa.set_Value_and_Lock(doAlfa)
-rec.doForwardDet.set_Value_and_Lock(doLucid or doZdc or doAlfa)
-rec.doTrigger.set_Value_and_Lock(doTrigger)
-
-from RecExConfig.RecAlgsFlags import recAlgs
-
-rec.doHeavyIon.set_Value_and_Lock(doHIRec)
-rec.doHIP.set_Value_and_Lock(doHIPRec)
-
-## --------------------- Added by S. Sun to disable Muon Girl algorithm -----------------------------##
-
-recAlgs.doMuGirl.set_Value_and_Lock(False)
-
-from MuonCombinedRecExample.MuonCombinedRecFlags import muonCombinedRecFlags
-muonCombinedRecFlags.doMuGirl.set_Value_and_Lock(False)
-
-## --------------------------------------------------------------------------------------------------##
-
-rec.doHist.set_Value_and_Lock(doHist)
-rec.doJiveXML.set_Value_and_Lock(doJiveXML)                               
-rec.doEgamma.set_Value_and_Lock(doEgammaTau)
-rec.doTau.set_Value_and_Lock(doEgammaTau)
-
-rec.Commissioning.set_Value_and_Lock(True) # set to True by default
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_HItest.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_HItest.py
deleted file mode 100644
index 35f1235c676aa0a3891a63cdf616118f28e0d78a..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_HItest.py
+++ /dev/null
@@ -1,78 +0,0 @@
-## -------------------------------------------------------------------
-
-## default settings
-if (not 'doAllReco' in dir()):
-  doAllReco = True
-
-if (not 'doInDet' in dir()):
-  doInDet = doAllReco
-
-if (not 'doMuon' in dir()):
-  doMuon = doAllReco
-
-if (not 'doLArg' in dir()):
-  doLArg = doAllReco
-
-if (not 'doTile' in dir()):
-  doTile = doAllReco
-
-if (not 'doLucid' in dir()):
-  doLucid = False
-
-if (not 'doZdc' in dir()):
-  doZdc = False
-
-if (not 'doAlfa' in dir()):
-  doAlfa = False
-
-if (not 'doTrigger' in dir()):
-  doTrigger = False
-
-if (not 'doHist' in dir()):
-  doHist = True
-
-if (not 'doJiveXML' in dir()):
-  doJiveXML = False
-
-if (not 'doEgammaTau' in dir()):
-  doEgammaTau = doAllReco
-
-if (not 'doCommissioning' in dir()):
-  doCommissioning = False
-
-if (not 'doHIRec' in dir()):
-  doHIRec = False
-
-## ------------------------------------------------------------------- Reco flags
-
-rec.doInDet.set_Value_and_Lock(doInDet)
-rec.doMuon.set_Value_and_Lock(doMuon)                                      
-rec.doLArg.set_Value_and_Lock(doLArg)                                      
-rec.doTile.set_Value_and_Lock(doTile)                                      
-rec.doLucid.set_Value_and_Lock(doLucid)
-rec.doZdc.set_Value_and_Lock(doZdc)
-rec.doAlfa.set_Value_and_Lock(doAlfa)
-rec.doForwardDet.set_Value_and_Lock(doLucid or doZdc or doAlfa)
-rec.doTrigger.set_Value_and_Lock(doTrigger)
-
-from RecExConfig.RecAlgsFlags import recAlgs
-
-rec.doHeavyIon.set_Value_and_Lock(doHIRec)
-
-rec.doHIP.set_Value_and_Lock(True)
-
-## --------------------- Added by S. Sun to disable Muon Girl algorithm -----------------------------##
-
-recAlgs.doMuGirl.set_Value_and_Lock(False)
-
-from MuonCombinedRecExample.MuonCombinedRecFlags import muonCombinedRecFlags
-muonCombinedRecFlags.doMuGirl.set_Value_and_Lock(False)
-
-## --------------------------------------------------------------------------------------------------##
-
-rec.doHist.set_Value_and_Lock(doHist)
-rec.doJiveXML.set_Value_and_Lock(doJiveXML)                               
-rec.doEgamma.set_Value_and_Lock(doEgammaTau)
-rec.doTau.set_Value_and_Lock(doEgammaTau)
-
-rec.Commissioning.set_Value_and_Lock(True) # set to True by default
diff --git a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_RunHI.py b/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_RunHI.py
deleted file mode 100644
index 9b2325cdc3bbc320f57d4ee6eba96805b7a09f66..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/RecExOnline_recoflags_RunHI.py
+++ /dev/null
@@ -1,78 +0,0 @@
-## -------------------------------------------------------------------
-
-## default settings
-if (not 'doAllReco' in dir()):
-  doAllReco = True
-
-if (not 'doInDet' in dir()):
-  doInDet = doAllReco
-
-if (not 'doMuon' in dir()):
-  doMuon = doAllReco
-
-if (not 'doLArg' in dir()):
-  doLArg = doAllReco
-
-if (not 'doTile' in dir()):
-  doTile = doAllReco
-
-if (not 'doLucid' in dir()):
-  doLucid = False
-
-if (not 'doZdc' in dir()):
-  doZdc = False
-
-if (not 'doAlfa' in dir()):
-  doAlfa = False
-
-if (not 'doTrigger' in dir()):
-  doTrigger = False
-
-if (not 'doHist' in dir()):
-  doHist = True
-
-if (not 'doJiveXML' in dir()):
-  doJiveXML = False
-
-if (not 'doEgammaTau' in dir()):
-  doEgammaTau = doAllReco
-
-if (not 'doCommissioning' in dir()):
-  doCommissioning = False
-
-if (not 'doHIRec' in dir()):
-  doHIRec = False
-
-## ------------------------------------------------------------------- Reco flags
-
-rec.doInDet.set_Value_and_Lock(doInDet)
-rec.doMuon.set_Value_and_Lock(doMuon)                                      
-rec.doLArg.set_Value_and_Lock(doLArg)                                      
-rec.doTile.set_Value_and_Lock(doTile)                                      
-rec.doLucid.set_Value_and_Lock(doLucid)
-rec.doZdc.set_Value_and_Lock(doZdc)
-rec.doAlfa.set_Value_and_Lock(doAlfa)
-rec.doForwardDet.set_Value_and_Lock(doLucid or doZdc or doAlfa)
-rec.doTrigger.set_Value_and_Lock(doTrigger)
-
-from RecExConfig.RecAlgsFlags import recAlgs
-
-rec.doHeavyIon.set_Value_and_Lock(doHIRec)
-
-#rec.doHIP.set_Value_and_Lock(True)
-
-## --------------------- Added by S. Sun to disable Muon Girl algorithm -----------------------------##
-
-recAlgs.doMuGirl.set_Value_and_Lock(False)
-
-from MuonCombinedRecExample.MuonCombinedRecFlags import muonCombinedRecFlags
-muonCombinedRecFlags.doMuGirl.set_Value_and_Lock(False)
-
-## --------------------------------------------------------------------------------------------------##
-
-rec.doHist.set_Value_and_Lock(doHist)
-rec.doJiveXML.set_Value_and_Lock(doJiveXML)                               
-rec.doEgamma.set_Value_and_Lock(doEgammaTau)
-rec.doTau.set_Value_and_Lock(doEgammaTau)
-
-rec.Commissioning.set_Value_and_Lock(True) # set to True by default
diff --git a/Reconstruction/RecExample/RecExOnline/share/SimpleLarCondFlags.py b/Reconstruction/RecExample/RecExOnline/share/SimpleLarCondFlags.py
deleted file mode 100644
index a921499a462b4cfd88a6a95395778d4eeec8ccf3..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/SimpleLarCondFlags.py
+++ /dev/null
@@ -1,10 +0,0 @@
-from LArConditionsCommon.LArCondFlags import larCondFlags
-larCondFlags.SingleVersion=True
-larCondFlags.OFCShapeFolder.set_Value_and_Lock("")
-
-from LArROD.LArRODFlags import larRODFlags
-if not larRODFlags.doDSP:
-    larCondFlags.LArCoolChannelSelection.set_Value_and_Lock("3:238,306,313,319,325,331,338,344,350,1001:1012,1021,1022")
-else:
-    larCondFlags.LArCoolChannelSelection.set_Value_and_Lock("")
-
diff --git a/Reconstruction/RecExample/RecExOnline/share/myAsetup b/Reconstruction/RecExample/RecExOnline/share/myAsetup
deleted file mode 100644
index db799b147f7e13811e1e46f8c3e10813399553aa..0000000000000000000000000000000000000000
--- a/Reconstruction/RecExample/RecExOnline/share/myAsetup
+++ /dev/null
@@ -1,18 +0,0 @@
-[defaults]
-tags			= AtlasProduction,AtlasHLT
-release			= 19.3.0.1
-runtime			= True
-32bit			= False
-os			= slc6
-compiler		= gcc47
-optimised		= True
-testarea		= /det/dqm/GlobalMonitoring/SMW_test/AtlasProduction-19.3.0.1_21nov14/
-
-[environment]
-CORAL_DBLOOKUP_PATH=/sw/DbSuppForMx/lookup4oracle
-CORAL_AUTH_PATH=/sw/DbSuppForMx/lookup4oracle
-
-[epilog.sh]
-export CORAL_DBLOOKUP_PATH=/sw/DbSuppForMx/lookup4oracle
-export CORAL_AUTH_PATH=/sw/DbSuppForMx/lookup4oracle
-export CALIBPATH=/sw/extras/sw_tmp/current/hlt/CalibArea12112014:$CALIBPATH