From 08063b13381db479b54067b63361f6691f257386 Mon Sep 17 00:00:00 2001
From: Valeriia Zhovkovska <valeriia.zhovkovska@cern.ch>
Date: Wed, 22 Jan 2020 12:12:14 +0100
Subject: [PATCH 1/3] Fixed Bc2EtacMu S29r2p1

---
 .../StrippingBandQ/StrippingBc2EtacMu.py             | 12 ++++++------
 .../Stripping29r2p1/LineConfigDictionaries_BandQ.py  | 10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
index 881cbb6ca..e09f394d6 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
@@ -38,19 +38,19 @@ default_config = {
         'ProtonCuts':
         "(PROBNNp > 0.1)  & (PT > 400*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5)",
         'PionCuts':
-        "(PROBNNpi > 0.1) & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
+        "(PROBNNpi > 0.65) & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
         'KaonCuts':
-        "(PROBNNk > 0.1)  & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
+        "(PROBNNk > 0.65)  & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
         'KsCuts':
-        "(ADMASS('KS0') < 30.*MeV) & (BPVDLS>5) & (PT > 500*MeV) & (MAXTREE('pi-'==ABSID, PROBNNpi) > 0.1) & (MAXTREE('pi-'==ABSID, TRGHOSTPROB) < 0.4) & (MAXTREE('pi-'==ABSID, TRCHI2DOF) < 5)",
+        "(ADMASS('KS0') < 30.*MeV) & (BPVDLS>5) & (PT > 500*MeV) & (MAXTREE('pi-'==ABSID, PROBNNpi) > 0.45) & (MAXTREE('pi-'==ABSID, TRGHOSTPROB) < 0.4) & (MAXTREE('pi-'==ABSID, TRCHI2DOF) < 5)",
         'EtacCombCuts':
         "in_range(2.7*GeV, AM, 3.3*GeV)",
         'EtacMomCuts':
         "in_range(2.7*GeV, MM, 3.3*GeV) & (VFASPF(VCHI2/VDOF) < 9.)",
         'BcCombCuts':
-        "in_range(3.2*GeV, AM, 6.8*GeV)",
+        "in_range(3.2*GeV, AM, 7.5*GeV)",
         'BcMomCuts':
-        "in_range(3.2*GeV, MM, 6.8*GeV) & in_range(3.2*GeV, BPVCORRM, 6.8*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 3000)",
+        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5500)",
         'CCCut':
         ""
     },
@@ -161,7 +161,7 @@ class Bc2EtacMuConf(LineBuilder):
 
         self.SelBc2EtacMu_KsKpi = self.createCombinationSel(
             OutputList=self.name + "SelBc2EtacMu_KsKpi",
-            DecayDescriptor="B_c+ -> eta_c(1S) mu+",
+            DecayDescriptor="[B_c+ -> eta_c(1S) mu+]cc",
             DaughterLists=[self.SelEtac2KsKPi, self.SelMuons],
             PreVertexCuts=config['BcCombCuts'],
             PostVertexCuts=config['BcMomCuts'])
diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
index 80a3e9dac..940edc1a6 100644
--- a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
+++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
@@ -765,19 +765,19 @@ Bc2EtacMu = {
         'ProtonCuts':
         "(PROBNNp > 0.1)  & (PT > 400*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5)",
         'PionCuts':
-        "(PROBNNpi > 0.1) & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
+        "(PROBNNpi > 0.65) & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
         'KaonCuts':
-        "(PROBNNk > 0.1)  & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
+        "(PROBNNk > 0.65)  & (PT > 500*MeV) & (TRGHOSTPROB<0.4) & (TRCHI2DOF < 5) & (MIPCHI2DV(PRIMARY) > 4)",
         'KsCuts':
-        "(ADMASS('KS0') < 30.*MeV) & (BPVDLS>5) & (PT > 500*MeV) & (MAXTREE('pi-'==ABSID, PROBNNpi) > 0.1) & (MAXTREE('pi-'==ABSID, TRGHOSTPROB) < 0.4) & (MAXTREE('pi-'==ABSID, TRCHI2DOF) < 5)",
+        "(ADMASS('KS0') < 30.*MeV) & (BPVDLS>5) & (PT > 500*MeV) & (MAXTREE('pi-'==ABSID, PROBNNpi) > 0.45) & (MAXTREE('pi-'==ABSID, TRGHOSTPROB) < 0.4) & (MAXTREE('pi-'==ABSID, TRCHI2DOF) < 5)",
         'EtacCombCuts':
         "in_range(2.7*GeV, AM, 3.3*GeV)",
         'EtacMomCuts':
         "in_range(2.7*GeV, MM, 3.3*GeV) & (VFASPF(VCHI2/VDOF) < 9.)",
         'BcCombCuts':
-        "in_range(3.2*GeV, AM, 6.8*GeV)",
+        "in_range(3.2*GeV, AM, 7.5*GeV)",
         'BcMomCuts':
-        "in_range(3.2*GeV, MM, 6.8*GeV) & in_range(3.2*GeV, BPVCORRM, 6.8*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 3000)",
+        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5500)",
         'CCCut':
         ""
     },
-- 
GitLab


From a58928515930f284eaa1c0e957f8ca959abe1bf7 Mon Sep 17 00:00:00 2001
From: Valeriia Zhovkovska <valeriia.zhovkovska@cern.ch>
Date: Wed, 22 Jan 2020 14:07:58 +0100
Subject: [PATCH 2/3] Fixed Bc2EtacMu S29r2p1

---
 .../StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py    | 2 +-
 .../Stripping29r2p1/LineConfigDictionaries_BandQ.py             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
index e09f394d6..8445217a3 100644
--- a/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
+++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingBandQ/StrippingBc2EtacMu.py
@@ -50,7 +50,7 @@ default_config = {
         'BcCombCuts':
         "in_range(3.2*GeV, AM, 7.5*GeV)",
         'BcMomCuts':
-        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5500)",
+        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5000)",
         'CCCut':
         ""
     },
diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
index 940edc1a6..f3b1f583f 100644
--- a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
+++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
@@ -777,7 +777,7 @@ Bc2EtacMu = {
         'BcCombCuts':
         "in_range(3.2*GeV, AM, 7.5*GeV)",
         'BcMomCuts':
-        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5500)",
+        "in_range(3.2*GeV, MM, 7.5*GeV) & in_range(4.0*GeV, BPVCORRM, 12.0*GeV) & (VFASPF(VCHI2/VDOF) < 9.) & (PT > 5000)",
         'CCCut':
         ""
     },
-- 
GitLab


From be9df779b23557bd171038a564ea78eed8ecc846 Mon Sep 17 00:00:00 2001
From: Andrii Usachov <andrii.usachov@cern.ch>
Date: Wed, 22 Jan 2020 13:47:50 +0000
Subject: [PATCH 3/3] Update LineConfigDictionaries_BandQ.py

---
 .../Stripping29r2p1/LineConfigDictionaries_BandQ.py           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
index f3b1f583f..52f2d1fc2 100644
--- a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
+++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p1/LineConfigDictionaries_BandQ.py
@@ -9,10 +9,10 @@
 # or submit itself to any jurisdiction.                                       #
 ###############################################################################
 ################################################################################
-##                          S T R I P P I N G  2 9 r 2                        ##
+##                          S T R I P P I N G  2 9 r 2 p 1                    ##
 ##                                                                            ##
 ##  Configuration for B&Q WG                                                  ##
-##  Contact person: andrii.usachov@cern.ch                                    ##
+##  Contact person: valeriia.zhovkovska@cern.ch                               ##
 ################################################################################
 
 from GaudiKernel.SystemOfUnits import *
-- 
GitLab