CMS 3D CMS Logo

readEcalDQMStatus.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("DB")
4 
5 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
6 
7 process.load("Geometry.EcalMapping.EcalMapping_cfi")
8 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
9 
10 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
11 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
12 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
13 
14 process.source = cms.Source("EmptyIOVSource",
15  firstValue = cms.uint64(1),
16  lastValue = cms.uint64(1),
17  timetype = cms.string('runnumber'),
18  interval = cms.uint64(1)
19  )
20 
21 process.load("DQM.Integration.test.FrontierCondition_GT_cfi")
22 
23 process.GlobalTag.toGet = cms.VPSet(
24  cms.PSet(record = cms.string("EcalDQMChannelStatusRcd"),
25 # tag = cms.string("EcalDQMChannelStatus_v1_hlt"),
26 # tag = cms.string("EcalDQMChannelStatus_v1_express"),
27 # tag = cms.string("EcalDQMChannelStatus_v1_offline"),
28 # connect = cms.untracked.string("sqlite_file:mask-ECAL.db")
29  ),
30  cms.PSet(record = cms.string("EcalDQMTowerStatusRcd"),
31 # tag = cms.string("EcalDQMTowerStatus_v1_hlt"),
32 # tag = cms.string("EcalDQMTowerStatus_v1_express"),
33 # tag = cms.string("EcalDQMTowerStatus_v1_offline"),
34 # connect = cms.untracked.string("sqlite_file:mask-ECAL.db")
35  )
36 )
37 
38 process.read = cms.EDAnalyzer("EcalDQMStatusReader",
39  verbose = cms.untracked.bool(True),
40 )
41 
42 process.p = cms.Path(process.read)
43