3 process = cms.Process(
"READ")
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.EcalTrigTowerConstituents_cfi")
12 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
13 process.EcalTrivialConditionRetriever.producedEcalDQMChannelStatus =
False
14 process.EcalTrivialConditionRetriever.producedEcalDQMTowerStatus =
False
16 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
17 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
18 process.CondDBCommon.connect =
'sqlite_file:mask-ECAL.db'
20 process.source = cms.Source(
"EmptyIOVSource",
21 firstValue = cms.uint64(1),
22 lastValue = cms.uint64(1),
23 timetype = cms.string(
'runnumber'),
24 interval = cms.uint64(1)
27 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
31 record = cms.string(
'EcalDQMChannelStatusRcd'),
32 tag = cms.string(
'EcalDQMChannelStatus_v1_hlt')
35 record = cms.string(
'EcalDQMTowerStatusRcd'),
36 tag = cms.string(
'EcalDQMTowerStatus_v1_hlt')
41 process.write = cms.EDAnalyzer(
"EcalDQMStatusWriter",
42 verbose = cms.untracked.bool(
False),
50 conditionType = cms.untracked.string(
'EcalDQMChannelStatus'),
51 since = cms.untracked.uint32(1),
52 inputFile = cms.untracked.string(
'mask-ECAL.txt')
60 conditionType = cms.untracked.string(
'EcalDQMTowerStatus'),
61 since = cms.untracked.uint32(1),
62 inputFile = cms.untracked.string(
'mask-ECAL.txt')
67 process.p = cms.Path(process.write)