runList_Selection_criteria_for_Run-13_Final_Production

                 Step  ONE : Obtain the run Information from online RunLog server
Source:  http://online.star.bnl.gov/RunLogRun13/

Filtering statges Trg SetUP Magnetic Field  clock source # of runs runs included(% to the all runs)
all all all all  11531  
pp @ 500 GeV all all all  11531  
pp @ 500 GeV Production trigges only all all  3625  31.4 %
pp @ 500 GeV Production trigges only all  RHIC clock  3624  31.4 %
pp @ 500 GeV  pp500_production_2013 +
pp500_production_2013_noendcap
 all  RHIC clock  2959+119=3078  26.7 %
pp @ 500 GeV  pp500_production_2013 +
pp500_production_2013_noendcap
 Rff(B, -1)  RHIC clock  2937+119=3056  26.5 %

Table 1

-------------------
We are only interested in runs at the last filtering stage. At this stage there are Total 3056  runs:

From this total 3056 runs ,  we need to get a run List of  runs where the  run time > 180 s and shift leader status successfull or questionable.
In other words we will exclude  all the junk/bad runs and runs where the  run time <180 s.

--------------------------------------------------

Now , to get the List of runs that satisfies our conditions we used the well known script "loopMainAll.tcl".
This script access the mysql DB and produce a run list according to the conditions we specify.

 
STEP 2: 
source : STAR DB

category  Are we Interested ??  runDuration trgSetupName shiftLeaderStatus rtsStatus # of  runs  as a % to the  last stage of table 1 (3056 runs)
A NO



pp500_production_2013 && 
pp500_production_2013_noendcap
-1  (Junk) * 2 219  
B yes   
 

 >= 180 s

 
 
 

pp500_production_2013   0   (Successfull) 0  1846   60.4 %
C yes pp500_production_2013   1   (Questionable) 0 466   15.2 %
D No  pp500_production_2013  2   (bad) 0 45  
E yes  pp500_production_2013_noendcap 0   (Successfull)   0  63   2.1 %
F yes  pp500_production_2013_noendcap  1   (Questionable)  0  23   0.8 %
G No  pp500_production_2013_noendcap  2   (bad)  0 1  
H No   
 
              =< 180 s
 
 
 
pp500_production_2013 0   (Successfull)   0 130  
I No  pp500_production_2013  0   (Questionable)   0  116  
J No  pp500_production_2013  2   (bad)  0  128  
K No  pp500_production_2013_noendcap  0   (Successfull)   0  15  
L No  pp500_production_2013_noendcap  1   (Questionable)  0  3  
M No  pp500_production_2013_noendcap  2   (bad)  0  1  
Table 2 

* in the online server "junk" and "bad" runs are both same. But in the DB they use diffetrent  "rtsStatus" codes.

 all bad runs :   12.9 %
 all runs  run time < 180 s  =:  12.8 %
 all "YES" runs : = 79 % 

************************************************************

********As a cross check ( script output to online database) if you add all the runs  of catogory A-M in table 2 you will get the number 3056 in the last stage of the table 1.

Runs we are interested in producing,  are the runs in  catogories  B,C,E and F:   Total runs :  2398

*******************************************************************
Now we imply our minimum requirements on above 2398 runs as follows:

requirement # of runs failed the conditions
minimun sub system  = tpx,emc  3  
   
other :  tpc scaler issues:   4
other :  tpc communication issues  78 

--------------

Even though we have a very well QA'd data base we will impose only above requirements on selecting runs for the final production. Once we will have the MuDst, then we will use our QA'd database for further offline  QA.

Now we have  2398 - (3+4+78) =    2313 runs for  the final  production.  

 

---------------

Among these :

Period 1:  before( and including) Day 128 contains 1284 runs   and  Period 2 :  after Day 128 contains  1029  runs.

to be more specific:

Period Priority level Description # of runs # of runs with ( >10)  triggered events EHT1*L2W            BHT3*L2W
1 First "pp500_production_2013" && " Successfull"     986 975                        983 
1 Second "pp500_production_2013_noendcap" && "Successfull"    28      0                          28   
1 Third "pp500_production_2013" && "pp500_production_2013_noendcap" && "Questionable"       270 248                        268
2 First "pp500_production_2013" && " Sucessfull"   791 761                        777 
2 Second "pp500_production_2013_noendcap" && "Successfull"    33                       0                           33
2 Third "pp500_prodcution_2013" && "pp500_production_2013_noendcap" && "Questionable"   205                    185                         203