- pagebs's home page
- Posts
- 2017
- June (1)
- 2016
- 2015
- 2014
- December (2)
- November (1)
- October (2)
- September (4)
- August (1)
- July (2)
- June (2)
- May (3)
- April (2)
- March (2)
- February (2)
- January (1)
- 2013
- November (1)
- October (3)
- September (2)
- August (3)
- July (4)
- June (4)
- May (2)
- April (2)
- March (2)
- February (4)
- January (2)
- 2012
- December (2)
- November (3)
- October (2)
- September (1)
- August (3)
- July (3)
- June (6)
- May (2)
- April (3)
- March (3)
- February (2)
- January (2)
- 2011
- December (2)
- November (1)
- October (7)
- September (3)
- August (2)
- July (5)
- June (2)
- May (2)
- April (4)
- March (2)
- January (1)
- 2010
- December (2)
- October (4)
- September (1)
- August (4)
- July (1)
- June (2)
- May (2)
- March (4)
- February (2)
- January (2)
- 2009
- December (1)
- November (2)
- October (1)
- September (2)
- August (1)
- July (2)
- June (1)
- May (2)
- April (2)
- March (1)
- February (1)
- January (6)
- 2008
- My blog
- Post new blog entry
- All blogs
2009 Spin QA: 200GeV
2009 Spin QA: 200GeV
On this page I detail the procedure used for doing the spin QA. I also list the steps I have taken to fix fills that had inconsistent spin data in the cdev database.
Method:
First, I query the cdev database and compile a list of runs (runlist) spanning a desired time range. This is done with the script loopMainAll.tcl. This script records the fill number, trigger setup name, shift status, which detectors where in, as well as several trigger quantities for each run. The script automatically excludes runs less than a minute as well as runs with certain trigger setup names (ie runs containing ped or pulse).
After the runlist is generated, it is analyzed using the script spbitSeeker.tcl which collects information about each fill, including start/stop times, number of runs in the fill, number of bunches, and spin bunch pattern. For each fill, the script also records the spin bunch pattern for the first and last run and puts them in seperate files.
Finally, a script called begEndComp.tcl is run, which compares the spin patter in the first and last run of each fill. It is assumed that the spin bunch pattern is stable throughout the course of a fill, so if the patterns match in the first and last run, the fill is considered to have a known bunch pattern and is put in the good list. If, however, the patterns do not match, the fill is flaged and put into the bad list. I then take a closer look at each fill on the bad list. Using a combination of runlog entries, RICH scalar information, and cdev queries, I try to determine which runs are causing the spin pattern mismatch. I then remove those runs from the runlist manually and repeat steps two and three until all fills have consistent spin bunch patterns.
The original runlist I generated spanning Fill 10637 through Fill 11016 (4/21/09 - 6/30/09) is here.
The list of fills with consistent spin data in the first and last run is here.
The list of fills with inconsistent spin data in the first and last run is here.
Note: In the description of the spin bunch pattern some spaces contain the letter 'e' or 'c'. These occur only when the number of bunches is less than 100. An 'e' was used if the bunch(modulo 8) was consistently empty while a 'c' was used if a bunch(modulo 8) was filled more than once but with different spin states. These fills should not be placed with fills with patterns P1-P4 for systematic purposes. For more detail see Jim's 2006 spin pattern page.
Due to the large number of bad fills (~80) I have broken the bad fills into 4 groups based on type of error. In the first group I remove all bad fills containing two or fewer runs. In the second group I fix the fills having the error code *fe. In the third group I fix the fills having the error code *fb. In the last group I fix the bad fills which had no error code (as well as one fill with error code *s).
Group 1:
Table 1: This table contains the runs I had to remove from group 1 to get a consistent spin pattern. Also listed are fill number, run type, and status.
Fill | Run | Type | Status |
F10672 | 10118074 | chris_090428 | Questionable |
F10929 | 10166006 | fmsSetupProd3 | Successful |
F10950 | 10168055 | zdc_polarimetry | Successful |
F10974 | 10175021 | fmsSetupProd3 | Successful |
F11016 | 10180059 | pp2pp_Random | Successful |
F10691 | 10123028 | fmsSetupProd3 | Successful |
F10721 | 10130019 | fmsSetupProd3 | Successful |
10130024 | fmsSetupProd3 | Successful | |
F10747 | 10134075 | fmsSetupProd3 | Successful |
F10750 | 10135031 | fmsSetupProd3 | Successful |
10135032 | fmsSetupProd3 | Successful | |
F10804 | 10148058 | fmsSetupProd3 | Questionable |
F10807 | 10149039 | fmsSetupProd3 | Successful |
F10823 | 10151018 | fmsSetupProd3 | Successful |
F10832 | 10152067 | fmsSetupProd3 | Bad |
10152068 | fmsSetupProd3 | Questionable | |
F10853 | 10154040 | fmsSetupProd3 | Successful |
10154041 | fmsSetupProd3 | Successful | |
F10867 | 10156067 | fmsSetupProd3 | Successful |
F10871 |
10157030 | fmsSetupProd3 | Successful |
10157036 | zdc_polarimetry | Successful | |
F10927 | 10165059 | fmsSetupProd3 | Successful |
10165065 | fmsSetupProd3 | Successful | |
F10933 | 10167002 | fmsSetupProd3 | Questionable |
F10958 | 10171002 | fmsSetupProd3 | Successful |
F10965 | 10173001 | fmsSetupProd3 | Successful |
F10988 | 10176041 | fmsSetupProd3 | Successful |
F10996 | 10177029 | fmsSetupProd3 | Successful |
10177030 | pp2pp_Random | Successful | |
F11007 | 10180037 | fmsSetupProd3 | Successful |
Group 2:
Table 2: This table contains the runs I had to remove from group 2 to get a consistent spin pattern. Also listed are fill number, run type, and status.
Fill | Run | Type | Status |
F10708 | 10127016 | fmsSetupProd3 | Successful |
F10763 | 10139021 | zdc_polarimetry | Successful |
10139022 | fmsSetupProd3 | Successful | |
F10967 | 10173019 | fmsSetupProd3 | Successful |
Group 3:
Table 3: This table contains the runs I had to remove from group 3 to get a consistent spin pattern. Also listed are fill number, run type, and status.
Fill | Run | Type | Status |
F10685 | 10121004 | fmsSetupProd3 | Questionable |
10121005 | fmsSetupProd3 | Questionable | |
10121007 | fmsSetupProd3 | Questionable | |
F10709 | 10127017 | fmsSetupProd3 | Successful |
F10714 | 10129012 | fmsSetupProd3 | Successful |
F10715 | 10129020 | fmsSetupProd3 | Successful |
F10730 | 10131060 | fmsSetupProd3 | Successful |
10131061 | fmsSetupProd3 | Successful | |
F10754 | 10136005 | fmsSetupProd3 | Successful |
10136006 | fmsSetupProd3 | Questionable | |
10136041 | prod2009_200Gev_single | Successful | |
10136042 | prod2009_200Gev_single | Successful | |
10136044 | zdc_polarimetry | Successful | |
10136045 | fmsSetupProd3 | Successful | |
F10755 | 10136046 | fmsSetupProd3 | Successful |
F10756 | 10136083 | fmsSetupProd3 | Successful |
F10764 | 10139023 | fmsSetupProd3 | Successful |
F10774 | 10141040 | fmsSetupProd3 | Successful |
10141041 | fmsSetupProd3 | Successful | |
10141049 | prod2009_200Gev_single | Successful | |
F10782 | 10143032 | fmsSetupProd3 | Successful |
F10783 | 10143070 | fmsSetupProd3 | Successful |
10144005 | zdc_polarimetry | Successful | |
10144006 | fmsSetupProd3 | Bad | |
10144008 | fmsSetupProd3 | Successful | |
F10784 | 10144014 | fmsSetupProd3 | Successful |
F10791 | 10146059 | fmsSetupProd3 | Questionable |
10146093 | zdc_polarimetry | Successful | |
F10813 | 10149082 | fmsSetupProd3 | Successful |
F10850 | 10153119 | fmsSetupProd3 | Successful |
10153120 | fmsSetupProd3 | Questionable | |
10154004 | zdc_polarimetry | Successful | |
F10852 | 10154013 | fmsSetupProd3 | Successful |
F10855 | 10154076 | fmsSetupProd3 | Successful |
10154079 | fmsSetupProd3 | Successful | |
10155024 | fmsSetupProd3 | Successful | |
F10877 | 10158025 | fmsSetupProd3 | Successful |
10158066 | fmsSetupProd3 | Successful | |
F10878 | 10158067 | fmsSetupProd3 | Successful |
F10881 | 10159025 | fmsSetupProd3 | Successful |
F10890 | 10160087 | fmsSetupProd3 | Successful |
F10920 | 10164004 | fmsSetupProd3 | Successful |
F10926 | 10165030 | fmsSetupProd3 | Questionable |
10165031 | fmsSetupProd3 | Questionable | |
10165032 | fmsSetupProd3 | Questionable | |
F10953 | 10169055 | fmsSetupProd3 | Successful |
F10956 | 10170068 | fmsSetupProd3 | Bad |
10170069 | fmsSetupProd3 | Successful | |
F10960 | 10171026 | prod2009_200Gev_single | Successful |
10171050 | fmsSetupProd3 | Successful | |
F10964 | 10172068 | fmsSetupProd3 | Successful |
F10972 | 10174059 | fmsSetupProd3 | Successful |
10174085 | fmsSetupProd3 | Successful | |
F10987 | 10176010 | fmsSetupProd3 | Successful |
F11004 | 10179049 | fmsSetupProd3 | Successful |
F11005 | 10179079 | fmsSetupProd3 | Successful |
Group 4:
Table 4: This table contains the runs I had to remove from group 4 to get a consistent spin pattern. Also listed are fill number, run type, and status.
Fill | Run | Type | Status |
F10642 | 10112016 | zdc_polarimetry | Successful |
10112017 | zdc_polarimetry | Successful | |
F10651 | 10114005 | zdc_polarimetry | Successful |
F10688 | 10122033 | prod2009_200Gev_Lo | Successful |
F10695 | 10124028 | zdc_polarimetry | Successful |
10124029 | fmsSetupProd3 | Questionable | |
F10758 | 10137010 | fmsSetupProd3 | Successful |
F10765 | 10139094 | fmsSetupProd3 | Successful |
F10778 | 10142065 | fmsSetupProd3 | Successful |
F10781 | 10143031 | zdc_polarimetry | Successful |
F10785 | 10144101 | zdc_polarimetry | Successful |
F10790 | 10146001 | fmsSetupProd3 | Successful |
F10825 | 10151050 | prod2009_200Gev_single | Successful |
10151052 | fmsSetupProd3 | Successful | |
F10864 | 10156015 | fmsSetupProd3 | Bad |
10156017 | fmsSetupProd3 | Successful | |
F10869 | 10157007 | fmsSetupProd3 | Successful |
F10875 | 10158006 | fmsSetupProd3 | Successful |
F10889 | 10160086 | fmsSetupProd3 | Successful |
F10924 | 10164048 | fmsSetupProd3 | Successful |
10165002 | fmsSetupProd3 | Successful | |
F10925 | 10165029 | fmsSetupProd3 | Questionable |
F10954 | 10170031 | fmsSetupProd3 | Successful |
F10955 | 10170067 | fmsSetupProd3 | Successful |
F10962 | 10172024 | prod2009_200Gev_single | Successful |
10172025 | prod2009_200Gev_single | Successful | |
10172026 | prod2009_200Gev_single | Successful | |
10172027 | prod2009_200Gev_single | Successful | |
10172028 | prod2009_200Gev_single | Successful | |
F10963 | 10172066 | fmsSetupProd3 | Successful |
F10969 | 10173067 | fmsSetupProd2 | Successful |
10174006 | fmsSetupProd3 | Successful |
Summary:
In total, 80 fills started with inconsistent spin information. I had to remove 122 runs to fix the fills.
- 95 runs were fmsSetupProd runs. These runs often came before beam was injected and so had undefined spin patterns
- 13 runs were zdc_polarimetry runs. The zdc_pol runs which were bad often came very close to injection or beam dump.
- 11 runs were production runs. More effort should go into understanding why these runs had bad spin pattern information
- The last three runs were pp2pp or test runs.
The final runlist after the corrections listed above can be found here.
The final list of fills with consistent spin data can be found here.
All fills have been fixed, so there is no list of bad fills.
- pagebs's blog
- Login or register to post comments