1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"CONDOBJMON")
9 process.load(
"DQM.SiStripMonitorSummary.SiStripMonitorCondDataOffline_cfi")
10 process.CondDataMonitoring.OutputMEsInRootFile = cms.bool(
True)
11 process.CondDataMonitoring.MonitorSiStripPedestal =cms.bool(
False)
12 process.CondDataMonitoring.MonitorSiStripNoise =cms.bool(
False)
13 process.CondDataMonitoring.MonitorSiStripQuality =cms.bool(
True)
14 process.CondDataMonitoring.MonitorSiStripCabling =cms.bool(
False)
15 process.CondDataMonitoring.MonitorSiStripLowThreshold =cms.bool(
False)
16 process.CondDataMonitoring.MonitorSiStripHighThreshold =cms.bool(
False)
17 process.CondDataMonitoring.MonitorSiStripApvGain =cms.bool(
False)
18 process.CondDataMonitoring.MonitorSiStripLorentzAngle =cms.bool(
False)
21 process.load(
"DQM.SiStripCommon.TkHistoMap_cfi");
23 process.source = cms.Source(
"EmptyIOVSource",
24 lastValue = cms.uint64(insert_runnumber),
25 timetype = cms.string(
'runnumber'),
26 firstValue = cms.uint64(insert_runnumber),
27 interval = cms.uint64(1)
30 process.maxEvents = cms.untracked.PSet(
31 input = cms.untracked.int32(1)
34 process.MessageLogger = cms.Service(
"MessageLogger",
35 debugModules = cms.untracked.vstring(
'SiStripMonitorCondData'),
36 cout = cms.untracked.PSet(
37 threshold = cms.untracked.string(
'Error')
39 destinations = cms.untracked.vstring(
'error.log',
43 process.qTester = cms.EDFilter(
"QualityTester",
44 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorSummary/data/insert_QtestsFileName'),
45 QualityTestPrescaler = cms.untracked.int32(1),
46 getQualityTestsFromFile = cms.untracked.bool(
True)
49 process.DQMStore = cms.Service(
"DQMStore",
50 verbose = cms.untracked.int32(1)
53 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
54 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
56 sistripconn = cms.ESProducer(
"SiStripConnectivity")
58 siStripCond.toGet = cms.VPSet(
60 record = cms.string(
'SiStripFedCablingRcd'),
61 tag = cms.string(
'insert_FedCablingTag')
64 record = cms.string(
'SiStripNoisesRcd'),
65 tag = cms.string(
'insert_NoiseTag')
68 record = cms.string(
'SiStripPedestalsRcd'),
69 tag = cms.string(
'insert_PedestalTag')
72 record = cms.string(
'SiStripApvGainRcd'),
73 tag = cms.string(
'SiStripGain_Ideal_21X')
76 record = cms.string(
'SiStripLorentzAngleRcd'),
77 tag = cms.string(
'SiStripLorentzAngle_Ideal_21X')
80 record = cms.string(
'SiStripThresholdRcd'),
81 tag = cms.string(
'insert_ThresholdTag')
86 siStripCond.connect =
'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
88 process.a = cms.ESSource(
"PoolDBESSource",
89 appendToDataLabel = cms.string(
'test'),
90 toGet = cms.VPSet(cms.PSet(
91 record = cms.string(
'SiStripBadFiberRcd'),
93 tag = cms.string(
'insert_DB_Tag')
96 DBParameters = cms.PSet(
97 authenticationPath = cms.untracked.string(
'/afs/cern.ch/cms/DB/conddb')
99 timetype = cms.string(
'runnumber'),
100 connect = cms.string(
'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'),
101 BlobStreamerName = cms.untracked.string(
'TBufferBlobStreamingService')
104 process.MySSQ = cms.ESProducer(
"SiStripQualityESProducer",
105 appendToDataLabel = cms.string(
''),
106 ReduceGranularity = cms.bool(
True),
107 ThresholdForReducedGranularity = cms.double(0.3),
108 ListOfRecordToMerge = cms.VPSet(cms.PSet(
109 record = cms.string(
'SiStripBadFiberRcd'),
112 tag = cms.string(
'test')
123 process.p = cms.Path(process.CondDataMonitoring*process.qTester)