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.CondDB.CondDB_cfi")
19 process.CondDB.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb' 20 process.CondDB.connect =
'sqlite_file:mask-ECAL.db' 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'),
35 tag = cms.string(
'EcalDQMChannelStatus_v1_hlt')
40 record = cms.string(
'EcalDQMTowerStatusRcd'),
41 tag = cms.string(
'EcalDQMTowerStatus_v1_hlt')
48 process.write = cms.EDAnalyzer(
"EcalDQMStatusWriter",
49 firstRun = cms.untracked.uint32(350000),
50 inputFile = cms.untracked.string(
'mask-EB.txt')
54 process.p = cms.Path(process.write)