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 referenceFileName = cms.untracked.string(
''),
55 verbose = cms.untracked.int32(1)
59 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
60 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
62 sistripconn = cms.ESProducer(
"SiStripConnectivity")
64 siStripCond.toGet = cms.VPSet(
66 record = cms.string(
'SiStripFedCablingRcd'),
67 tag = cms.string(
'insert_FedCablingTag')
70 record = cms.string(
'SiStripNoisesRcd'),
71 tag = cms.string(
'insert_NoiseTag')
74 record = cms.string(
'SiStripPedestalsRcd'),
75 tag = cms.string(
'insert_PedestalTag')
78 record = cms.string(
'SiStripApvGainRcd'),
79 tag = cms.string(
'SiStripGain_Ideal_21X')
82 record = cms.string(
'SiStripLorentzAngleRcd'),
83 tag = cms.string(
'SiStripLorentzAngle_Ideal_21X')
86 record = cms.string(
'SiStripThresholdRcd'),
87 tag = cms.string(
'insert_ThresholdTag')
92 siStripCond.connect =
'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
100 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)