-
Notifications
You must be signed in to change notification settings - Fork 0
/
0SiPixelBadModuleByHandBuilder_cfg_v33.py
155 lines (130 loc) · 3.58 KB
/
0SiPixelBadModuleByHandBuilder_cfg_v33.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
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_v33.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('SiPixelQualityFromDbRcd'),
tag = cms.string('SiPixelQuality_v33')
))
)
process.prod = cms.EDAnalyzer("SiPixelBadModuleByHandBuilder",
BadModuleList = cms.untracked.VPSet(
# bad for SiPixelQuality_v33
#BmO_SEC7_LYR2_LDR13_MOD3
cms.PSet(
errortype = cms.string('tbmA'),
detid = cms.uint32(302126344)
),
# bad for SiPixelQuality_v32
#BpO_Sec7_Lyr2_Ldr13F_Mod3
cms.PSet(
errortype = cms.string('tbmB'),
detid = cms.uint32(302126364)
),
#still bad for v31
#Lay1
# BPix_BpO_SEC2_LYR1_LDR3_MOD2
cms.PSet(
errortype = cms.string('tbmA'),
detid = cms.uint32(302057496)
),
#Lay2
#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)
),
# 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)
),
#Lay3
# BPix_BpI_SEC1_LYR3_LDR3_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302188820)
),
#FPix_BpO_D1_BLD5_PNL2_PLQ2_ROC6 (352398856)
cms.PSet(
errortype = cms.string('none'),
detid = cms.uint32(352398856),
badroclist = cms.vuint32(6)
),
#---------------------------------------------------------------------------
),
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)