CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TemplateCfg21X_PedNoise_cfg.py
Go to the documentation of this file.
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  referenceFileName = cms.untracked.string(''),
55  verbose = cms.untracked.int32(1)
56 )
57 
58 
59 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
60 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
61 
62 sistripconn = cms.ESProducer("SiStripConnectivity")
63 
64 siStripCond.toGet = cms.VPSet(
65  cms.PSet(
66  record = cms.string('SiStripFedCablingRcd'),
67  tag = cms.string('insert_FedCablingTag')
68  ),
69  cms.PSet(
70  record = cms.string('SiStripNoisesRcd'),
71  tag = cms.string('insert_NoiseTag')
72  ),
73  cms.PSet(
74  record = cms.string('SiStripPedestalsRcd'),
75  tag = cms.string('insert_PedestalTag')
76  ),
77  cms.PSet(
78  record = cms.string('SiStripApvGainRcd'),
79  tag = cms.string('SiStripGain_Ideal_21X')
80  ),
81  cms.PSet(
82  record = cms.string('SiStripLorentzAngleRcd'),
83  tag = cms.string('SiStripLorentzAngle_Ideal_21X')
84  ),
85  cms.PSet(
86  record = cms.string('SiStripThresholdRcd'),
87  tag = cms.string('insert_ThresholdTag')
88  ))
89 
90 
91 
92 siStripCond.connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
93 
94 
95  #-------------------------------------------------
96  ## Scheduling
97  #-------------------------------------------------
98 
99 ####process.p = cms.Path(process.CondDataMonitoring*process.qTester)
100 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)
101 
102 
103 
104 
105 
106 
107