From 1a3e380a58c63a9eef5810d3885672615d17d7b3 Mon Sep 17 00:00:00 2001
From: ngrieser <ngrieser@cern.ch>
Date: Sat, 15 Jul 2023 18:04:38 +0200
Subject: [PATCH] Update isolation in StrippingB2LLXBDTSS.py

---
 .../StrippingRD/StrippingB2LLXBDTSS.py        | 50 +++++++++----------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LLXBDTSS.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LLXBDTSS.py
index c65e63406..0453e13d3 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LLXBDTSS.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingB2LLXBDTSS.py
@@ -29,40 +29,40 @@ __all__ = (
 daughter_locations = {
     # OPPOSITE SIGN
     # 3-body
-    "[Beauty -> ^X+  (X0 ->  l+  l+)]CC" : "{0}H",
-    "[Beauty ->  X+  (X0 -> ^l+  l+)]CC" : "{0}L1",
-    "[Beauty ->  X+  (X0 ->  l+ ^l+)]CC" : "{0}L2",
-    "[Beauty ->  X+ ^(X0 ->  l+  l+)]CC" : "{0}LL",
+    "[Beauty -> ^X+  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H",
+    "[Beauty ->  X+  (X0 -> ^[l+]CC  [l+]CC)]CC" : "{0}L1",
+    "[Beauty ->  X+  (X0 ->  [l+]CC ^[l+]CC)]CC" : "{0}L2",
+    "[Beauty ->  X+ ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL",
     # 4-body with a strange particle in the final state
-    "[Beauty ->  (X0 -> ^Xs  X-)  (X0 ->  l+  l+)]CC" : "{0}H1",
-    "[Beauty ->  (X0 ->  Xs ^X-)  (X0 ->  l+  l+)]CC" : "{0}H2",
-    "[Beauty ->  (X0 ->  Xs  X-)  (X0 -> ^l+  l+)]CC" : "{0}L1",
-    "[Beauty ->  (X0 ->  Xs  X-)  (X0 ->  l+ ^l+)]CC" : "{0}L2",
-    "[Beauty -> ^(X0 ->  Xs  X-)  (X0 ->  l+  l+)]CC" : "{0}HH",
-    "[Beauty ->  (X0 ->  Xs  X-) ^(X0 ->  l+  l+)]CC" : "{0}LL",
+    "[Beauty ->  (X0 -> ^Xs  X-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H1",
+    "[Beauty ->  (X0 ->  Xs ^X-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H2",
+    "[Beauty ->  (X0 ->  Xs  X-)  (X0 -> ^[l+]CC  [l+]CC)]CC" : "{0}L1",
+    "[Beauty ->  (X0 ->  Xs  X-)  (X0 ->  [l+]CC ^[l+]CC)]CC" : "{0}L2",
+    "[Beauty -> ^(X0 ->  Xs  X-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}HH",
+    "[Beauty ->  (X0 ->  Xs  X-) ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL",
     # 4-body with two pions in the final state
-    "[Beauty ->  (X0 -> ^pi+  pi-)  (X0 ->  l+  l+)]CC" : "{0}H1",
-    "[Beauty ->  (X0 ->  pi+ ^pi-)  (X0 ->  l+  l+)]CC" : "{0}H2",
-    "[Beauty ->  (X0 ->  pi+  pi-)  (X0 -> ^l+  l+)]CC" : "{0}L1",
-    "[Beauty ->  (X0 ->  pi+  pi-)  (X0 ->  l+ ^l+)]CC" : "{0}L2",
-    "[Beauty -> ^(X0 ->  pi+  pi-)  (X0 ->  l+  l+)]CC" : "{0}HH",
-    "[Beauty ->  (X0 ->  pi+  pi-) ^(X0 ->  l+  l+)]CC" : "{0}LL",
+    "[Beauty ->  (X0 -> ^pi+  pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H1",
+    "[Beauty ->  (X0 ->  pi+ ^pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H2",
+    "[Beauty ->  (X0 ->  pi+  pi-)  (X0 -> ^[l+]CC  [l+]CC)]CC" : "{0}L1",
+    "[Beauty ->  (X0 ->  pi+  pi-)  (X0 ->  [l+]CC ^[l+]CC)]CC" : "{0}L2",
+    "[Beauty -> ^(X0 ->  pi+  pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}HH",
+    "[Beauty ->  (X0 ->  pi+  pi-) ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL",
     # 4-body with p and pi in the final state. Here the names are kept generic (H1,H2,L1,L2), for uniformity with strippingof other years. This is needed for Lb->Lll analyses.
-    "[Beauty ->  (X0 -> ^p+  pi-)  (X0 ->  l+  l+)]CC" : "{0}H1",
-    "[Beauty ->  (X0 ->  p+ ^pi-)  (X0 ->  l+  l+)]CC" : "{0}H2",
-    "[Beauty ->  (X0 ->  p+  pi-)  (X0 -> ^l+  l+)]CC" : "{0}L1",
-    "[Beauty ->  (X0 ->  p+  pi-)  (X0 ->  l+ ^l+)]CC" : "{0}L2",
-    "[Beauty -> ^(X0 ->  p+  pi-)  (X0 ->  l+  l+)]CC" : "{0}HH",
-    "[Beauty ->  (X0 ->  p+  pi-) ^(X0 ->  l+  l+)]CC" : "{0}LL"
+    "[Beauty ->  (X0 -> ^p+  pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H1",
+    "[Beauty ->  (X0 ->  p+ ^pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}H2",
+    "[Beauty ->  (X0 ->  p+  pi-)  (X0 -> ^[l+]CC  [l+]CC)]CC" : "{0}L1",
+    "[Beauty ->  (X0 ->  p+  pi-)  (X0 ->  [l+]CC ^[l+]CC)]CC" : "{0}L2",
+    "[Beauty -> ^(X0 ->  p+  pi-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}HH",
+    "[Beauty ->  (X0 ->  p+  pi-) ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL"
 }
 
 daughter_vtx_locations = {
     # OPPOSITE SIGN
     # 3-body
-    "[Beauty ->  X+ ^(X0 ->  l+  l+)]CC" : "{0}LL",
+    "[Beauty ->  X+ ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL",
     # 4-body
-    "[Beauty -> ^(X0 ->  X+  X-)  (X0 ->  l+  l+)]CC" : "{0}HH",
-    "[Beauty ->  (X0 ->  X+  X-) ^(X0 ->  l+  l+)]CC" : "{0}LL"
+    "[Beauty -> ^(X0 ->  X+  X-)  (X0 ->  [l+]CC  [l+]CC)]CC" : "{0}HH",
+    "[Beauty ->  (X0 ->  X+  X-) ^(X0 ->  [l+]CC  [l+]CC)]CC" : "{0}LL"
 }
 
 
-- 
GitLab