CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
59 siStripCond = poolDBESSource.clone(
60  toGet = (
61  poolDBESSource.toGet[0].clone(
62  record ='SiStripFedCablingRcd',
63  tag ='insert_FedCablingTag'
64  ),
65  poolDBESSource.toGet[0].clone(
66  record = 'SiStripNoisesRcd',
67  tag = 'insert_NoiseTag'
68  ),
69  poolDBESSource.toGet[0].clone(
70  record = 'SiStripPedestalsRcd',
71  tag = 'insert_PedestalTag'
72  ),
73  poolDBESSource.toGet[0].clone(
74  record = 'SiStripApvGainRcd',
75  tag = 'SiStripGain_Ideal_21X'
76  ),
77  poolDBESSource.toGet[0].clone(
78  record = 'SiStripLorentzAngleRcd',
79  tag = 'SiStripLorentzAngle_Ideal_21X'
80  ),
81  poolDBESSource.toGet[0].clone(
82  record = 'SiStripThresholdRcd',
83  tag = 'insert_ThresholdTag'
84  )
85  ),
86  connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
87 )
88 
89 sistripconn = cms.ESProducer("SiStripConnectivity")
90 
91 
92  #-------------------------------------------------
93  ## Scheduling
94  #-------------------------------------------------
95 
96 ####process.p = cms.Path(process.CondDataMonitoring*process.qTester)
97 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)
98 
99 
100 
101 
102 
103 
104 
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135