04 testing eta-dependent spin sorting (A)

Under:

I'll test here macro computing asymmetry .

  1.  Generate high statistic M-C sample to verify the simultaneously reco AL and ALL do not interefere. Below you see reco SSA, DSA for 100k events per STAR eta bin, pol=0.6 for both beams. The red and green lines overlayed on data points show AL and ALL used by event generator. It agrees good enough. 
    Fig 1.

    ******* W(eta) summary for charge=P  INPUT=run12toySetB *********
    lumi-corrections:  0.968, 0.997, 1.009, 1.027,  applied
    star-bin, sum , yield ++ +- -+ --  ,  1/sqrt(sum)
    1  100000, 34711  18631  33511  13674  ,  0.003
    2  100000, 40620  19145  21934  18976  ,  0.003
    3  100000, 40366  22088  19301  18945  ,  0.003
    4  100000, 34876  33862  18369  13606  ,  0.003
    5   20000,  5776   7370   3747   3199  ,  0.007
    6   20000,  3970   7333   4181   4510  ,  0.007
    7   40000,  9746  14703   7928   7709  ,  0.005
    8  400000, 150574  93726  93116  65202  ,  0.002
    Spin results: pol1=0.60  pol2=0.60
    polBeam-bin, events, *** AL ***,sig*sqrt(M)
    10   40000   -0.197 +/- 0.009  nSig=22.0 ,  1.79
    11   20000   -0.308 +/- 0.013  nSig=24.2 ,  1.80
    12   20000   -0.087 +/- 0.012  nSig=7.3 ,  1.68
    13  200000   0.099 +/- 0.004  nSig=25.3 ,  1.75
    14  200000   0.310 +/- 0.005  nSig=59.4 ,  2.33
    15  200000   0.403 +/- 0.006  nSig=66.7 ,  2.70
    16  200000   0.602 +/- 0.008  nSig=75.0 ,  3.59
    17   20000   0.514 +/- 0.014  nSig=36.3 ,  2.00
    18   20000   0.218 +/- 0.012  nSig=17.8 ,  1.73
    19   40000   0.366 +/- 0.010  nSig=35.9 ,  2.04
    20  400000   0.353 +/- 0.006  nSig=56.2 ,  3.97
    polBeam-bin, events,*** ALL *** ,sig*sqrt(M)
    15  200000   0.503 +/- 0.009  nSig=58.5 ,  3.84
    16  200000   -0.104 +/- 0.006  nSig=16.4 ,  2.83
    17   20000   -0.296 +/- 0.020  nSig=14.7 ,  2.85
    18   20000   -0.422 +/- 0.021  nSig=20.4 ,  2.93
    19   40000   -0.359 +/- 0.015  nSig=23.8 ,  3.01
    20  400000   0.200 +/- 0.006  nSig=36.0 ,  3.50
    polBeam-bin, events, *** NULL ***  
    15  200000   0.000 +/- 0.009  nSig=0.0 
    16  200000   0.002 +/- 0.006  nSig=0.4 
    17   20000   0.180 +/- 0.020  nSig=8.9 
    18   20000   0.158 +/- 0.021  nSig=7.6 
    19   40000   0.169 +/- 0.015  nSig=11.2 
    20  400000   0.002 +/- 0.006  nSig=0.3 
    ******* end ************** charge=P  ********