From 51f39cbb8708d68982cc72b7f6a06115d0f3a57f Mon Sep 17 00:00:00 2001
From: Mengzhen Wang <mengzhen@lxplus724.cern.ch>
Date: Tue, 24 Sep 2019 13:07:52 +0200
Subject: [PATCH] remove dira cut

---
 Hlt/Hlt2Conf/python/Hlt2Conf/lines/psi2MuMu_detached.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/psi2MuMu_detached.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/psi2MuMu_detached.py
index 65b91bf8998..1374db870b9 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/psi2MuMu_detached.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/psi2MuMu_detached.py
@@ -87,7 +87,7 @@ def make_dimuon_detached(particles,
                          amindoca_max=0.1 * mm,
                          vchi2pdof_max=10,
                          bpvvdchi2_min=25,
-                         acos_bpvdira_min=17.3 * mrad):
+                         acos_bpvdira_min=0 * mrad):
     """Return D0 maker with selection tailored for two-body hadronic final states.
 
     Parameters
@@ -111,13 +111,13 @@ def make_dimuon_detached(particles,
                                        apt_min=apt_min,
                                        amindoca_max=amindoca_max)
 
-    cos_bpvdira_min = math.cos(acos_bpvdira_min)
+    cos_bpvdira_max = math.cos(acos_bpvdira_min)
     vertex_code = require_all("CHI2VXNDOF < {vchi2pdof_max}", "BPVVALID()",
                               "BPVVDCHI2() > {bpvvdchi2_min}",
-                              "BPVDIRA() > {cos_bpvdira_min}").format(
+                              "BPVDIRA() < {cos_bpvdira_max}").format(
                                   vchi2pdof_max=vchi2pdof_max,
                                   bpvvdchi2_min=bpvvdchi2_min,
-                                  cos_bpvdira_min=cos_bpvdira_min)
+                                  cos_bpvdira_max=cos_bpvdira_max)
 
     return ParticleCombinerWithPVs(
         particles=particles,
-- 
GitLab