1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"CONDOBJMON")
7 process.load(
"DQM.SiStripMonitorSummary.Tags21X_cff")
13 process.load(
"DQM.SiStripMonitorSummary.SiStripMonitorCondDataOffline_cfi")
14 process.CondDataMonitoring.OutputMEsInRootFile = cms.bool(
False)
15 process.CondDataMonitoring.MonitorSiStripPedestal =cms.bool(
True)
16 process.CondDataMonitoring.MonitorSiStripNoise =cms.bool(
True)
17 process.CondDataMonitoring.MonitorSiStripQuality =cms.bool(
False)
18 process.CondDataMonitoring.MonitorSiStripCabling =cms.bool(
True)
19 process.CondDataMonitoring.MonitorSiStripLowThreshold =cms.bool(
True)
20 process.CondDataMonitoring.MonitorSiStripHighThreshold =cms.bool(
True)
21 process.CondDataMonitoring.MonitorSiStripApvGain =cms.bool(
False)
22 process.CondDataMonitoring.MonitorSiStripLorentzAngle =cms.bool(
False)
24 process.load(
"DQM.SiStripCommon.TkHistoMap_cfi")
25 process.load(
"DQM.SiStripMonitorClient.SiStripDQMOffline_cff")
27 process.source = cms.Source(
"EmptyIOVSource",
28 lastValue = cms.uint64(insert_runnumber),
29 timetype = cms.string(
'runnumber'),
30 firstValue = cms.uint64(insert_runnumber),
31 interval = cms.uint64(1)
34 process.maxEvents = cms.untracked.PSet(
35 input = cms.untracked.int32(1)
38 process.MessageLogger = cms.Service(
"MessageLogger",
39 debugModules = cms.untracked.vstring(
'SiStripMonitorCondData'),
40 cout = cms.untracked.PSet(
41 threshold = cms.untracked.string(
'Error')
43 destinations = cms.untracked.vstring(
'error.log',
47 process.qTester = cms.EDFilter(
"QualityTester",
48 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorSummary/data/insert_QtestsFileName'),
49 QualityTestPrescaler = cms.untracked.int32(1),
50 getQualityTestsFromFile = cms.untracked.bool(
True)
53 process.DQMStore = cms.Service(
"DQMStore",
54 verbose = cms.untracked.int32(1)
58 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
59 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
61 sistripconn = cms.ESProducer(
"SiStripConnectivity")
63 siStripCond.toGet = cms.VPSet(
65 record = cms.string(
'SiStripFedCablingRcd'),
66 tag = cms.string(
'insert_FedCablingTag')
69 record = cms.string(
'SiStripNoisesRcd'),
70 tag = cms.string(
'insert_NoiseTag')
73 record = cms.string(
'SiStripPedestalsRcd'),
74 tag = cms.string(
'insert_PedestalTag')
77 record = cms.string(
'SiStripApvGainRcd'),
78 tag = cms.string(
'SiStripGain_Ideal_21X')
81 record = cms.string(
'SiStripLorentzAngleRcd'),
82 tag = cms.string(
'SiStripLorentzAngle_Ideal_21X')
85 record = cms.string(
'SiStripThresholdRcd'),
86 tag = cms.string(
'insert_ThresholdTag')
91 siStripCond.connect =
'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
99 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)