From f49f3e4f398f50f91d36468634797f46342575f6 Mon Sep 17 00:00:00 2001 From: lintao <lintao51@gmail.com> Date: Sat, 14 Nov 2020 16:26:39 +0800 Subject: [PATCH] WIP: rename the K4DataSvc to k4DataSvc in job options. --- Examples/options/LCIO_read_pan.py | 4 ++-- Examples/options/dumpid.py | 4 ++-- Examples/options/edm4hep_read.py | 4 ++-- Examples/options/edm4hep_write.py | 4 ++-- Examples/options/gen_write.py | 4 ++-- Examples/options/plcio_read.py | 4 ++-- Examples/options/plcio_write.py | 4 ++-- Examples/options/tut_detsim.py | 4 ++-- Examples/options/tut_detsim_SDT.py | 4 ++-- Examples/options/tut_detsim_digi_SDT.py | 4 ++-- Examples/options/tut_detsim_pan_matrix.py | 4 ++-- Examples/options/tut_detsim_pandora.py | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Examples/options/LCIO_read_pan.py b/Examples/options/LCIO_read_pan.py index ab9b93c8..2f91258c 100644 --- a/Examples/options/LCIO_read_pan.py +++ b/Examples/options/LCIO_read_pan.py @@ -1,8 +1,8 @@ #!/usr/bin/env python from Gaudi.Configuration import * -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") # read LCIO files from Configurables import LCIOInput diff --git a/Examples/options/dumpid.py b/Examples/options/dumpid.py index 91f63ce4..e8ce40f7 100644 --- a/Examples/options/dumpid.py +++ b/Examples/options/dumpid.py @@ -27,8 +27,8 @@ geosvc.compact = geometry_path # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc", input="test-detsim10.root") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc", input="test-detsim10.root") ############################################################################## # NTuple Svc diff --git a/Examples/options/edm4hep_read.py b/Examples/options/edm4hep_read.py index f401e38b..045ecf40 100644 --- a/Examples/options/edm4hep_read.py +++ b/Examples/options/edm4hep_read.py @@ -2,8 +2,8 @@ from Gaudi.Configuration import * -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc", +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc", # input="test.root" input="test-detsim10.root" ) diff --git a/Examples/options/edm4hep_write.py b/Examples/options/edm4hep_write.py index 935440fc..a6b99d5f 100644 --- a/Examples/options/edm4hep_write.py +++ b/Examples/options/edm4hep_write.py @@ -2,8 +2,8 @@ from Gaudi.Configuration import * -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") from Configurables import Edm4hepWriteAlg alg = Edm4hepWriteAlg("Edm4hepWriteAlg") diff --git a/Examples/options/gen_write.py b/Examples/options/gen_write.py index 001dd825..03e05bb4 100644 --- a/Examples/options/gen_write.py +++ b/Examples/options/gen_write.py @@ -2,8 +2,8 @@ from Gaudi.Configuration import * -from Configurables import CEPCDataSvc -dsvc = CEPCDataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") from Configurables import GenAlgo diff --git a/Examples/options/plcio_read.py b/Examples/options/plcio_read.py index 62c682b1..c52b4d91 100644 --- a/Examples/options/plcio_read.py +++ b/Examples/options/plcio_read.py @@ -2,8 +2,8 @@ from Gaudi.Configuration import * -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc", input="test.root") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc", input="test.root") from Configurables import PlcioReadAlg alg = PlcioReadAlg("PlcioReadAlg") diff --git a/Examples/options/plcio_write.py b/Examples/options/plcio_write.py index 17bab8ed..d52e33cc 100644 --- a/Examples/options/plcio_write.py +++ b/Examples/options/plcio_write.py @@ -2,8 +2,8 @@ from Gaudi.Configuration import * -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") from Configurables import PlcioWriteAlg alg = PlcioWriteAlg("PlcioWriteAlg") diff --git a/Examples/options/tut_detsim.py b/Examples/options/tut_detsim.py index a7062c48..27622a16 100644 --- a/Examples/options/tut_detsim.py +++ b/Examples/options/tut_detsim.py @@ -24,8 +24,8 @@ rndmengine.Seeds = [42] ############################################################################## # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") ############################################################################## diff --git a/Examples/options/tut_detsim_SDT.py b/Examples/options/tut_detsim_SDT.py index 478f3acc..779454ac 100644 --- a/Examples/options/tut_detsim_SDT.py +++ b/Examples/options/tut_detsim_SDT.py @@ -24,8 +24,8 @@ rndmengine.Seeds = [42] ############################################################################## # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") ############################################################################## diff --git a/Examples/options/tut_detsim_digi_SDT.py b/Examples/options/tut_detsim_digi_SDT.py index 6511cf25..df2f7672 100644 --- a/Examples/options/tut_detsim_digi_SDT.py +++ b/Examples/options/tut_detsim_digi_SDT.py @@ -24,8 +24,8 @@ rndmengine.Seeds = [42] ############################################################################## # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") ############################################################################## diff --git a/Examples/options/tut_detsim_pan_matrix.py b/Examples/options/tut_detsim_pan_matrix.py index 05bc4fde..ccc5b3e1 100644 --- a/Examples/options/tut_detsim_pan_matrix.py +++ b/Examples/options/tut_detsim_pan_matrix.py @@ -18,8 +18,8 @@ rndmengine.Seeds = [42] ############################################################################## # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") ############################################################################## diff --git a/Examples/options/tut_detsim_pandora.py b/Examples/options/tut_detsim_pandora.py index 82a314d8..a9bc9504 100644 --- a/Examples/options/tut_detsim_pandora.py +++ b/Examples/options/tut_detsim_pandora.py @@ -19,8 +19,8 @@ rndmengine.Seeds = [42] ############################################################################## # Event Data Svc ############################################################################## -from Configurables import K4DataSvc -dsvc = K4DataSvc("EventDataSvc") +from Configurables import k4DataSvc +dsvc = k4DataSvc("EventDataSvc") ############################################################################## -- GitLab