-
Notifications
You must be signed in to change notification settings - Fork 0
/
0SiPixelBadModuleByHandBuilder_cfg_v27.py
161 lines (139 loc) · 3.88 KB
/
0SiPixelBadModuleByHandBuilder_cfg_v27.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
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_v27.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('SiPixelQualityFromDbRcd'),
tag = cms.string('SiPixelQuality_v27')
))
)
process.prod = cms.EDAnalyzer("SiPixelBadModuleByHandBuilder",
BadModuleList = cms.untracked.VPSet(
###The whole SEC3_LYR2
#Layer2
#BPix_BmO_SEC3_LYR2LDR5_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124292),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD3
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124296),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD2
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124300),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR5_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124304),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD4
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124548),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD3
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124552),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD2
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124556),
badroclist = cms.vuint32(6)
),
#BPix_BmO_SEC3_LYR2LDR6_MOD1
cms.PSet(
errortype = cms.string('whole'),
detid = cms.uint32(302124560),
badroclist = cms.vuint32(6)
),
#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)