diff --git a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsK/Bs2DsKConfigForCPFit.py b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsK/Bs2DsKConfigForCPFit.py index e5df40c2bed698cba888afe4c72aeb8922a1110a..d2133cdede6ab8dda74964261b2eda3616e764b5 100644 --- a/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsK/Bs2DsKConfigForCPFit.py +++ b/PhysFit/B2DXFitters/data/Bs2DsK_Run2CPV/Bs2DsK/Bs2DsKConfigForCPFit.py @@ -29,39 +29,40 @@ def getconfig(): configdict["ModLf"] = 0.372 configdict["CPlimit"] = {"upper": 4.0, "lower": -4.0} - configdict["Asymmetries"] = {"Detection": 0.0, "Production": 0.0} + configdict["Asymmetries"] = {"Detection": 0.0096, "Production": -0.0031} configdict["ConstrainsForTaggingCalib"] = False - configdict["SWeightCorrection"] = "Read" + configdict["SWeightCorrection"] = "AsymptoticallyCorrect" configdict["Resolution"] = { "20152016": { "scaleFactor": { - "p0": 0.012540524660857423, - "p1": 0.9501071535400626, + "p0": 0.0125, + "p1": 0.950, "p2": 0.0 }, "meanBias": -0.002254 }, "2017": { "scaleFactor": { - "p0": 0.00988835748159421, - "p1": 0.9547832846636067, + "p0": 0.0099, + "p1": 0.955, "p2": 0.0 }, "meanBias": -0.003047 }, "2018": { "scaleFactor": { - "p0": 0.009817949897958371, - "p1": 0.948081567596144, + "p0": 0.0098, + "p1": 0.948, "p2": 0.0 }, "meanBias": -0.002394 } } +# Todo: update ft parameters. Values here are from dspi ananote (wrong) use the values from dspi fit result configdict["TaggingCalibration"] = { "OS": { "20152016": { @@ -134,11 +135,8 @@ def getconfig(): "20152016": { "values": ## Nominal values - [ - 0.3043129941964697, 0.44504868805204145, 0.7577997680362625, - 0.9448913583239819, 1.0899894576759523, 1.3252153267737141 - ] - ## Old values + [0.304, 0.445, 0.758, 0.945, 1.090, 1.325] + # Pre March 22 values # [2.89e-01, 4.34e-01, 7.36e-01, 9.00e-01, 1.118e+00, 1.048e+00] ## Data/MC reqweighted in lap1_P and nTracks for systematic (Nov '21) #[2.85e-01, 4.29e-01, 7.53e-01, 8.88e-01, 1.128e+00, 1.031e+00] @@ -146,11 +144,8 @@ def getconfig(): "2017": { "values": ## Nominal values - [ - 0.3305747789626088, 0.46066138621386515, 0.8236844550333234, - 0.9052779194745492, 1.0741055672995243, 1.1985230134474245 - ] - ## Old values + [0.331, 0.461, 0.824, 0.905, 1.074, 1.199] + # Pre March 22 values # [3.14e-01, 4.25e-01, 7.91e-01, 8.54e-01, 1.021e+00, 1.144e+00] ## Data/MC reqweighted in lap1_P and nTracks for systematic (Nov '21) #[2.99e-01, 4.06e-01, 7.50e-01, 8.10e-01, 9.70e-01, 1.122e+00] @@ -158,11 +153,8 @@ def getconfig(): "2018": { "values": ## Nominal values - [ - 0.35810878301447274, 0.5115960479195697, 0.8268057362914051, - 0.9940292375088435, 1.1096374674990737, 1.2784045070052164 - ] - ## Old values + [0.358, 0.512, 0.827, 0.994, 1.110, 1.278] + # Pre March 22 values # [3.40e-01, 4.75e-01, 7.92e-01, 9.38e-01, 1.055e+00, 1.220e+00] ## Data/MC reqweighted in lap1_P and nTracks for systematic (Nov '21) #[3.22e-01, 4.52e-01, 7.46e-01, 8.84e-01, 9.93e-01, 1.190e+00] @@ -226,6 +218,7 @@ def getconfig(): 'aTagEff_SS_2017', 'aTagEff_SS_2018', 'aprod', + 'adet', ] # Add some name variants