CMS 3D CMS Logo

TemplateCfg21X_PedNoise_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("CONDOBJMON")
4 #-------------------------------------------------
5 # CALIBRATION
6 #-------------------------------------------------
7 process.load("DQM.SiStripMonitorSummary.Tags21X_cff")
8 
9 
10 #-------------------------------------------------
11 # DQM
12 #-------------------------------------------------
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)
23 
24 process.load("DQM.SiStripCommon.TkHistoMap_cfi")
25 process.load("DQM.SiStripMonitorClient.SiStripDQMOffline_cff")
26 
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)
32 )
33 
34 process.maxEvents = cms.untracked.PSet(
35  input = cms.untracked.int32(1)
36 )
37 
38 process.MessageLogger = cms.Service("MessageLogger",
39  debugModules = cms.untracked.vstring('SiStripMonitorCondData'),
40  cout = cms.untracked.PSet(
41  threshold = cms.untracked.string('Error')
42  ),
43  destinations = cms.untracked.vstring('error.log',
44  'cout')
45 )
46 
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)
51 )
52 
53 process.DQMStore = cms.Service("DQMStore",
54  verbose = cms.untracked.int32(1)
55 )
56 
57 
58 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
59 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
60 
61 sistripconn = cms.ESProducer("SiStripConnectivity")
62 
63 siStripCond.toGet = cms.VPSet(
64  cms.PSet(
65  record = cms.string('SiStripFedCablingRcd'),
66  tag = cms.string('insert_FedCablingTag')
67  ),
68  cms.PSet(
69  record = cms.string('SiStripNoisesRcd'),
70  tag = cms.string('insert_NoiseTag')
71  ),
72  cms.PSet(
73  record = cms.string('SiStripPedestalsRcd'),
74  tag = cms.string('insert_PedestalTag')
75  ),
76  cms.PSet(
77  record = cms.string('SiStripApvGainRcd'),
78  tag = cms.string('SiStripGain_Ideal_21X')
79  ),
80  cms.PSet(
81  record = cms.string('SiStripLorentzAngleRcd'),
82  tag = cms.string('SiStripLorentzAngle_Ideal_21X')
83  ),
84  cms.PSet(
85  record = cms.string('SiStripThresholdRcd'),
86  tag = cms.string('insert_ThresholdTag')
87  ))
88 
89 
90 
91 siStripCond.connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
92 
93 
94  #-------------------------------------------------
95 
97 
98 
99 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)
100 
101 
102 
103 
104 
105 
106