Changeset 8446 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 04/25/07 15:39:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r8423 r8446 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1. 49 2007-04-20 08:55:17tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.50 2007-04-25 14:39:41 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 394 394 395 395 Int_t count = 0; 396 Int_t full = 0;397 396 398 397 for (Int_t i=0; i<GetSize(); i++) … … 401 400 { 402 401 *fLog << i << " "; 403 full++;404 402 count ++; 405 403 } 406 407 if (count == 0) 408 continue; 409 410 if (!(full % 25)) 411 { 412 full = 0; 413 *fLog << endl; 414 } 415 } 416 *fLog << endl; 404 } 417 405 *fLog << count << " normal pixels" << endl; 418 406 *fLog << endl; 419 407 420 408 *fLog << "Pixels unsuited for the whole run:" << endl; 421 422 full = 0; 409 423 410 count = 0; 424 411 for (Int_t i=0; i<GetSize(); i++) … … 427 414 { 428 415 *fLog << i << " "; 429 full++;430 416 count ++; 431 417 } 432 433 if (count == 0) 434 continue; 435 436 if (!(full % 25)) 437 { 438 full = 0; 439 *fLog << endl; 440 } 441 } 442 443 *fLog << endl; 418 } 419 444 420 *fLog << count << " unsuited pixels per run :-(" << endl; 445 421 *fLog << endl; 446 422 447 423 *fLog << "Pixels unsuited for this event:" << endl; 448 424 449 full = 0;450 425 count = 0; 451 426 for (Int_t i=0; i<GetSize(); i++) … … 454 429 { 455 430 *fLog << i << " "; 456 full++;457 431 count ++; 458 432 } 459 460 if (count == 0) 461 continue; 462 463 if (!(full % 25)) 464 { 465 full = 0; 466 *fLog << endl; 467 } 468 } 469 470 *fLog << endl; 433 } 434 471 435 *fLog << count << " unsuited pixels per event :-(" << endl; 472 436 *fLog << endl; 473 474 full = 0; 437 475 438 count = 0; 476 439 477 440 *fLog << all << "Pixels unreliable for the whole run:" << endl; 478 441 479 442 for (Int_t i=0; i<GetSize(); i++) 480 443 { … … 482 445 { 483 446 *fLog << i << " "; 484 full++;485 447 count ++; 486 448 } 487 488 if (count == 0) 489 continue; 490 491 if (!(full % 25)) 492 { 493 full = 0; 494 *fLog << endl; 495 } 496 } 497 498 *fLog << endl; 449 } 450 499 451 *fLog << count << " unreliable pixels :-(" << endl; 500 452 *fLog << endl; … … 502 454 *fLog << all << "Unsuited pixels statistics:" << endl; 503 455 *fLog << endl; 504 456 505 457 PrintBadPixels(MBadPixelsPix::kPreviouslyExcluded,"Previously excluded"); 506 458 PrintBadPixels(MBadPixelsPix::kChargeIsPedestal,"Signal smaller 3 Pedestal RMS"); … … 519 471 *fLog << all << "Unreliable pixels statistics:" << endl; 520 472 *fLog << endl; 521 473 522 474 PrintBadPixels(MBadPixelsPix::kChargeSigmaNotValid,"Signal Sigma smaller Pedestal RMS"); 523 475 PrintBadPixels(MBadPixelsPix::kHiGainNotFitted ,"High Gain Signals could not be fitted"); … … 554 506 *fLog << "Pixels with " << text << ": " << endl; 555 507 UInt_t count = 0; 556 UInt_t full = 0;557 508 558 509 for (Int_t i=0; i<GetSize(); i++) … … 561 512 { 562 513 *fLog << i << " "; 563 full++;564 514 count++; 565 515 } 566 567 if (count == 0)568 continue;569 570 if (!(full % 25))571 {572 full = 0;573 *fLog << endl;574 }575 516 } 576 517 577 *fLog << endl;578 518 *fLog << Form("%3i",count) << " pixels in total " << endl; 579 519 }
Note:
See TracChangeset
for help on using the changeset viewer.