Changeset 4342 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 06/23/04 02:31:43 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r4217 r4342 171 171 void MBadPixelsCam::Print(Option_t *o) const 172 172 { 173 *fLog << all << GetDescriptor() << ":" << endl; 173 *fLog << all << GetDescriptor() << ":" << endl; 174 175 *fLog << "Pixels without problems:" << endl; 176 *fLog << endl; 174 177 175 *fLog << "Pixels without problems:" << endl; 176 *fLog << endl; 177 178 Int_t count = 0; 179 180 for (Int_t i=0; i<GetSize(); i++) 181 { 182 if (!(*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun)) 183 { 184 *fLog << i << " "; 185 count ++; 186 } 187 188 if (count == 0) 189 continue; 190 191 if (!(count % 25)) 192 *fLog << endl; 193 } 194 *fLog << endl; 195 *fLog << count << " normal pixels :-))" << endl; 196 *fLog << endl; 197 count = 0; 198 199 200 *fLog << "Pixels unsuited for the whole run:" << endl; 201 *fLog << endl; 202 203 for (Int_t i=0; i<GetSize(); i++) 204 { 205 if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun)) 206 { 207 *fLog << i << " "; 208 count ++; 209 } 210 211 if (count == 0) 212 continue; 213 214 if (!(count % 25)) 215 *fLog << endl; 216 } 217 *fLog << endl; 218 *fLog << count << " unsuited pixels :-(" << endl; 219 *fLog << endl; 220 221 count = 0; 222 223 *fLog << all << "Pixels unreliable for the whole run:" << endl; 224 *fLog << all << endl; 225 226 for (Int_t i=0; i<GetSize(); i++) 227 { 228 if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnreliableRun)) 229 { 230 *fLog << i << " "; 231 count ++; 232 } 233 234 if (count == 0) 235 continue; 236 237 if (!(count % 25)) 238 *fLog << endl; 239 } 240 241 *fLog << endl; 242 *fLog << count << " unreliable pixels :-(" << endl; 243 *fLog << endl; 178 Int_t count = 0; 179 180 for (Int_t i=0; i<GetSize(); i++) 181 { 182 if (!(*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun)) 183 { 184 *fLog << i << " "; 185 count ++; 186 } 187 188 if (count == 0) 189 continue; 190 191 if (!(count % 25)) 192 *fLog << endl; 193 } 194 *fLog << endl; 195 *fLog << count << " normal pixels :-))" << endl; 196 *fLog << endl; 197 count = 0; 198 199 200 *fLog << "Pixels unsuited for the whole run:" << endl; 201 *fLog << endl; 202 203 for (Int_t i=0; i<GetSize(); i++) 204 { 205 if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnsuitableRun)) 206 { 207 *fLog << i << " "; 208 count ++; 209 } 210 211 if (count == 0) 212 continue; 213 214 if (!(count % 25)) 215 *fLog << endl; 216 } 217 *fLog << endl; 218 *fLog << count << " unsuited pixels :-(" << endl; 219 *fLog << endl; 220 221 count = 0; 222 223 *fLog << all << "Pixels unreliable for the whole run:" << endl; 224 *fLog << all << endl; 225 226 for (Int_t i=0; i<GetSize(); i++) 227 { 228 if ((*this)[i].IsUnsuitable(MBadPixelsPix::kUnreliableRun)) 229 { 230 *fLog << i << " "; 231 count ++; 232 } 233 234 if (count == 0) 235 continue; 236 237 if (!(count % 25)) 238 *fLog << endl; 239 } 240 241 *fLog << endl; 242 *fLog << count << " unreliable pixels :-(" << endl; 243 *fLog << endl; 244 245 count = 0; 246 247 *fLog << all << "Charge is Pedestal:" << endl; 248 *fLog << all << endl; 249 250 for (Int_t i=0; i<GetSize(); i++) 251 { 252 if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal)) 253 { 254 *fLog << i << " "; 255 count ++; 256 } 257 258 if (count == 0) 259 continue; 260 261 if (!(count % 25)) 262 *fLog << endl; 263 } 264 265 *fLog << endl; 266 *fLog << count << " ChargeIsPedestal :-(" << endl; 267 *fLog << endl; 268 269 count = 0; 270 271 *fLog << all << "Charge Sigma not valid:" << endl; 272 *fLog << all << endl; 273 274 for (Int_t i=0; i<GetSize(); i++) 275 { 276 if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid)) 277 { 278 *fLog << i << " "; 279 count ++; 280 } 281 282 if (count == 0) 283 continue; 284 285 if (!(count % 25)) 286 *fLog << endl; 287 } 288 289 *fLog << endl; 290 *fLog << count << " ChargeSigmaNotValid :-(" << endl; 291 *fLog << endl; 292 293 count = 0; 294 295 *fLog << all << "Rel. Error Charge not valid:" << endl; 296 *fLog << all << endl; 297 298 for (Int_t i=0; i<GetSize(); i++) 299 { 300 if ((*this)[i].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid)) 301 { 302 *fLog << i << " "; 303 count ++; 304 } 305 306 if (count == 0) 307 continue; 308 309 if (!(count % 25)) 310 *fLog << endl; 311 } 312 313 *fLog << endl; 314 *fLog << count << " ChargeRelErrNotValid :-(" << endl; 315 *fLog << endl; 316 317 318 count = 0; 319 320 *fLog << all << " Deviating number photo-electrons:" << endl; 321 *fLog << all << endl; 322 323 for (Int_t i=0; i<GetSize(); i++) 324 { 325 if ((*this)[i].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes)) 326 { 327 *fLog << i << " "; 328 count ++; 329 } 330 331 if (count == 0) 332 continue; 333 334 if (!(count % 25)) 335 *fLog << endl; 336 } 337 338 *fLog << endl; 339 *fLog << count << " DeviatingNumPhes :-(" << endl; 340 *fLog << endl; 341 342 count = 0; 343 344 *fLog << all << " Deviating F-Factor:" << endl; 345 *fLog << all << endl; 346 347 for (Int_t i=0; i<GetSize(); i++) 348 { 349 if ((*this)[i].IsUncalibrated(MBadPixelsPix::kDeviatingFFactor)) 350 { 351 *fLog << i << " "; 352 count ++; 353 } 354 355 if (count == 0) 356 continue; 357 358 if (!(count % 25)) 359 *fLog << endl; 360 } 361 362 *fLog << endl; 363 *fLog << count << " DeviatingFFactor :-(" << endl; 364 *fLog << endl; 365 244 366 } 245 367
Note:
See TracChangeset
for help on using the changeset viewer.