Commit b088fe6
authored
DC alignment updates (#18)
* added beam offset analysis
* used moment at R1
* saving new offset histograms to the histogram file
* improving offset fit and reverting to use track vertex variables
* added theta threshold function with offset
* changing function names to be sector dependent
* restore time residual plots, update to skimming script
* restore time residual plots, attempt2
* restoring writing of time residuals to file
* reading time histograms when reanalyzing or refitting
* restoring vertex constraint
* set a 10 count threshold on the scattering chamber exit window peak for including the fitted position in the global fit
* improved vertex fit for new cryotarget
* added time residuals calibration plots, switched to newer coatjava version, added target length constraint, changed global transformation to translation only
* modified reading and writing of histogram file to save fitted functions
* added fit of integrated vertex distribution, setting of residual stat box accuracy
* renamed histograms
* disabled jminuit log during histogram fitting
* added checks on histograms fit convergence and code cleanups
* restored log file
* now selecting status=0 hits, added wire plots
* r1 translations are now global, changing theta to traj point
* bug fix
* added option to initialize misalignment fit from CCDB table (-init), previous iteration table option changed to -previous
* added command-line options to choose frame and global/loval R1 translation
* cleanup
* increased R3 residual error by x2 and added alpha plots
* changed alpha to reducedalpha
* fix to global transformation handling and more time plots
* more plots and improved fitting
* improved DC skimming scripts
* restoring time residual bins for angular bins
* adding doca cuts
* improving hit selection
* added alpha cuts on hits and double gaussian fit of residuals
* improving hit selection again
* redo failed fits
* added command line options to turn hit cuts on/off
* fix setting of doca cuts and added more logging
* added command line option to set the ecal cut, plotting pulls instead of residuals in before/after, better labels and printouts
* added vertex fit for Spring18
* fixing the target length in the RG-A Spring18 fits
* changing moller cone distance to FTon
* added angular plot of time residuals
* do not refit time residual if fit is stored
* creating timeValues array even if tres is false
* version bump
* added time residuals for left right hits
* making LR time residual plots layer dependent
* saving LR time residuals to the histogram file
* saving LR time residuals to the histogram file
* added region-by-region before/after plots
* file name now shown in the jframe title and code cleanups
* more vertex plots in kinematics.groovy
* added RG-K vertex fit function, excluding measurements with failed fits, storing failed fit information, analyze now saves the histograms, using inputlist for analyze and fit mode
* now really switching -fit parser options to use inputlist
* updated .gitignore with dc specific files
* plot only non empty graphs when running only with r0
* fixed issue with skim script
* version bump1 parent eb38e3d commit b088fe6
File tree
7 files changed
+263
-50
lines changed- dc
- java/dc-alignment
- src/main/java/org/clas/dc/alignment
- utilities
7 files changed
+263
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 98 additions & 32 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
Lines changed: 126 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
520 | | - | |
521 | | - | |
| 519 | + | |
| 520 | + | |
522 | 521 | | |
523 | 522 | | |
524 | 523 | | |
| |||
650 | 649 | | |
651 | 650 | | |
652 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
653 | 655 | | |
654 | 656 | | |
655 | 657 | | |
| |||
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
672 | | - | |
| 674 | + | |
673 | 675 | | |
674 | 676 | | |
675 | 677 | | |
676 | 678 | | |
677 | | - | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
678 | 683 | | |
679 | 684 | | |
680 | 685 | | |
681 | 686 | | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
682 | 690 | | |
683 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
684 | 697 | | |
685 | 698 | | |
686 | 699 | | |
| |||
714 | 727 | | |
715 | 728 | | |
716 | 729 | | |
| 730 | + | |
717 | 731 | | |
718 | 732 | | |
719 | 733 | | |
720 | 734 | | |
721 | 735 | | |
722 | 736 | | |
| 737 | + | |
723 | 738 | | |
724 | 739 | | |
725 | 740 | | |
| |||
756 | 771 | | |
757 | 772 | | |
758 | 773 | | |
759 | | - | |
| 774 | + | |
760 | 775 | | |
761 | 776 | | |
762 | 777 | | |
| |||
771 | 786 | | |
772 | 787 | | |
773 | 788 | | |
774 | | - | |
| 789 | + | |
775 | 790 | | |
776 | 791 | | |
777 | 792 | | |
| |||
789 | 804 | | |
790 | 805 | | |
791 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
792 | 823 | | |
793 | 824 | | |
794 | 825 | | |
| |||
903 | 934 | | |
904 | 935 | | |
905 | 936 | | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
906 | 940 | | |
907 | | - | |
908 | | - | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
909 | 947 | | |
910 | 948 | | |
911 | | - | |
912 | | - | |
913 | | - | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
914 | 958 | | |
915 | 959 | | |
916 | 960 | | |
| |||
992 | 1036 | | |
993 | 1037 | | |
994 | 1038 | | |
995 | | - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
996 | 1043 | | |
997 | 1044 | | |
998 | 1045 | | |
| |||
1384 | 1431 | | |
1385 | 1432 | | |
1386 | 1433 | | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1387 | 1500 | | |
1388 | 1501 | | |
1389 | 1502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
54 | 67 | | |
55 | 68 | | |
56 | 69 | | |
| |||
724 | 737 | | |
725 | 738 | | |
726 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
727 | 745 | | |
728 | 746 | | |
729 | 747 | | |
730 | 748 | | |
731 | 749 | | |
732 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
733 | 756 | | |
734 | 757 | | |
735 | 758 | | |
| |||
742 | 765 | | |
743 | 766 | | |
744 | 767 | | |
| 768 | + | |
745 | 769 | | |
746 | 770 | | |
747 | 771 | | |
| |||
758 | 782 | | |
759 | 783 | | |
760 | 784 | | |
761 | | - | |
| 785 | + | |
762 | 786 | | |
763 | 787 | | |
764 | 788 | | |
| |||
790 | 814 | | |
791 | 815 | | |
792 | 816 | | |
| 817 | + | |
793 | 818 | | |
794 | 819 | | |
795 | 820 | | |
| |||
801 | 826 | | |
802 | 827 | | |
803 | 828 | | |
804 | | - | |
| 829 | + | |
805 | 830 | | |
806 | 831 | | |
807 | 832 | | |
| |||
0 commit comments