41{
42
43
44
45
46
47
48
49
50
51
53
55 << "," << ctx.eventID().event_number()
56 << ":" << ctx.eventID().time_stamp()
57 << "]");
58
59 std::string defectlist;
60 std::string EfficiencyTable;
61 Identifier stripid1;
62 Identifier waferid1;
63 Identifier moduleid1;
64
65
67
70 int n_bad{0};
71 for (; waferItr != waferItrE; ++waferItr ) {
72 Identifier waferId{*waferItr};
73 for (
int i{0};
i<768;
i++){
74 Identifier stripId{
m_sctId->strip_id(waferId, i)};
76 n_bad++;
77 }
78 }
79 ATH_MSG_DEBUG(
"(MonitorTest): #bad strips(Total) = " << n_bad);
80
81
82 stripid1 =
m_sctId->strip_id(0, 3, 41, -4, 1, 703);
83 waferid1 =
m_sctId->wafer_id(stripid1);
84 moduleid1 =
m_sctId->module_id(waferid1);
87
88
90 if (isthisGood) {
91 ATH_MSG_INFO(
"isGood(): strip(0,3,41,-4,1,703) is not noisy ");
92 } else {
93 ATH_MSG_INFO(
"isGood(): strip(0,3,41,-4,1,703) is noisy ");
94 }
95
96 stripid1 =
m_sctId->strip_id(0, 3, 41, -4, 0, 703);
97 waferid1 =
m_sctId->wafer_id(stripid1);
98 moduleid1 =
m_sctId->module_id(waferid1);
99
101 if (isthisGood) {
102 ATH_MSG_INFO(
"isGood(): strip(0,3,41,-4,0,703) is not noisy ");
103 } else {
104 ATH_MSG_INFO(
"isGood(): strip(0,3,41,-4,0,703) is noisy ");
105 }
106
107
108 stripid1 =
m_sctId->strip_id(0, 2, 39, -1, 0, 397);
109 waferid1 =
m_sctId->wafer_id(stripid1);
110 moduleid1 =
m_sctId->module_id(waferid1);
114 if (isthisGood) {
115 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,397) is not noisy ");
116 } else {
117 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,397) is noisy ");
118 }
119
120 stripid1 =
m_sctId->strip_id(0, 2, 39, -1, 0, 396);
121 waferid1 =
m_sctId->wafer_id(stripid1);
122 moduleid1 =
m_sctId->module_id(waferid1);
126 if (isthisGood) {
127 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,396) is not noisy ");
128 } else {
129 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,396) is noisy ");
130 }
131
132 stripid1 =
m_sctId->strip_id(0, 2, 39, -1, 0, 398);
133 waferid1 =
m_sctId->wafer_id(stripid1);
134 moduleid1 =
m_sctId->module_id(waferid1);
138 if (isthisGood) {
139 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,398) is not noisy ");
140 } else {
141 ATH_MSG_INFO(
"isGood(): strip(0,2,39,-1,0,398) is noisy ");
142 }
143
144 stripid1 =
m_sctId->strip_id(0, 3, 13, -3, 0, 567);
145
147 if (isthisGood) {
148 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,0,567) is not noisy ");
149 } else {
150 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,0,567) is noisy ");
151 }
152
153 stripid1 =
m_sctId->strip_id(0, 3, 13, -3, 0, 566);
154
156 if (isthisGood) {
157 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,0,566) is not noisy ");
158 } else {
159 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,0,566) is noisy ");
160 }
161
162 stripid1 =
m_sctId->strip_id(0, 3, 13, -3, 1, 567);
163
165 if (isthisGood) {
166 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,1,567) is not noisy ");
167 } else {
168 ATH_MSG_INFO(
"isGood(): strip(0,3,13,-3,1,567) is noisy ");
169 }
170
171 stripid1 =
m_sctId->strip_id(0, 0, 7, 2, 0, 700);
172
174 if (isthisGood) {
175 ATH_MSG_INFO(
"isGood(): strip(0,0,7,2,0,700) is not noisy ");
176 } else {
177 ATH_MSG_INFO(
"isGood(): strip(0,0,7,2,0,700) is noisy ");
178 }
179
180 stripid1 =
m_sctId->strip_id(0, 0, 7, 2, 1, 700);
181
183 if (isthisGood) {
184 ATH_MSG_INFO(
"isGood(): strip(0,0,7,2,1,700) is not noisy ");
185 } else {
186 ATH_MSG_INFO(
"isGood(): strip(0,0,7,2,1,700) is noisy ");
187 }
188
189
190 stripid1 =
m_sctId->strip_id(0, 0, 8, -4, 0, 100);
191
193 if (isthisGood) {
194 ATH_MSG_INFO(
"isGood(): chip(0,0,8,-4,0,100) is not noisy ");
195 } else {
196 ATH_MSG_INFO(
"isGood(): chip(0,0,8,-4,0,100) is noisy ");
197 }
198
199 stripid1 =
m_sctId->strip_id(0, 3, 13, -3, 0, 567);
200
202 if (isthisGood) {
203 ATH_MSG_INFO(
"isGood(): chip(0,3,13,-3,0,567) is not noisy ");
204 } else {
205 ATH_MSG_INFO(
"isGood(): chip(0,3,13,-3,0,567) is noisy ");
206 }
207
208
209 stripid1 =
m_sctId->strip_id(0, 0, 8, -4, 0, 100);
210
212 if (isthisGood) {
213 ATH_MSG_INFO(
"isGood(): wafer(0,0,8,-4,0,100) is not noisy ");
214 } else {
215 ATH_MSG_INFO(
"isGood(): wafer(0,0,8,-4,0,100) is noisy ");
216 }
217
218
219 stripid1 =
m_sctId->strip_id(0, 0, 8, -4, 0, 100);
220
222 if (isthisGood) {
223 ATH_MSG_INFO(
"isGood(): module(0,0,8,-4,0,100) is not noisy ");
224 } else {
225 ATH_MSG_INFO(
"isGood(): module(0,0,8,-4,0,100) is noisy ");
226 }
227
228 ATH_MSG_DEBUG(
"(MonitorTest): execute finished successfully.");
229 return StatusCode::SUCCESS;
230}
std::vector< Identifier >::const_iterator const_id_iterator
ToolHandle< ISCT_MonitorConditionsTool > m_pMonitorConditionsTool