Skip to content

Commit

Permalink
CondDBCommon -> CondDB
Browse files Browse the repository at this point in the history
  • Loading branch information
depasse committed Jun 20, 2016
1 parent 4cd39e4 commit b91e3b1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
2 changes: 2 additions & 0 deletions CondTools/Ecal/plugins/SealModule.cc
@@ -1,6 +1,7 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "CondTools/Ecal/plugins/StoreEcalCondition.h"
#include "CondTools/Ecal/plugins/StoreESCondition.h"
#include "CondTools/Ecal/interface/EcalDBCopy.h"
#include "CondTools/Ecal/interface/ESDBCopy.h"
#include "CondTools/Ecal/interface/EcalTestDevDB.h"
Expand All @@ -10,6 +11,7 @@


DEFINE_FWK_MODULE(StoreEcalCondition);
DEFINE_FWK_MODULE(StoreESCondition);
DEFINE_FWK_MODULE(EcalDBCopy);
DEFINE_FWK_MODULE(ESDBCopy);
DEFINE_FWK_MODULE(EcalTestDevDB);
Expand Down
11 changes: 6 additions & 5 deletions CondTools/Ecal/python/EcalTPGFineGrainStripfromFile_cfg.py
@@ -1,12 +1,13 @@
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.CondDB.CondDB_cfi")
#process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#
# Choose the output database
#
process.CondDBCommon.connect = 'sqlite_file:EcalTPGFineGrainStrip.db'
process.CondDB.connect = 'sqlite_file:EcalTPGFineGrainStrip.db'

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

process.PoolDBESSource = cms.ESSource("PoolDBESSource",
process.CondDBCommon,
process.CondDB,
timetype = cms.untracked.string('runnumber'),
toGet = cms.VPSet(
cms.PSet(
Expand All @@ -32,7 +33,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
11 changes: 6 additions & 5 deletions CondTools/Ecal/python/EcalTPGSpikeThresholdfromFile_cfg.py
@@ -1,12 +1,13 @@
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.CondDB.CondDB_cfi")
#process.load("CondCore.DBCommon.CondDBCommon_cfi")
process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
#
# Choose the output database
#
process.CondDBCommon.connect = 'sqlite_file:EcalTPGSpike.db'
process.CondDB.connect = 'sqlite_file:EcalTPGSpike.db'

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

process.PoolDBESSource = cms.ESSource("PoolDBESSource",
process.CondDBCommon,
process.CondDB,
timetype = cms.untracked.string('runnumber'),
toGet = cms.VPSet(
cms.PSet(
Expand All @@ -32,7 +33,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
@@ -1,13 +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")
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.CondDB.connect = 'sqlite_file:EcalLin.db'

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

process.PoolDBESSource = cms.ESSource("PoolDBESSource",
process.CondDBCommon,
process.CondDB,
timetype = cms.untracked.string('runnumber'),
toGet = cms.VPSet(
cms.PSet(
Expand All @@ -33,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

0 comments on commit b91e3b1

Please sign in to comment.