CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/EcalCommon/data/readEcalDQMStatus.py

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.source = cms.Source("EmptyIOVSource",
00013                             firstValue = cms.uint64(1),
00014                             lastValue = cms.uint64(1),
00015                             timetype = cms.string('runnumber'),
00016                             interval = cms.uint64(1)
00017                             )
00018 
00019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00020 process.GlobalTag.globaltag = "GR10_P_V12::All"
00021 
00022 process.GlobalTag.toGet = cms.VPSet(
00023   cms.PSet(record = cms.string("EcalDQMChannelStatusRcd"),
00024            tag = cms.string("EcalDQMChannelStatus_v1_hlt"),
00025            connect = cms.untracked.string("sqlite_file:mask-ECAL.db")
00026           ),
00027   cms.PSet(record = cms.string("EcalDQMTowerStatusRcd"),
00028            tag = cms.string("EcalDQMTowerStatus_v1_hlt"),
00029            connect = cms.untracked.string("sqlite_file:mask-ECAL.db")
00030           )
00031 )
00032 
00033 process.read = cms.EDAnalyzer("EcalDQMStatusReader",
00034   verbose = cms.untracked.bool(True),
00035 )
00036 
00037 process.p = cms.Path(process.read)
00038