From 443ad2b8a11e8b96e842770fa19e5f03bbedb4be Mon Sep 17 00:00:00 2001
From: Xingyu Tong <xingyu.tong@cern.ch>
Date: Mon, 17 Jul 2023 15:20:44 +0200
Subject: [PATCH 1/5] Update StrippingB2ppbargamma.py

---
 .../StrippingSelections/StrippingRD/StrippingB2ppbargamma.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
index 12cdf6764..740ffad0c 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
@@ -184,7 +184,7 @@ class B2ppbargammaConf(LineBuilder):
 
         _B0 = CombineParticles()
 
-        _B0.DecayDescriptors = ["[B0 -> p+ p~- gamma]cc"]
+        _B0.DecayDescriptors = ["B0 -> p+ p~- gamma"]
 
         _trkGhostProbCut = "(TRGHOSTPROB<%s)" % config['Trk_GhostProb']
         _trkChi2Cut = "(TRCHI2DOF<%s)" % config['Trk_Chi2']
-- 
GitLab


From 39ebf4931b840815a4019278be212069b79b6a37 Mon Sep 17 00:00:00 2001
From: Xingyu Tong <xingyu.tong@cern.ch>
Date: Mon, 17 Jul 2023 17:05:42 +0200
Subject: [PATCH 2/5] Update StrippingB2ppbargamma.py

---
 .../StrippingRD/StrippingB2ppbargamma.py         | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
index 740ffad0c..22ebcae96 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
@@ -60,19 +60,19 @@ default_config = {
     'BUILDERTYPE': 'B2ppbargammaConf',
     'CONFIG': {'Trk_Chi2': 4.0,
                'Trk_GhostProb': 0.4,
-               'gamma_PT_MIN': 400.0,
+               'gamma_PT_MIN': 1000.0,
                'gamma_CL_MIN': 0.25,
                'gamma_ISNOTE_MIN': -999.0,
-               'ProtonP': 15000.,  # MeV
-               'ProtonPT': 1000.,  # MeV
-               'ProtonPIDp': 0.,
-               'ProtonDLLpK': 0.,
+               'ProtonP': 5000.,  # MeV
+               'ProtonPT': 500.,  # MeV
+               'ProtonPIDp': 5.,
+               'ProtonDLLpK': 5.,
                'B0_Mlow': 779.0,
                'B0_Mhigh': 1921.0,
-               'B0_APTmin': 1900.0,
-               'B0_PTmin': 2000.0,
+               'B0_APTmin': 0.0,
+               'B0_PTmin': 0.0,
                'B0Daug_maxDocaChi2': 5.0,
-               'B0Daug_PTsum': 4000.0,
+               'B0Daug_PTsum': 0.0,
                'B0_VtxChi2': 16.0,
                'B0_Dira': 0.9990,
                'B0_IPCHI2wrtPV': 25.0,
-- 
GitLab


From ceff8005b1f8ee381ef15834c370de089981ab0d Mon Sep 17 00:00:00 2001
From: Xingyu Tong <xingyu.tong@cern.ch>
Date: Mon, 17 Jul 2023 17:06:43 +0200
Subject: [PATCH 3/5] Update StrippingB2LambdapbargammaLines.py

---
 .../StrippingB2LambdapbargammaLines.py           | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
index f53960103..b78d25e2d 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
@@ -73,11 +73,11 @@ default_config = {
     'BUILDERTYPE': 'B2LambdapbargammaLinesConf',
     'CONFIG': {'Trk_Chi2': 4.0,
                'Trk_GhostProb': 0.4,
-               'gamma_PT_MIN': 400.0,
+               'gamma_PT_MIN': 1000.0,
                'gamma_CL_MIN': 0.25,
                'gamma_ISNOTE_MIN': -999.0,
-               'ProtonP': 15000.,  # MeV
-               'ProtonPT': 1000.,  # MeV
+               'ProtonP': 5000.,  # MeV
+               'ProtonPT': 500.,  # MeV
                'ProtonPIDp': 0.,
                'ProtonDLLpK': 0.,
                'Lambda_DD_MassWindow': 20.0,
@@ -92,14 +92,14 @@ default_config = {
                'Lambda_LD_Pmin': 5000.0,
                'B0_Mlow': 779.0,
                'B0_Mhigh': 1921.0,
-               'B0_APTmin': 1900.0,
-               'B0_PTmin': 2000.0,
+               'B0_APTmin': 0.0,
+               'B0_PTmin': 0.0,
                'B0Daug_DD_maxDocaChi2': 5.0,
                'B0Daug_LL_maxDocaChi2': 5.0,
                'B0Daug_LD_maxDocaChi2': 5.0,
-               'B0Daug_DD_PTsum': 4000.0,
-               'B0Daug_LL_PTsum': 4000.0,
-               'B0Daug_LD_PTsum': 4000.0,
+               'B0Daug_DD_PTsum': 0.0,
+               'B0Daug_LL_PTsum': 0.0,
+               'B0Daug_LD_PTsum': 0.0,
                'B0_VtxChi2': 16.0,
                'B0_Dira': 0.9990,
                'B0_DD_IPCHI2wrtPV': 16.0,
-- 
GitLab


From cb3bbd8855bc97960fb986e936b96a9a8cb29c8f Mon Sep 17 00:00:00 2001
From: Xingyu Tong <xingyu.tong@cern.ch>
Date: Mon, 17 Jul 2023 17:17:36 +0200
Subject: [PATCH 4/5] Update tested rates

---
 .../StrippingRD/StrippingB2ppbargamma.py      | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
index 22ebcae96..ae4186d6b 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2ppbargamma.py
@@ -34,24 +34,24 @@ from StandardParticles import StdLooseAllPhotons as Photons
 2016:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.1850|        37|       |   5.614|
- |_StrippingSequenceStreamBhadron_                             |  0.1850|        37|       |   5.599|
- |!StrippingB2ppbargammaLine                                   |  0.1850|        37|  6.919|   4.574|
- |!StrippingB2ppbargammaLine_TIMING                            |  0.1850|        37|  6.919|   0.116|
+ |_StrippingGlobal_                                            |  0.1350|        27|       |   4.633|
+ |_StrippingSequenceStreamBhadron_                             |  0.1350|        27|       |   4.623|
+ |!StrippingB2ppbargammaLine                                   |  0.1350|        27|  3.259|   3.905|
+ |!StrippingB2ppbargammaLine_TIMING                            |  0.1350|        27|  3.259|   0.077|
 2017:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.2650|        53|       |   6.750|
- |_StrippingSequenceStreamBhadron_                             |  0.2650|        53|       |   6.731|
- |!StrippingB2ppbargammaLine                                   |  0.2650|        53|  7.434|   5.576|
- |!StrippingB2ppbargammaLine_TIMING                            |  0.2650|        53|  7.434|   0.135|
+ |_StrippingGlobal_                                            |  0.1650|        33|       |   5.633|
+ |_StrippingSequenceStreamBhadron_                             |  0.1650|        33|       |   5.619|
+ |!StrippingB2ppbargammaLine                                   |  0.1650|        33|  2.970|   4.801|
+ |!StrippingB2ppbargammaLine_TIMING                            |  0.1650|        33|  2.970|   0.086|
 2018:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.3900|        78|       |   7.111|
- |_StrippingSequenceStreamBhadron_                             |  0.3900|        78|       |   7.096|
- |!StrippingB2ppbargammaLine                                   |  0.3900|        78|  6.308|   5.918|
- |!StrippingB2ppbargammaLine_TIMING                            |  0.3900|        78|  6.308|   0.133|
+ |_StrippingGlobal_                                            |  0.1550|        31|       |   5.934|
+ |_StrippingSequenceStreamBhadron_                             |  0.1550|        31|       |   5.922|
+ |!StrippingB2ppbargammaLine                                   |  0.1550|        31|  3.226|   5.093|
+ |!StrippingB2ppbargammaLine_TIMING                            |  0.1550|        31|  3.226|   0.110|
 '''
 
 default_config = {
-- 
GitLab


From fac5d4bae96353c5f535412934daa78c5ba8950b Mon Sep 17 00:00:00 2001
From: Xingyu Tong <xingyu.tong@cern.ch>
Date: Mon, 17 Jul 2023 17:22:12 +0200
Subject: [PATCH 5/5] Update tested rates

---
 .../StrippingB2LambdapbargammaLines.py        | 48 +++++++++----------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
index b78d25e2d..2cf5cc803 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LambdapbargammaLines.py
@@ -35,36 +35,36 @@ from StandardParticles import StdLooseAllPhotons as Photons
 2016:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.3700|        74|       |   5.630|
- |_StrippingSequenceStreamBhadron_                             |  0.3700|        74|       |   5.620|
- |!StrippingB2LambdapbargammaDDLine                            |  0.0950|        19|  2.842|   3.515|
- |!StrippingB2LambdapbargammaLLLine                            |  0.2300|        46|  3.609|   0.785|
- |!StrippingB2LambdapbargammaLDLine                            |  0.0550|        11|  2.545|   0.611|
- |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.0950|        19|  2.842|   0.045|
- |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.2300|        46|  3.609|   0.049|
- |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.0550|        11|  2.545|   0.033|
+ |_StrippingGlobal_                                            |  0.4350|        87|       |   6.131|
+ |_StrippingSequenceStreamBhadron_                             |  0.4350|        87|       |   6.119|
+ |!StrippingB2LambdapbargammaDDLine                            |  0.0900|        18|  1.611|   3.799|
+ |!StrippingB2LambdapbargammaLLLine                            |  0.2800|        56|  1.661|   0.911|
+ |!StrippingB2LambdapbargammaLDLine                            |  0.0700|        14|  1.500|   0.644|
+ |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.0900|        18|  1.611|   0.047|
+ |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.2800|        56|  1.661|   0.058|
+ |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.0700|        14|  1.500|   0.035|
 2017:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.4750|        95|       |   6.796|
- |_StrippingSequenceStreamBhadron_                             |  0.4750|        95|       |   6.787|
- |!StrippingB2LambdapbargammaDDLine                            |  0.1700|        34|  2.971|   4.221|
- |!StrippingB2LambdapbargammaLLLine                            |  0.2500|        50|  3.380|   1.016|
- |!StrippingB2LambdapbargammaLDLine                            |  0.0600|        12|  2.833|   0.756|
- |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.1700|        34|  2.971|   0.058|
- |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.2500|        50|  3.380|   0.052|
- |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.0600|        12|  2.833|   0.035|
+ |_StrippingGlobal_                                            |  0.5650|       113|       |   7.367|
+ |_StrippingSequenceStreamBhadron_                             |  0.5650|       113|       |   7.356|
+ |!StrippingB2LambdapbargammaDDLine                            |  0.1800|        36|  1.528|   4.564|
+ |!StrippingB2LambdapbargammaLLLine                            |  0.3050|        61|  1.721|   1.121|
+ |!StrippingB2LambdapbargammaLDLine                            |  0.0950|        19|  1.684|   0.788|
+ |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.1800|        36|  1.528|   0.056|
+ |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.3050|        61|  1.721|   0.061|
+ |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.0950|        19|  1.684|   0.041|
 2018:
 StrippingReport                                                INFO Event 20000, Good event 20000
  |                                              *Decision name*|*Rate,%*|*Accepted*| *Mult*|*ms/evt*|
- |_StrippingGlobal_                                            |  0.5200|       104|       |   7.167|
- |_StrippingSequenceStreamBhadron_                             |  0.5200|       104|       |   7.157|
- |!StrippingB2LambdapbargammaDDLine                            |  0.1600|        32|  3.000|   4.449|
- |!StrippingB2LambdapbargammaLLLine                            |  0.2950|        59|  3.085|   1.109|
- |!StrippingB2LambdapbargammaLDLine                            |  0.0750|        15|  1.600|   0.774|
- |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.1600|        32|  3.000|   0.061|
- |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.2950|        59|  3.085|   0.057|
- |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.0750|        15|  1.600|   0.045|
+ |_StrippingGlobal_                                            |  0.6600|       132|       |   7.870|
+ |_StrippingSequenceStreamBhadron_                             |  0.6600|       132|       |   7.855|
+ |!StrippingB2LambdapbargammaDDLine                            |  0.2000|        40|  1.450|   4.869|
+ |!StrippingB2LambdapbargammaLLLine                            |  0.3600|        72|  1.694|   1.227|
+ |!StrippingB2LambdapbargammaLDLine                            |  0.1250|        25|  1.240|   0.828|
+ |!StrippingB2LambdapbargammaDDLine_TIMING                     |  0.2000|        40|  1.450|   0.051|
+ |!StrippingB2LambdapbargammaLLLine_TIMING                     |  0.3600|        72|  1.694|   0.055|
+ |!StrippingB2LambdapbargammaLDLine_TIMING                     |  0.1250|        25|  1.240|   0.043|
 '''
 
 default_config = {
-- 
GitLab