-
Notifications
You must be signed in to change notification settings - Fork 0
/
0SiPixelBadModuleByHandBuilder_cfg_v28.py
203 lines (173 loc) · 4.81 KB
/
0SiPixelBadModuleByHandBuilder_cfg_v28.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
import FWCore.ParameterSet.Config as cms
process = cms.Process("ICALIB")
process.MessageLogger = cms.Service("MessageLogger",
cout = cms.untracked.PSet(
threshold = cms.untracked.string('INFO')
),
destinations = cms.untracked.vstring('cout')
)
process.source = cms.Source("EmptyIOVSource",
timetype = cms.string('runnumber'),
firstValue = cms.uint64(1),
lastValue = cms.uint64(1),
interval = cms.uint64(1)
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.PoolDBOutputService = cms.Service("PoolDBOutputService",
BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
DBParameters = cms.PSet(
authenticationPath = cms.untracked.string('')
),
timetype = cms.untracked.string('runnumber'),
connect = cms.string('sqlite_file:SiPixelQuality_v28.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('SiPixelQualityFromDbRcd'),
tag = cms.string('SiPixelQuality_v28')
))
)
process.prod = cms.EDAnalyzer("SiPixelBadModuleByHandBuilder",
BadModuleList = cms.untracked.VPSet(
#added for v28
#BPix_BpO_SEC2_LYR2_LDR3_MOD3 (302123804)
cms.PSet(
errortype = cms.string('tbmB'),
detid = cms.uint32(302123804)
),
#BPix_BpO_SEC7_LYR2_LDR13F_MOD3 TBM-B (302126364)
cms.PSet(
errortype = cms.string('tbmB'),
detid = cms.uint32(302126364)
),
#FPix_BpO_D1_BLD5_PNL2_PLQ2_ROC6 (352398856)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(352398856),
badroclist = cms.vuint32(6)
),
#BPix_BpO_SEC4_LYR2_LDR8F_MOD1_ROC3 (302125076)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(302125076),
badroclist = cms.vuint32(3)
),
#BPix_BmO_SEC4_LYR2_LDR8F_MOD4_ROC7 (302125060)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(302125060),
badroclist = cms.vuint32(7)
),
#BBPix_BmI_SEC6_LYR3_LDR14F_MOD4_ROC11 (302197252)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(302197252),
badroclist = cms.vuint32(11)
),
#BPix_BpI_SEC2_LYR3_LDR6F_MOD1_ROC14 (302188052)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(302188052),
badroclist = cms.vuint32(14)
),
#added for v27
###The whole SEC3_LYR2
#Layer2
#BPix_BmO_SEC3_LYR2LDR5_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124292)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD3
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124296)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD2
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124300)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124304)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124548)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD3
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124552)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD2
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124556)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124560)
),
#old bad ones
#Lay1
# BPix_BpO_SEC2_LYR1_LDR3_MOD2
cms.PSet(
errortype = cms.string('tbmA'),
detid = cms.uint32(302057496)
),
#Lay2
# BPix_BpO_SEC1_LYR2_LDR1H_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302123296)
),
# BPix_BpO_SEC8_LYR2_LDR16_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302127136)
),
# BPix_BmI_SEC1_LYR2_LDR1_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302123024)
),
#BPix_BmI_SEC1_LYR2_LDR2F_MOD1 TBM-B (302122768)
cms.PSet(
errortype = cms.string('tbmB'),
detid = cms.uint32(302122768)
),
#BPix_BpO_SEC7_LYR2_LDR14F_MOD4 (302126624),
# cms.PSet(
# errortype = cms.string('whole'),
# detid = cms.uint32(302126624)
# ),
#BPix_BpO_SEC3_LYR2_LDR5F_MOD1 TBM-B (302124308)
cms.PSet(
errortype = cms.string('tbmB'),
detid = cms.uint32(302124308)
),
#BPix_BpO_SEC7_LYR3_LDR19F_MOD2 (302194200),
# cms.PSet(
# errortype = cms.string('whole'),
# detid = cms.uint32(302194200)
# ),
# BPix_BpI_SEC1_LYR3_LDR3_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302188820)
),
),
Record = cms.string('SiPixelQualityFromDbRcd'),
SinceAppendMode = cms.bool(True),
IOVMode = cms.string('Run'),
printDebug = cms.untracked.bool(True),
doStoreOnDB = cms.bool(True)
)
#process.print = cms.OutputModule("AsciiOutputModule")
process.p = cms.Path(process.prod)
#process.ep = cms.EndPath(process.print)