CMS 3D CMS Logo

TemplateCfg21X_Quality_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("CONDOBJMON")
4 #-------------------------------------------------
5 
6 #-------------------------------------------------
7 # DQM
8 #-------------------------------------------------
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)
19 
20 
21 process.load("DQM.SiStripCommon.TkHistoMap_cfi");
22 
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)
28 )
29 
30 process.maxEvents = cms.untracked.PSet(
31  input = cms.untracked.int32(1)
32 )
33 
34 process.MessageLogger = cms.Service("MessageLogger",
35  debugModules = cms.untracked.vstring('SiStripMonitorCondData'),
36  cout = cms.untracked.PSet(
37  threshold = cms.untracked.string('Error')
38  ),
39  destinations = cms.untracked.vstring('error.log',
40  'cout')
41 )
42 
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)
47 )
48 
49 process.DQMStore = cms.Service("DQMStore",
50  verbose = cms.untracked.int32(1)
51 )
52 
54 siStripCond = poolDBESSource.clone(
55  toGet = (
56  poolDBESSource.toGet[0].clone(
57  record = 'SiStripFedCablingRcd',
58  tag = 'insert_FedCablingTag'
59  ),
60  poolDBESSource.toGet[0].clone(
61  record = 'SiStripNoisesRcd',
62  tag = 'insert_NoiseTag'
63  ),
64  poolDBESSource.toGet[0].clone(
65  record = 'SiStripPedestalsRcd',
66  tag = 'insert_PedestalTag'
67  ),
68  poolDBESSource.toGet[0].clone(
69  record = 'SiStripApvGainRcd',
70  tag = 'SiStripGain_Ideal_21X'
71  ),
72  poolDBESSource.toGet[0].clone(
73  record = 'SiStripLorentzAngleRcd',
74  tag = 'SiStripLorentzAngle_Ideal_21X'
75  ),
76  poolDBESSource.toGet[0].clone(
77  record = 'SiStripThresholdRcd',
78  tag = 'insert_ThresholdTag'
79  )
80  ),
81  connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
82 )
83 
84 sistripconn = cms.ESProducer("SiStripConnectivity")
85 
86 process.a = cms.ESSource("PoolDBESSource",
87  appendToDataLabel = cms.string('test'),
88  toGet = cms.VPSet(cms.PSet(
89  record = cms.string('SiStripBadFiberRcd'),
90 
91  tag = cms.string('insert_DB_Tag')
92  )
93  ),
94  DBParameters = cms.PSet(
95  authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
96  ),
97  timetype = cms.string('runnumber'),
98  connect = cms.string('frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'),
99  BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService')
100 )
101 
102 process.MySSQ = cms.ESProducer("SiStripQualityESProducer",
103  appendToDataLabel = cms.string(''),
104  ReduceGranularity = cms.bool(True),
105  ThresholdForReducedGranularity = cms.double(0.3),
106  ListOfRecordToMerge = cms.VPSet(cms.PSet(
107  record = cms.string('SiStripBadFiberRcd'),
108 
110  tag = cms.string('test')
111  ))
112 )
113 
114 #process.MySSQPrefer = cms.ESPrefer("PoolDBESSource","a")
115 
116 
117  #-------------------------------------------------
118 
120 
121 process.p = cms.Path(process.CondDataMonitoring*process.qTester)
122 
123 
124 
125 
126 
127 
128 
129 
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135