CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 # connect = cms.untracked.string("frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)(failovertoserver=no)/CMS_COND_34X_ECAL")
30  ),
31  cms.PSet(record = cms.string("EcalDQMTowerStatusRcd"),
32 # tag = cms.string("EcalDQMTowerStatus_v1_hlt"),
33 # tag = cms.string("EcalDQMTowerStatus_v1_express"),
34 # tag = cms.string("EcalDQMTowerStatus_v1_offline"),
35 # connect = cms.untracked.string("sqlite_file:mask-ECAL.db")
36 # connect = cms.untracked.string("frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)(failovertoserver=no)/CMS_COND_34X_ECAL")
37  )
38 )
39 
40 process.read = cms.EDAnalyzer("EcalDQMStatusReader",
41  verbose = cms.untracked.bool(True),
42 )
43 
44 process.p = cms.Path(process.read)
45