diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py index 5b093abd6520c8aeb517ec0299bd99b8504775c1..9b80c3d43831e28ff80670e16fafe46478b242cf 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py @@ -77,7 +77,7 @@ def Hlt2RD_BToEE(name="Hlt2RD_BToEE", prescale=1, persistreco=True): Register B2EE (B0 and B_s0) line (opposite sign), persist reco to develop isolation """ - dielectrons = filter_B2EE() + dielectrons = filter_B2EE(pide_electron_min=1) return HltLine( name=name, @@ -96,7 +96,7 @@ def Hlt2RD_BToEE_SameSign(name="Hlt2RD_BToEE_SameSign", Register B2EE (B0 and B_s0) same sign line, persist reco to develop isolation """ - dielectrons = filter_B2EE(same_sign=True) + dielectrons = filter_B2EE(same_sign=True, pide_electron_min=1) return HltLine( name=name, diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_multilepton_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_multilepton_hlt2.py index 6e04daeecf363dfd3790338d73f4b8f583fc0b96..22d34be244c91e32a992094bf8e2ef8f263ee3f1 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_multilepton_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_multilepton_hlt2.py @@ -50,7 +50,8 @@ def Displaced4Mu_incl_line(name="Hlt2RD_Displaced4Mu_Incl", prescale=1, persistreco=True): """Displaced->4mu inclusive selection""" - lepton = make_rd_detached_muons(pid=(F.PID_MU > 1), mipchi2dvprimary_min=9) + lepton = make_rd_detached_muons( + pid=F.require_all(F.PID_MU > 0, F.ISMUON), mipchi2dvprimary_min=9) b = make_b_4l( lepton, descriptor='B0 -> mu+ mu+ mu- mu-', name="make_rd_b24mu") @@ -190,7 +191,7 @@ def BTo3LLP_LLPToEE_LLL_line(name="Hlt2RD_BTo3LLP_LLPToEE_LLL", prescale=1, persistreco=False): """Bs/Bd -> X (ee) X (ee) X (ee) with long electron combinations""" - dielectron = make_rd_detached_dielectron(parent_id="KS0", pid_e_min=None) + dielectron = make_rd_detached_dielectron(parent_id="KS0", pid_e_min=1) b = make_B26l_LLP( dielectron, dielectron, @@ -228,7 +229,7 @@ def BuTo3LLPKp_LLPToEE_LLL_line(name="Hlt2RD_BuTo3LLPKp_LLPToEE_LLL", prescale=1, persistreco=False): """B+ -> X (ee) X (ee) X (ee) K+ with long electron combinations""" - dielectron = make_rd_detached_dielectron(parent_id="KS0", pid_e_min=None) + dielectron = make_rd_detached_dielectron(parent_id="KS0", pid_e_min=1) kaon = make_rd_detached_kaons(pid=(F.PID_K > 0.), mipchi2dvprimary_min=25.) b = make_B26lK_LLP( dielectron, diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/Nmu_builders.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/Nmu_builders.py index 450b8d1315ab8280018d1e688f9489bf701875aa..14d86a523899f82482717cef6c08d0b8f7e9f6fa 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/Nmu_builders.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/Nmu_builders.py @@ -37,7 +37,7 @@ from PyConf import configurable def make_b_4l(lepton, descriptor, name="make_rd_b24mu", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., MAXDOCA=0.5): @@ -63,7 +63,7 @@ def make_b_2mu2e(dimuon, dielectron, descriptor, name="make_rd_b22mu2e", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., MAXDOCA=0.5): @@ -89,7 +89,7 @@ def make_generic_4lepton_LLP(dilepton1, dilepton2, descriptor, name="make_rd_generic_4mu_LL", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., max_DOCA=0.75): @@ -115,7 +115,7 @@ def make_B24lK_LLP(dilepton1, kaon, descriptor, name="make_rd_B24muK_LL", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., max_DOCA=0.5): @@ -144,7 +144,7 @@ def make_B26l_LLP(dilepton1, dilepton3, descriptor, name="make_rd_B26mu_LLL", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., max_DOCA=0.5): @@ -171,7 +171,7 @@ def make_B26lK_LLP(dilepton1, kaon, descriptor, name="make_rd_B26muK_LLL", - min_BFDCHI2=100., + min_BFDCHI2=25., max_BIPCHI2=25., max_BVTXCHI2=8., max_DOCA=0.5): diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/b_to_ll_builders.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/b_to_ll_builders.py index 2fde2e16d10bbeeec4c7fe1da10d07d6714085e3..55a88bc97fe845d8eaf0015ce46bfb246f1148d0 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/b_to_ll_builders.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/b_to_ll_builders.py @@ -104,7 +104,7 @@ def filter_B2EE(name="filter_RD_BToEE_{hash}", am_min=am_min, am_max=am_max, bpvvdchi2_min=bpvvdchi2_min, - opposite_sign=~same_sign) + opposite_sign=not same_sign) code = F.require_all( F.BPVIPCHI2(pvs) < bipchi2_max, F.BPVDIRA(pvs) > DIRA_dielectron_min)