Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("READ")
00004
00005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00006
00007 process.load("Geometry.EcalMapping.EcalMapping_cfi")
00008 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
00009
00010 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
00011
00012 process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
00013 process.EcalTrivialConditionRetriever.producedEcalDQMChannelStatus = False
00014 process.EcalTrivialConditionRetriever.producedEcalDQMTowerStatus = False
00015
00016 process.load("CondCore.DBCommon.CondDBCommon_cfi")
00017 process.CondDBCommon.DBParameters.authenticationPath = '/nfshome0/popcondev/conddb'
00018 process.CondDBCommon.connect = 'sqlite_file:mask-ECAL.db'
00019
00020 process.source = cms.Source("EmptyIOVSource",
00021 firstValue = cms.uint64(1),
00022 lastValue = cms.uint64(1),
00023 timetype = cms.string('runnumber'),
00024 interval = cms.uint64(1)
00025 )
00026
00027 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00028 process.CondDBCommon,
00029 toPut = cms.VPSet(
00030 cms.PSet(
00031 record = cms.string('EcalDQMChannelStatusRcd'),
00032 tag = cms.string('EcalDQMChannelStatus_v1_hlt')
00033 ),
00034 cms.PSet(
00035 record = cms.string('EcalDQMTowerStatusRcd'),
00036 tag = cms.string('EcalDQMTowerStatus_v1_hlt')
00037 )
00038 )
00039 )
00040
00041 process.write = cms.EDAnalyzer("EcalDQMStatusWriter",
00042 verbose = cms.untracked.bool(False),
00043 toPut = cms.VPSet(
00044
00045
00046
00047
00048
00049 cms.PSet(
00050 conditionType = cms.untracked.string('EcalDQMChannelStatus'),
00051 since = cms.untracked.uint32(1),
00052 inputFile = cms.untracked.string('mask-ECAL.txt')
00053 ),
00054
00055
00056
00057
00058
00059 cms.PSet(
00060 conditionType = cms.untracked.string('EcalDQMTowerStatus'),
00061 since = cms.untracked.uint32(1),
00062 inputFile = cms.untracked.string('mask-ECAL.txt')
00063 )
00064 )
00065 )
00066
00067 process.p = cms.Path(process.write)
00068