1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DB")
5 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
7 process.load(
"Geometry.EcalMapping.EcalMapping_cfi")
8 process.load(
"Geometry.EcalMapping.EcalMappingRecord_cfi")
10 process.load(
"Geometry.CaloEventSetup.CaloGeometry_cfi")
11 process.load(
"Geometry.CaloEventSetup.CaloTopology_cfi")
12 process.load(
"Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
14 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
15 process.EcalTrivialConditionRetriever.producedEcalDQMChannelStatus =
False
16 process.EcalTrivialConditionRetriever.producedEcalDQMTowerStatus =
False
18 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
19 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
23 process.source = cms.Source(
"EmptyIOVSource",
24 firstValue = cms.uint64(1),
25 lastValue = cms.uint64(1),
26 timetype = cms.string(
'runnumber'),
27 interval = cms.uint64(1)
30 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
34 record = cms.string(
'EcalDQMChannelStatusRcd'),
40 record = cms.string(
'EcalDQMTowerStatusRcd'),
48 process.write = cms.EDAnalyzer(
"EcalDQMStatusWriter",
49 verbose = cms.untracked.bool(
False),
52 conditionType = cms.untracked.string(
'EcalDQMChannelStatus'),
53 since = cms.untracked.uint32(1),
54 inputFile = cms.untracked.string(
'mask-ECAL.txt')
57 conditionType = cms.untracked.string(
'EcalDQMTowerStatus'),
58 since = cms.untracked.uint32(1),
59 inputFile = cms.untracked.string(
'mask-ECAL.txt')
64 process.p = cms.Path(process.write)