Changeset 3730
- Timestamp:
- 04/14/04 12:39:51 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3726 r3730 18 18 19 19 -*-*- END OF LINE -*-*- 20 2004/04/14: Markus Gaug 21 22 * htmldoc/images/CalibClasses.gif 23 * htmldoc/images/RelTimeClasses.gif 24 - two schemes used in the class descriptions 25 26 20 27 2004/04/13: Markus Gaug 21 28 -
trunk/MagicSoft/Mars/macros/calibClasses.C
r3729 r3730 27 27 // calibClasses 28 28 // 29 // This macro draws the scheme found in htmldoc/images/CalibClasses.gif 29 // This macro draws the schemes found in htmldoc/images/CalibClasses.gif 30 // and htmldoc/images/RelTimeClasses.gif 30 31 // 31 32 ///////////////////////////////////////////////////////////////////////////// … … 63 64 const Float_t pt3x2 = 0.975; 64 65 65 66 66 Float_t arry1 = 0.; 67 67 Float_t arry2 = 0.; … … 530 530 531 531 CalibClasses->SaveAs("htmldoc/images/CalibClasses.gif"); 532 533 // 534 // Relative Time classes 535 // 536 537 TCanvas *RelTimeClasses = new TCanvas("RelTimeClasses", "Relative Time Calibration Classes",89,96,758,1051); 538 RelTimeClasses->Range(0,0,1,1); 539 RelTimeClasses->SetBorderSize(2); 540 RelTimeClasses->SetFrameFillColor(0); 541 542 // First line: 543 TPaveText *pt = new TPaveText(0.375,0.895,0.785,0.95,"br"); 544 pt->SetFillColor(18); 545 TText *text = pt->AddText("MRawEvtData"); 546 pt->Draw(); 547 tex = new TLatex(0.55,0.955,"C"); 548 tex->SetTextSize(0.05); 549 tex->SetLineWidth(2); 550 tex->Draw(); 551 552 553 // Second line: 554 elly1 = 0.805; 555 556 ellipse = new TEllipse(ell2x1,elly1,ellr1,ellr2,0,360,0); 557 ellipse->Draw(); 558 559 texy1 = 0.805; 560 561 tex = new TLatex(tex2x1,texy1,"MArrivalTimeCalc:"); 562 tex->SetTextSize(texsize); 563 tex->SetLineWidth(2); 564 tex->Draw(); 565 566 texy1 = 0.79; 567 568 tex = new TLatex(tex2x1+0.02,texy1,"Abs. Arrival Time"); 569 tex->SetTextSize(texsize2); 570 tex->SetTextColor(kRed); 571 tex->SetLineWidth(1); 572 tex->Draw(); 573 574 arry1 = 0.89; 575 arry2 = 0.84; 576 577 arrow = new TArrow(arr2x1,arry1,arr2x1,arry2,arrsize,"|>"); 578 arrow->SetFillColor(1); 579 arrow->SetFillStyle(1001); 580 arrow->Draw(); 581 582 583 // Third line: 584 pty1 = 0.67; 585 pty2 = 0.73; 586 587 pt = new TPaveText(pt2x1,pty1,pt2x2,pty2,"br"); 588 pt->SetFillColor(18); 589 text = pt->AddText("MArrivalTimeCam"); 590 pt->Draw(); 591 592 arry1 = 0.77; 593 arry2 = 0.73; 594 595 arrow = new TArrow(arr2x1,arry1,arr2x1,arry2,arrsize,"|>"); 596 arrow->SetFillColor(1); 597 arrow->SetFillStyle(1001); 598 arrow->Draw(); 599 600 // Fourth line: 601 elly1 = 0.6; 602 603 TEllipse *ellipse = new TEllipse(ell2x1,elly1,0.235,0.04,0,360,0); 604 ellipse->Draw(); 605 606 texy1 = 0.6; 607 608 tex = new TLatex(tex2x1-0.05,texy1,"MHCalibrationRelTimeCam:"); 609 tex->SetTextSize(texsize); 610 tex->SetLineWidth(2); 611 tex->Draw(); 612 613 614 arrow = new TArrow(0.35,0.465,0.15,0.39,arrsize,"|>"); 615 arrow->SetFillColor(1); 616 arrow->SetFillStyle(1001); 617 arrow->Draw(); 618 619 tex = new TLatex(0.17,0.425,"Oscillations"); 620 tex->SetTextSize(texsize2+0.006); 621 tex->SetTextAngle(27); 622 tex->SetTextColor(006); 623 tex->SetLineWidth(1); 624 tex->Draw(); 625 626 tex = new TLatex(0.175,0.41,"Absurd results"); 627 tex->SetTextSize(texsize2+0.006); 628 tex->SetTextAngle(27); 629 tex->SetTextColor(006); 630 tex->SetLineWidth(1); 631 tex->Draw(); 632 633 // seventh line 634 pty1 = 0.315; 635 pty2 = 0.39; 636 637 pt = new TPaveText(0.015,pty1,0.25,pty2,"br"); 638 pt->SetFillColor(18); 639 text = pt->AddText("MBadPixelsCam:"); 640 text = pt->AddText("kUnreliableRun"); 641 text->SetTextColor(kBlue); 642 pt->Draw(); 643 644 texy1 = 0.59; 645 646 tex = new TLatex(tex2x1-0.04,texy1,"Calculate Rel. Arrival Times"); 647 tex->SetTextSize(texsize2); 648 tex->SetTextColor(kRed); 649 tex->SetLineWidth(1); 650 tex->Draw(); 651 tex = new TLatex(tex2x1-0.04,texy1-0.01," (w.r.t. pixel 1 software idx)"); 652 tex->SetTextSize(texsize2); 653 tex->SetTextColor(kRed); 654 tex->SetLineWidth(1); 655 tex->Draw(); 656 657 arry1 = 0.67; 658 arry2 = 0.63; 659 660 arrow = new TArrow(arr2x1,arry1,arr2x1,arry2,arrsize,"|>"); 661 arrow->SetFillColor(1); 662 arrow->SetFillStyle(1001); 663 arrow->Draw(); 664 665 arry1 = 0.56; 666 arry2 = 0.52; 667 668 arrow = new TArrow(arr2x1,arry1,arr2x1,arry2,arrsize,"|>"); 669 arrow->SetFillColor(1); 670 arrow->SetFillStyle(1001); 671 arrow->Draw(); 672 673 // Fifth line: 674 pty1 = 0.44; 675 pty2 = 0.52; 676 677 678 pt = new TPaveText(0.3,pty1,0.85,pty2,"br"); 679 pt->SetFillColor(18); 680 text = pt->AddText("MCalibrationRelTimeCam:"); 681 pt->Draw(); 682 text = pt->AddText("Offset, Resolution, errors"); 683 text->SetTextColor(kBlue); 684 pt->Draw(); 685 686 687 688 // eightth line: 689 690 Float_t nellx1 = 0.39; 691 elly1 = 0.36; 692 693 ellipse = new TEllipse(0.57,elly1,0.235,0.04,0,360,0); 694 ellipse->Draw(); 695 696 tex = new TLatex(nellx1,elly1,"MCalibrateTime:"); 697 tex->SetTextSize(0.0328253); 698 tex->SetLineWidth(2); 699 tex->Draw(); 700 701 tex = new TLatex(nellx1+0.02,elly1-0.02,"Offset correction"); 702 tex->SetTextSize(texsize); 703 tex->SetTextColor(kRed); 704 tex->SetLineWidth(1); 705 tex->Draw(); 706 707 arry1 = 0.44; 708 arry2 = 0.4; 709 710 arrow = new TArrow(arr2x1,arry1,arr2x1,arry2,arrsize,"|>"); 711 arrow->SetFillColor(1); 712 arrow->SetFillStyle(1001); 713 arrow->Draw(); 714 715 Float_t linex1 = 0.25; 716 Float_t liney1 = 0.36; 717 718 arrow = new TArrow(linex1,liney1,0.335,liney1,arrsize,"|>"); 719 arrow->SetFillColor(1); 720 arrow->SetFillStyle(1001); 721 arrow->Draw(); 722 723 RelTimeClasses->Modified(); 724 RelTimeClasses->cd(); 725 726 RelTimeClasses->SaveAs("htmldoc/images/RelTimeClasses.gif"); 727 728 532 729 } -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3726 r3730 50 50 // MCalibrationChargeBlindPix, MCalibrationChargePINDiode, 51 51 // MCalibrationQECam, MBadPixelsPix, MBadPixelsCam 52 // 53 // If the flag RelTimeCalibration() is set, a calibration of the relative arrival 54 // times is also performed. The following containers (rectangular) and 55 // tasks (ellipses) are called to produce an MCalibrationRelTimeCam used by 56 // MCalibrateTime to correct timing offset between pixels: (MCalibrateTime is not 57 // called from this class) 58 // 59 //Begin_Html 60 /* 61 <img src="images/RelTimeClasses.gif"> 62 */ 63 //End_Html 52 64 // 53 65 /////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.