Skip to content

Commit

Permalink
Merge pull request #15483 from franzoni/O2O_August2016_pierre_gf_mm
Browse files Browse the repository at this point in the history
o2o ECAL(originally from depasse)
  • Loading branch information
cmsbuild committed Aug 19, 2016
2 parents b585d51 + a0798f2 commit 83de453
Show file tree
Hide file tree
Showing 28 changed files with 1,073 additions and 258 deletions.
14 changes: 7 additions & 7 deletions CondTools/Ecal/python/Ecal_Laser_weekly_Linearization_cfg.py
@@ -1,14 +1,14 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("ProcessOne")
process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#process.load("CondCore.DBCommon.CondDBCommon_cfi") : deprecated
process.load("CondCore.CondDB.CondDB_cfi")
process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#
# Choose the output database
#
#process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_311X_ECAL_LAS'
#process.CondDBCommon.connect = 'sqlite_file:EcalLin.db'
process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
process.CondDB.connect = 'sqlite_file:EcalLin.db'
#process.CondDB.connect = 'oracle://cms_orcoff_prep/CMS_CONDITIONS'

process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
Expand All @@ -23,7 +23,7 @@
)

process.PoolDBESSource = cms.ESSource("PoolDBESSource",
process.CondDBCommon,
process.CondDB,
timetype = cms.untracked.string('runnumber'),
toGet = cms.VPSet(
cms.PSet(
Expand All @@ -34,7 +34,7 @@
)

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
process.CondDB,
logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
timetype = cms.untracked.string('runnumber'),
toPut = cms.VPSet(
Expand Down
12 changes: 7 additions & 5 deletions CondTools/Ecal/python/Ecal_Laser_weekly_cfg.py
@@ -1,14 +1,16 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("ProcessOne")
process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#process.load("CondCore.DBCommon.CondDBCommon_cfi") : deprecated
process.load("CondCore.CondDB.CondDB_cfi")
process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#
# Choose the output database
#
#process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_311X_ECAL_LAS'
#process.CondDBCommon.connect = 'sqlite_file:DBLaser.db'
process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
#process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
process.CondDB.connect = 'sqlite_file:DBLaser.db'

process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
Expand All @@ -23,7 +25,7 @@
)

process.PoolDBESSource = cms.ESSource("PoolDBESSource",
process.CondDBCommon,
process.CondDB,
timetype = cms.untracked.string('runnumber'),
toGet = cms.VPSet(
cms.PSet(
Expand All @@ -34,7 +36,7 @@
)

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
process.CondDB,
logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
timetype = cms.untracked.string('runnumber'),
toPut = cms.VPSet(
Expand Down
30 changes: 21 additions & 9 deletions CondTools/Ecal/python/copyBadStrip_cfg.py
@@ -1,7 +1,18 @@
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing

process = cms.Process("ProcessOne")

options = VarParsing.VarParsing()
options.register( "password"
, "myToto" #default value
, VarParsing.VarParsing.multiplicity.singleton
, VarParsing.VarParsing.varType.string
, "the password"
)
options.parseArguments()


process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
cout = cms.untracked.PSet(
Expand All @@ -17,19 +28,19 @@
interval = cms.uint64(1)
)

process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.load("CondCore.CondDB.CondDB_cfi")

process.CondDBCommon.connect = 'sqlite_file:DB.db'
#process.CondDBCommon.connect = 'oracle://cms_orcon_prod/CMS_COND_34X_ECAL'
process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
#process.CondDB.connect = 'sqlite_file:EcalTPGStripStatus_v3_hlt.db'
process.CondDB.connect = 'oracle://cms_orcon_prod/CMS_CONDITIONS'
process.CondDB.DBParameters.authenticationPath = ''

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
process.CondDB,
# logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
logconnect = cms.untracked.string('sqlite_file:log.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('EcalTPGStripStatusRcd'),
tag = cms.string('EcalTPGStripStatus_hlt')
tag = cms.string('EcalTPGStripStatus_v3_hlt')
))
)

Expand All @@ -39,11 +50,12 @@
IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
SinceAppendMode=cms.bool(True),
Source=cms.PSet(
firstRun = cms.string('120000'),
firstRun = cms.string('200000'),
lastRun = cms.string('10000000'),
OnlineDBSID = cms.string('cms_omds_lb'),
OnlineDBUser = cms.string('cms_ecal_conf'),
OnlineDBPassword = cms.string('*************'),
# OnlineDBSID = cms.string('cms_orcon_adg'), test on lxplus
OnlineDBUser = cms.string('cms_ecal_r'),
OnlineDBPassword = cms.string( options.password ),
LocationSource = cms.string('P5'),
Location = cms.string('P5_Co'),
GenTag = cms.string('GLOBAL'),
Expand Down
36 changes: 25 additions & 11 deletions CondTools/Ecal/python/copyBadTT_cfg.py
@@ -1,7 +1,18 @@
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing

process = cms.Process("ProcessOne")

options = VarParsing.VarParsing()
options.register( "password"
, "myToto"
, VarParsing.VarParsing.multiplicity.singleton
, VarParsing.VarParsing.varType.string
, "the password"
)
options.parseArguments()


process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
cout = cms.untracked.PSet(
Expand All @@ -17,17 +28,19 @@
interval = cms.uint64(1)
)

process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.load("CondCore.CondDB.CondDB_cfi")

process.CondDBCommon.connect = 'sqlite_file:DB.db'
process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
#process.CondDB.connect = 'sqlite_file:EcalTPGTowerStatus_hlt.db'
process.CondDB.connect = 'oracle://cms_orcon_prod/CMS_CONDITIONS'
process.CondDB.DBParameters.authenticationPath = ''

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
logconnect = cms.untracked.string('sqlite_file:log.db'),
process.CondDB,
# logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
logconnect = cms.untracked.string('sqlite_file:log.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('EcalTPGTowerStatusRcd'),
tag = cms.string('EcalTPGTowerStatus_craft')
tag = cms.string('EcalTPGTowerStatus_hlt')
))
)

Expand All @@ -37,15 +50,16 @@
IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
SinceAppendMode=cms.bool(True),
Source=cms.PSet(
firstRun = cms.string('98273'),
firstRun = cms.string('200000'),
lastRun = cms.string('10000000'),
OnlineDBSID = cms.string('cms_orcoff'),
OnlineDBUser = cms.string('cms_ecal_conf'),
OnlineDBPassword = cms.string('*********'),
OnlineDBSID = cms.string('cms_omds_lb'),
# OnlineDBSID = cms.string('cms_orcon_adg'), test on lxplus
OnlineDBUser = cms.string('cms_ecal_r'),
OnlineDBPassword = cms.string( options.password ),
LocationSource = cms.string('P5'),
Location = cms.string('P5_Co'),
GenTag = cms.string('GLOBAL'),
RunType = cms.string('COSMICS')
RunType = cms.string('PHYSICS')
)
)

Expand Down
33 changes: 23 additions & 10 deletions CondTools/Ecal/python/copyBadXT_cfg.py
@@ -1,7 +1,17 @@
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing

process = cms.Process("ProcessOne")

options = VarParsing.VarParsing()
options.register( "password"
, "myToto"
, VarParsing.VarParsing.multiplicity.singleton
, VarParsing.VarParsing.varType.string
, "the password"
)
options.parseArguments()

process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
cout = cms.untracked.PSet(
Expand All @@ -17,17 +27,19 @@
interval = cms.uint64(1)
)

process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.load("CondCore.CondDB.CondDB_cfi")

process.CondDBCommon.connect = 'sqlite_file:DB.db'
process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
#process.CondDB.connect = 'sqlite_file:EcalTPGCrystalStatus_v2_hlt.db'
process.CondDB.connect = 'oracle://cms_orcon_prod/CMS_CONDITIONS'
process.CondDB.DBParameters.authenticationPath = ''

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
logconnect = cms.untracked.string('sqlite_file:log.db'),
process.CondDB,
# logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
logconnect = cms.untracked.string('sqlite_file:log.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('EcalTPGCrystalStatusRcd'),
tag = cms.string('EcalTPGCrystalStatus_craft')
tag = cms.string('EcalTPGCrystalStatus_v2_hlt')
))
)

Expand All @@ -37,15 +49,16 @@
IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
SinceAppendMode=cms.bool(True),
Source=cms.PSet(
firstRun = cms.string('98273'),
firstRun = cms.string('200000'),
lastRun = cms.string('10000000'),
OnlineDBSID = cms.string('cms_omds_lb'),
OnlineDBUser = cms.string('cms_ecal_conf'),
OnlineDBPassword = cms.string('************'),
# OnlineDBSID = cms.string('cms_orcon_adg'), test on lxplus
OnlineDBUser = cms.string('cms_ecal_r'),
OnlineDBPassword = cms.string( options.password ),
LocationSource = cms.string('P5'),
Location = cms.string('P5_Co'),
GenTag = cms.string('GLOBAL'),
RunType = cms.string('COSMICS')
RunType = cms.string('PHYSICS')
)
)

Expand Down
38 changes: 25 additions & 13 deletions CondTools/Ecal/python/copyFgrGroup_cfg.py
@@ -1,7 +1,17 @@
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing

process = cms.Process("ProcessOne")

options = VarParsing.VarParsing()
options.register( "password"
, "myToto"
, VarParsing.VarParsing.multiplicity.singleton
, VarParsing.VarParsing.varType.string
, "the password"
)
options.parseArguments()

process.MessageLogger = cms.Service("MessageLogger",
debugModules = cms.untracked.vstring('*'),
cout = cms.untracked.PSet(
Expand All @@ -11,24 +21,25 @@
)

process.source = cms.Source("EmptyIOVSource",
lastValue = cms.uint64(1),
lastValue = cms.uint64(2000000),
timetype = cms.string('runnumber'),
firstValue = cms.uint64(1),
firstValue = cms.uint64(2000000),
interval = cms.uint64(1)
)

process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.load("CondCore.CondDB.CondDB_cfi")

process.CondDBCommon.connect = 'sqlite_file:DB.db'
process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
#process.CondDB.connect = 'sqlite_file:EcalTPGFineGrainEBGroup_v2_hlt.db'
process.CondDB.connect = 'oracle://cms_orcon_prod/CMS_CONDITIONS'
process.CondDB.DBParameters.authenticationPath = ''

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
logconnect = cms.untracked.string('sqlite_file:log.db'),
process.CondDB,
# logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_31X_POPCONLOG'),
logconnect = cms.untracked.string('sqlite_file:log.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('EcalTPGFineGrainEBGroupRcd'),
#tag = cms.string('EcalTPGFineGrainEBGroup_craft')
tag = cms.string('EcalTPGFineGrainEBGroup_TPGTrivial_config')
tag = cms.string('EcalTPGFineGrainEBGroup_v2_hlt')
))
)

Expand All @@ -38,15 +49,16 @@
IsDestDbCheckedInQueryLog=cms.untracked.bool(True),
SinceAppendMode=cms.bool(True),
Source=cms.PSet(
firstRun = cms.string('98273'),
firstRun = cms.string('200000'),
lastRun = cms.string('10000000'),
OnlineDBSID = cms.string('cms_omds_lb'),
OnlineDBUser = cms.string('cms_ecal_conf'),
OnlineDBPassword = cms.string('*************'),
# OnlineDBSID = cms.string('cms_orcon_adg'), test on lxplus
OnlineDBUser = cms.string('cms_ecal_r'),
OnlineDBPassword = cms.string( options.password ),
LocationSource = cms.string('P5'),
Location = cms.string('P5_Co'),
GenTag = cms.string('GLOBAL'),
RunType = cms.string('COSMICS')
RunType = cms.string('PHYSICS')
)
)

Expand Down

0 comments on commit 83de453

Please sign in to comment.