1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
5 process.EcalTrivialConditionRetriever.TotLumi = cms.untracked.double(3000.0)
6 process.EcalTrivialConditionRetriever.InstLumi = cms.untracked.double(5.0e+34)
7 process.EcalTrivialConditionRetriever.intercalibConstantsFile = cms.untracked.string(
"EcalIntercalibConstants_2011_V3_Bon_start_mc.xml")
8 process.EcalTrivialConditionRetriever.intercalibConstantsMCFile = cms.untracked.string(
"EcalIntercalibConstantsMC_digi_2011_V3_Bon_mc.xml")
12 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
13 process.CondDBCommon.connect =
'oracle://cms_orcoff_prep/CMS_COND_ECAL' 14 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/' 17 process.MessageLogger = cms.Service(
"MessageLogger",
18 cerr = cms.untracked.PSet(
19 enable = cms.untracked.bool(
False)
21 cout = cms.untracked.PSet(
22 enable = cms.untracked.bool(
True)
24 debugModules = cms.untracked.vstring(
'*')
27 process.source = cms.Source(
"EmptyIOVSource",
28 firstValue = cms.uint64(1),
29 lastValue = cms.uint64(1),
30 timetype = cms.string(
'runnumber'),
31 interval = cms.uint64(1)
34 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
36 toPut = cms.VPSet( cms.PSet(
37 record = cms.string(
'EcalIntercalibConstantsRcd'),
38 tag = cms.string(
'EcalIntercalibConstants_TL3000_IL5E34_mc')
43 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
44 timetype = cms.string(
'runnumber'),
47 record = cms.string(
'EcalIntercalibConstantsRcd'),
48 container = cms.string(
'EcalIntercalibConstants')
54 process.p = cms.Path(process.dbCopy)