Run13 W stream P14ia runQA summary (period 1)

Here is the summary of run13 W stream P14ia pp500 production, period I, before day 128.  We have two separate streams, L2BW and L2EW. Run QA are also done separately 

runlist get from catalog: 1011 runs totally.  Here is the luminosity tracking by Jamie. BHT3*L2BW  and  EHT1*L2EW . 
columns are : Run,  Seconds since Dec 31, 2012 00:00 for run start, Seconds since Dec. 31, 2012 00:00 for run end, Integrated luminosity, prescale, livetime from TCU, base trigger for luminosity monitoring, livetime of the base trigger, P^2 L, P^4 L

 get_file_list.pl -cond "filetype=daq_reco_MuDst,filename~st_W,production=P14ia,trgsetupname=pp500_production_2013,storage=local" -keys "orda(runnumber)" -distinct -limit 0  > runlist.txt 

 
1) Run 14084063 has sanity=0, no MuDst files on disk. Removed it from runlist. 

2) 48 runs which lasted for less than 3 mins are treated as bad runs, will not be used for physics. Remove them from runlist. Luminosity is negligible. 

3) At the beginning of run 13, couples of runs had used test trigger ID. Runs (14 for L2BW ,20 for L2EW) with test trigger ID will be never used for physics analysis, Removed them from runlist.  Jamie didn't record the luminosity for test trigger ID runs. 

4) a.  5 runs have no L2EW trigger and no EEMC included. 
    b.  14 runs have EEMC included but have no EEMC information. 
These runs can't be used in Endcap analysis. And will increase the background in Barrel. Remove them from both runlists. 

5) ESMD is used for energy isolation and background reduction. Runs without the ESMD included should be removed from L2EW runlist. They are mainly at the beginning of run13. Here is the runlist.  

6) Several runs with only very few L2EW events, <100. Removed them. 

7) During day 96-98, 30% channels of EEMC was OFF.  Runs with less coverage at Endcap still should be good to be used. But we should be careful with them. Here is the runlist.  During day 99, the 30%-off EEMC channels was fixed. But the emsd still hot at that region.  We can just mask those channel out and put them in the same list with 30%-off. 

8) During day 100, 4 runs were taken with TPC gas issue.  Their dE/dx distribution looked different with the other runs. Just removed them for safty. 

9) During day 85, fill 17281, the Vertex Z distribution had 10 cm shift from 0.  We still have not found any clues for this. (Gene helpped to look into some details. Also, I asked Jeff about the possible trigger bias and have sent email to Drees to ask the beam performance. waitting for response.). So far, all the detector perfomed well. So, we can keep them in question runlist and pay a little more attention.

10) When we did the manually QA run by run ( link to Devika's drupal page) , we found a lot of anormal daq rate plots. Here is the list for the runs which were marked as "Tr", trgger rate issue.  Some runs are extremely bad. Just removed them. But most of them have a flat region. If we haven't found any other clues on detector preformance, we should not directly remove them.  Let's keep them in a separate list and analysis them more carefully. If everything looks well in the analysis, we can keep them in our final result. 

 Here are some examples: 

> Several dead TPC regions
http://online.star.bnl.gov/daq/export/timeline.php?run=14076042

> dead time 100% at the end, run stopped due to subsystem errors
http://online.star.bnl.gov/daq/export/timeline.php?run=14099029

> dead time 100% at the beginning
http://online.star.bnl.gov/daq/export/timeline.php?run=14101044

> dead time at both begin and end
http://online.star.bnl.gov/daq/export/timeline.php?run=14101060

> dead time at the middle
http://online.star.bnl.gov/daq/export/timeline.php?run=14101068

> dead time spikes
http://online.star.bnl.gov/daq/export/timeline.php?run=14101062

> dead time at half of the run
http://online.star.bnl.gov/daq/export/timeline.php?run=14102037

> changed at the end
http://online.star.bnl.gov/daq/export/timeline.php?run=14104050

> at the end, high rate but 90% dead
http://online.star.bnl.gov/daq/export/timeline.php?run=14104052

> changed once
http://online.star.bnl.gov/daq/export/timeline.php?run=14104053

> wave
http://online.star.bnl.gov/daq/export/timeline.php?run=14111014

> slop and step
http://online.star.bnl.gov/daq/export/timeline.php?run=14119052

Below are the runs (33) excluded in steps 4- 10. 
L2BW: 4.1 pb-1  / 126.4 pb-1  3.2%

Fill# Run# Issues Luminosity
17241 14077010 baddaq,exclude 0
17253 14080017 NoL2EW,exclude 0.0456
17253 14080018 NoL2EW,exclude 0.1548
17253 14080019 NoL2EW,exclude 0.0242
17253 14080036 NoL2EW,exclude 0.0157
17253 14080037 NoL2EW,exclude 0.1202
17269 14083042 baddaq,exclude 0.0069
17276 14084062 Baddaq,exclude 0.051
17276 14084063 NoMuDst,exclude 0.0755
17293 14087004 NoEtower,exclude 0.2328
17293 14087005 NoEtower,exclude 0.1157
17293 14087019 NoEtower,exclude 0.0266
17293 14087022 NoEtower,exclude 0.1681
17293 14087024 NoEtower,exclude 0.0526
17318 14093013 LowCounts,exclude 0.0295
17328 14095009 EEMCissue,exclude 0.0527
17352 14100018 TPCgas,exclude 0.1632
17352 14100021 TPCgas,exclude 0.1637
17352 14100022 TPCgas,exclude 0.1584
17352 14100027 TPCgas,exclude 0.0923
17380 14104053 NoEtower,exclude 0.3766
17382 14104059 NoEtower,exclude 0.3843
17382 14104060 NoEtower,exclude 0.0708
17382 14104061 NoEtower,exclude 0.2854
17382 14104062 NoEtower,exclude 0.2731
17382 14104063 NoEtower,exclude 0.0785
17382 14105001 NoEtower,exclude 0.1859
17382 14105002 NoEtower,exclude 0.2193
17403 14109054 baddaq,exclude 0.0228
17434 14118051 NoEtower,exclude 0.3159
17434 14118052 NoEtower,exclude 0.0963
17434 14118062 REMOVE,BAD 0
17452 14123038 Baddaq,exclude 0.0096

 
L2EW:  7.32 pb-1  /126.2 pb-1   5.8%  (69runs) 

Fill# Run# Issues luminosity
17240 14076067 NoESMD,excluded 0.0743
17240 14076068 NoESMD,excluded 0.0146
17240 14076071 NoESMD,excluded 0.1975
17240 14076072 NoESMD,excluded 0.0357
17240 14076073 NoESMD,excluded 0.1058
17240 14076075 NoESMD,excluded 0.1515
17240 14076081 NoESMD,excluded 0.0737
17240 14076082 NoESMD,excluded 0.0274
17240 14076083 NoESMD,excluded 0.0273
17240 14076084 NoESMD,excluded 0.0343
17240 14076085 NoESMD,excluded 0.0638
17240 14076086 NoESMD,excluded 0.1919
17240 14076087 NoESMD,excluded 0.1537
17240 14076088 NoESMD,excluded 0.0151
17240 14077001 NoESMD,excluded 0.1041
17241 14077004 NoESMD,excluded 0.0397
17241 14077005 NoESMD,excluded 0.155
17241 14077006 NoESMD,excluded 0.1594
17241 14077007 NoESMD,excluded 0.0636
17241 14077008 NoESMD,excluded 0.1616
17241 14077009 NoESMD,excluded 0.1584
17241 14077010 NoESMD,excluded 0
17241 14077011 NoESMD,excluded 0.0244
17241 14077012 NoESMD,excluded 0.019
17241 14077013 NoESMD,excluded 0.111
17241 14077015 NoESMD,excluded 0.1456
17241 14077016 NoESMD,excluded 0.1459
17241 14077017 NoESMD,excluded 0.1413
17241 14077018 NoESMD,excluded 0.1474
17241 14077019 NoESMD,excluded 0.1373
17241 14077020 NoESMD,excluded 0.1298
17241 14077021 NoESMD,excluded 0.0243
17247 14078016 NoESMD,excluded 0.1414
17247 14078017 NoESMD,excluded 0.0718
17253 14080017 NoL2EW,exclude 0.0456
17253 14080018 NoL2EW,exclude 0.1548
17253 14080019 NoL2EW,exclude 0.0242
17253 14080036 NoL2EW,exclude 0.0157
17253 14080037 NoL2EW,exclude 0.1202
17269 14083042 Baddaq,exclude 0.0069
17276 14084062 Baddaq,exclude 0.051
17276 14084063 NoMuDst,eclude 0.0755
17293 14087004 NoEtow,exclude 0.2328
17293 14087005 NoEtow,exclude 0.1157
17293 14087019 NoEtow,exclude 0.0266
17293 14087022 NoEtow,exclude 0.1681
17293 14087024 NoEtow,exclude 0.0526
17318 14093013 LowCounts,eclude 0.0295
17328 14095009 EEMCissue,eclude 0.0527
17352 14100018 TPCgas,exclude 0.1632
17352 14100021 TPCgas,exclude 0.1637
17352 14100022 TPCgas,exclude 0.1584
17352 14100027 TPCgas,exclude 0.0923
17367 14102029 EEMChole,eclude 0.224
17382 14104059 NoEtow,exclude 0.3843
17382 14104060 NoEtow,exclude 0.0708
17382 14104061 NoEtow,exclude 0.2854
17382 14104062 NoEtow,exclude 0.2731
17382 14104063 NoEtow,exclude 0.0785
17382 14105001 NoEtow,exclude 0.1859
17382 14105002 NoEtow,exclude 0.2193
17403 14109054 Baddaq,exclude 0.0228
17431 14117048 LowCounts,eclude 0.0028
17431 14117052 LowCounts,eclude 0.0091
17434 14118051 NoEtow,exclude 0.3159
17434 14118052 NoEtow,exclude 0.0963
17434 14118062 REMOVE,BAD 0
17436 14119027 LowCounts,eclude 0.063
17452 14123038 Baddaq,exclude 0.0096

Finally, the good runlist for L2BW 938runs 125.7pb-1 (updated, 8/11/14) ( L2BW 122.3 pb-1old version) and L2EW 876runs 118.9pb-1 (updated, 8/11/14) (L2EW 118.5 pb-1old version) 

Additionally, we have a question list containing runs which were mentioned above, iterm 7, 9, 10. 

------------------------------------------------------------------------------------------------------------------------
Note: August 11, 2014
Finalize the runlist with Devika

1. The runs without EEMC have been included again, put them in the question list.  So, the runs with " NoEtow, exclude in the first table for L2BW should be go into question list. 

2. The runs with TPC gas issue were also included into the question list. 

3. remove run 14077004, which was taked before CAD declare physics. 

===============EMBEDDING=================
With the new runlist, the embedding list is also updated, as well,  the zerobias daq file request list from hpss