From 5dd7316737864d77012991298ab870ad903b6d4f Mon Sep 17 00:00:00 2001
From: Lakshan Ram <lakshan.ram@cern.ch>
Date: Fri, 10 May 2024 17:30:32 +0200
Subject: [PATCH 1/3] changed prescales to reduce rates of bkg lines

---
 .../lines/rd/btosetau_exclusive_hlt2.py       | 78 ++++++++--------
 .../rd/btosetau_tau_to_e_exclusive_hlt2.py    | 76 +++++++--------
 .../lines/rd/btosmutau_exclusive_hlt2.py      | 76 +++++++--------
 .../rd/btosmutau_tau_to_e_exclusive_hlt2.py   | 78 ++++++++--------
 .../lines/rd/btostautau_ee_exclusive_hlt2.py  | 40 ++++----
 .../lines/rd/btostautau_exclusive_hlt2.py     | 42 ++++-----
 .../lines/rd/btostautau_mue_exclusive_hlt2.py | 92 +++++++++----------
 7 files changed, 241 insertions(+), 241 deletions(-)

diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
index 93334b3860a..1f02d2b12d2 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
@@ -203,7 +203,7 @@ def bstophietau_tautomu_line(name='Hlt2RD_BsToKKTauE_TauToMu', prescale=1):
 
 @register_line_builder(all_lines)
 def bstophietau_tautomu_same_sign_kaons_sskmu_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_SSK_SSKmu', prescale=0.7):
+        name='Hlt2RD_BsToKKTauE_TauToMu_SSK_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -240,7 +240,7 @@ def bstophietau_tautomu_same_sign_kaons_sskmu_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautomu_same_sign_kaons_oskmu_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_SSK_OSKmu', prescale=0.7):
+        name='Hlt2RD_BsToKKTauE_TauToMu_SSK_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -277,7 +277,7 @@ def bstophietau_tautomu_same_sign_kaons_oskmu_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_same_sign_muons_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_SSl', prescale=0.7):
+        name='Hlt2RD_BsToKKTauE_TauToMu_SSl', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -310,7 +310,7 @@ def bstophimutau_tautomu_same_sign_muons_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautomu_fakemuon_from_tau_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_FakeMuonFromTau', prescale=0.03):
+        name='Hlt2RD_BsToKKTauE_TauToMu_FakeMuonFromTau', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -341,7 +341,7 @@ def bstophietau_tautomu_fakemuon_from_tau_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautomu_fakemuon_from_b_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_FakeMuonFromB', prescale=0.003):
+        name='Hlt2RD_BsToKKTauE_TauToMu_FakeMuonFromB', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -378,7 +378,7 @@ def bstophietau_tautomu_fakemuon_from_b_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautomu_fakekaon_line(
-        name='Hlt2RD_BsToKKTauE_TauToMu_FakeKaon', prescale=0.1):
+        name='Hlt2RD_BsToKKTauE_TauToMu_FakeKaon', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -476,7 +476,7 @@ def lbtopketau_tautomu_ospmu_line(name='Hlt2RD_LbToPKTauE_TauToMu_OSpmu',
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_same_sign_pk_sspmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_SSpK_SSpmu', prescale=0.7):
+        name='Hlt2RD_LbToPKTauE_TauToMu_SSpK_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -515,7 +515,7 @@ def lbtopketau_tautomu_same_sign_pk_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_same_sign_pk_ospmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_SSpK_OSpmu', prescale=0.7):
+        name='Hlt2RD_LbToPKTauE_TauToMu_SSpK_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -554,7 +554,7 @@ def lbtopketau_tautomu_same_sign_pk_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_same_sign_muons_sspmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_SSl_SSpmu', prescale=0.5):
+        name='Hlt2RD_LbToPKTauE_TauToMu_SSl_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -588,7 +588,7 @@ def lbtopketau_tautomu_same_sign_muons_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_same_sign_muons_ospmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_SSl_OSpmu', prescale=0.75):
+        name='Hlt2RD_LbToPKTauE_TauToMu_SSl_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -623,7 +623,7 @@ def lbtopketau_tautomu_same_sign_muons_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakemuon_from_tau_sspmu_line(
         name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromTau_SSpmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -658,7 +658,7 @@ def lbtopketau_tautomu_fakemuon_from_tau_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakemuon_from_tau_ospmu_line(
         name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromTau_OSpmu',
-        prescale=0.005):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -692,7 +692,7 @@ def lbtopketau_tautomu_fakemuon_from_tau_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakemuon_from_b_sspmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromB_SSpmu', prescale=0.015):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromB_SSpmu', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -732,7 +732,7 @@ def lbtopketau_tautomu_fakemuon_from_b_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakemuon_from_b_ospmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromB_OSpmu', prescale=0.015):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeMuonFromB_OSpmu', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -772,7 +772,7 @@ def lbtopketau_tautomu_fakemuon_from_b_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakeproton_sspmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeProton_SSpmu', prescale=0.1):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeProton_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -812,7 +812,7 @@ def lbtopketau_tautomu_fakeproton_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakeproton_ospmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeProton_OSpmu', prescale=0.15):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeProton_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -852,7 +852,7 @@ def lbtopketau_tautomu_fakeproton_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakekaon_sspmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeKaon_SSpmu', prescale=0.3):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeKaon_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -891,7 +891,7 @@ def lbtopketau_tautomu_fakekaon_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautomu_fakekaon_ospmu_line(
-        name='Hlt2RD_LbToPKTauE_TauToMu_FakeKaon_OSpmu', prescale=0.3):
+        name='Hlt2RD_LbToPKTauE_TauToMu_FakeKaon_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -990,7 +990,7 @@ def bdtokstetau_tautomu_oskmu_line(name='Hlt2RD_BdToKPiTauE_TauToMu_OSKmu',
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_same_sign_kpi_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_SSKpi_SSKmu', prescale=0.5):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_SSKpi_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1029,7 +1029,7 @@ def bdtokstetau_tautomu_same_sign_kpi_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_same_sign_kpi_oskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_SSKpi_OSKmu', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_SSKpi_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1068,7 +1068,7 @@ def bdtokstetau_tautomu_same_sign_kpi_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_same_sign_muons_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_SSKmu', prescale=0.5):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_SSKmu', prescale=0.7):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1101,7 +1101,7 @@ def bdtokstetau_tautomu_same_sign_muons_sskmu_line(
 
 
 @register_line_builder(all_lines)
-def bdtokstetau_tautomu_same_sign_muons_oskmu_line(
+def bdtokstetau_tautomu_same_sign_muons_oskmu_line( #TODO possible error in line
         name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_OSKmu', prescale=0.7):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1110,7 +1110,7 @@ def bdtokstetau_tautomu_same_sign_muons_oskmu_line(
         **kwargs_muons_from_tau)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
     kstes = btosetau_exclusive.make_kste(
-        kaons, pions, electrons, pvs, decay_descriptor="[B0 -> K+ pi- mu-]cc")
+        kaons, pions, electrons, pvs, decay_descriptor="[B0 -> K+ pi- e-]cc")
     bd = btosmutau_exclusive.make_bd(
         kstes,
         muons_from_tau,
@@ -1137,7 +1137,7 @@ def bdtokstetau_tautomu_same_sign_muons_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_tau_sskmu_line(
         name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromTau_SSKmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1172,7 +1172,7 @@ def bdtokstetau_tautomu_fakemuon_from_tau_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_tau_oskmu_line(
         name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromTau_OSKmu',
-        prescale=0.005):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1206,7 +1206,7 @@ def bdtokstetau_tautomu_fakemuon_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_SSKmu', prescale=0.015):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1246,7 +1246,7 @@ def bdtokstetau_tautomu_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_OSKmu', prescale=0.003):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_OSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1286,7 +1286,7 @@ def bdtokstetau_tautomu_fakemuon_from_b_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakekaon_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeKaon_SSKmu', prescale=0.15):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeKaon_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1326,7 +1326,7 @@ def bdtokstetau_tautomu_fakekaon_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakekaon_oskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeKaon_OSKmu', prescale=0.15):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeKaon_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1366,7 +1366,7 @@ def bdtokstetau_tautomu_fakekaon_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakepion_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakePion_SSKmu', prescale=0.3):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakePion_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1405,7 +1405,7 @@ def bdtokstetau_tautomu_fakepion_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakepion_oskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakePion_OSKmu', prescale=0.3):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakePion_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1502,7 +1502,7 @@ def butoketau_tautomu_sskmu_line(name='Hlt2RD_BuToKTauE_TauToMu_SSKmu',
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_same_sign_muons_oskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_SSl_OSKmu', prescale=0.3):
+        name='Hlt2RD_BuToKTauE_TauToMu_SSl_OSKmu', prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -1535,7 +1535,7 @@ def butoketau_tautomu_same_sign_muons_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_same_sign_muons_sskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_SSl_SSKmu', prescale=0.75):
+        name='Hlt2RD_BuToKTauE_TauToMu_SSl_SSKmu', prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -1568,7 +1568,7 @@ def butoketau_tautomu_same_sign_muons_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_tau_oskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_OSKmu', prescale=0.002):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_OSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1602,7 +1602,7 @@ def butoketau_tautomu_fakemuon_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_tau_sskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_SSKmu', prescale=0.005):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1636,7 +1636,7 @@ def butoketau_tautomu_fakemuon_from_tau_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromB_OSKmu', prescale=0.015):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromB_OSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -1674,7 +1674,7 @@ def butoketau_tautomu_fakemuon_from_b_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromB_SSKmu', prescale=0.015):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromB_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons_from_tau = rdbuilder_thor.make_rd_detached_muons(
@@ -1712,7 +1712,7 @@ def butoketau_tautomu_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakekaon_oskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeKaon_OSKmu', prescale=0.05):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeKaon_OSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
@@ -1750,7 +1750,7 @@ def butoketau_tautomu_fakekaon_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakekaon_sskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeKaon_SSKmu', prescale=0.15):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeKaon_SSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
index 5369b172b16..5590766c420 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
@@ -201,7 +201,7 @@ def bstophietau_tautoe_line(name='Hlt2RD_BsToKKTauE_TauToE', prescale=1):
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_same_sign_kaons_sske_line(
-        name='Hlt2RD_BsToKKTauE_TauToE_SSK_SSKe', prescale=0.1):
+        name='Hlt2RD_BsToKKTauE_TauToE_SSK_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -238,7 +238,7 @@ def bstophietau_tautoe_same_sign_kaons_sske_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_same_sign_kaons_oske_line(
-        name='Hlt2RD_BsToKKTauE_TauToE_SSK_OSKe', prescale=0.1):
+        name='Hlt2RD_BsToKKTauE_TauToE_SSK_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -275,7 +275,7 @@ def bstophietau_tautoe_same_sign_kaons_oske_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_same_sign_electrons_line(
-        name='Hlt2RD_BsToKKTauE_TauToE_SSe', prescale=0.2):
+        name='Hlt2RD_BsToKKTauE_TauToE_SSe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -308,7 +308,7 @@ def bstophietau_tautoe_same_sign_electrons_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_fakeelectron_from_tau_line(
-        name='Hlt2RD_BsToKKTauE_TauToE_FakeelectronFromTau', prescale=0.015):
+        name='Hlt2RD_BsToKKTauE_TauToE_FakeelectronFromTau', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -339,7 +339,7 @@ def bstophietau_tautoe_fakeelectron_from_tau_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_fakeelectron_from_b_line(
-        name='Hlt2RD_BsToKKTauE_TauToE_FakeelectronFromB', prescale=0.015):
+        name='Hlt2RD_BsToKKTauE_TauToE_FakeelectronFromB', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -376,7 +376,7 @@ def bstophietau_tautoe_fakeelectron_from_b_line(
 
 @register_line_builder(all_lines)
 def bstophietau_tautoe_fakekaon_line(name='Hlt2RD_BsToKKTauE_TauToE_FakeKaon',
-                                     prescale=0.03):
+                                     prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -480,7 +480,7 @@ def lbtopketau_tautoe_ospe_line(name='Hlt2RD_LbToPKTauE_TauToE_OSpe',
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_same_sign_pk_sspe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_SSpK_SSpe', prescale=0.1):
+        name='Hlt2RD_LbToPKTauE_TauToE_SSpK_SSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -519,7 +519,7 @@ def lbtopketau_tautoe_same_sign_pk_sspe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_same_sign_pk_ospe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_SSpK_OSpe', prescale=0.2):
+        name='Hlt2RD_LbToPKTauE_TauToE_SSpK_OSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -558,7 +558,7 @@ def lbtopketau_tautoe_same_sign_pk_ospe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_same_sign_electrons_sspe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_SSe_SSpe', prescale=0.3):
+        name='Hlt2RD_LbToPKTauE_TauToE_SSe_SSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -592,7 +592,7 @@ def lbtopketau_tautoe_same_sign_electrons_sspe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_same_sign_electrons_ospe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_SSe_OSpe', prescale=0.5):
+        name='Hlt2RD_LbToPKTauE_TauToE_SSe_OSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -627,7 +627,7 @@ def lbtopketau_tautoe_same_sign_electrons_ospe_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeelectron_from_tau_sspe_line(
         name='Hlt2RD_LbToPKTauE_TauToE_FakeelectronFromTau_SSpe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -662,7 +662,7 @@ def lbtopketau_tautoe_fakeelectron_from_tau_sspe_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeelectron_from_tau_ospe_line(
         name='Hlt2RD_LbToPKTauE_TauToE_FakeelectronFromTau_OSpe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -697,7 +697,7 @@ def lbtopketau_tautoe_fakeelectron_from_tau_ospe_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeelectron_from_b_sspe_line(
         name='Hlt2RD_LbToPKTauE_TauToE_FakeelectronFromB_SSpe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -738,7 +738,7 @@ def lbtopketau_tautoe_fakeelectron_from_b_sspe_line(
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeelectron_from_b_ospe_line(
         name='Hlt2RD_LbToPKTauE_TauToE_FakeelectronFromB_OSpe',
-        prescale=0.005):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -778,7 +778,7 @@ def lbtopketau_tautoe_fakeelectron_from_b_ospe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeproton_sspe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_FakeProton_SSpe', prescale=0.05):
+        name='Hlt2RD_LbToPKTauE_TauToE_FakeProton_SSpe', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -818,7 +818,7 @@ def lbtopketau_tautoe_fakeproton_sspe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakeproton_ospe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_FakeProton_OSpe', prescale=0.05):
+        name='Hlt2RD_LbToPKTauE_TauToE_FakeProton_OSpe', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -858,7 +858,7 @@ def lbtopketau_tautoe_fakeproton_ospe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakekaon_sspe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_FakeKaon_SSpe', prescale=0.15):
+        name='Hlt2RD_LbToPKTauE_TauToE_FakeKaon_SSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -897,7 +897,7 @@ def lbtopketau_tautoe_fakekaon_sspe_line(
 
 @register_line_builder(all_lines)
 def lbtopketau_tautoe_fakekaon_ospe_line(
-        name='Hlt2RD_LbToPKTauE_TauToE_FakeKaon_OSpe', prescale=0.2):
+        name='Hlt2RD_LbToPKTauE_TauToE_FakeKaon_OSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -996,7 +996,7 @@ def bdtokstetau_tautoe_oske_line(name='Hlt2RD_BdToKPiTauE_TauToE_OSKe',
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_same_sign_kpi_sske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_SSKpi_SSKe', prescale=0.3):
+        name='Hlt2RD_BdToKPiTauE_TauToE_SSKpi_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1035,7 +1035,7 @@ def bdtokstetau_tautoe_same_sign_kpi_sske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_same_sign_kpi_oske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_SSKpi_OSKe', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauE_TauToE_SSKpi_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1074,7 +1074,7 @@ def bdtokstetau_tautoe_same_sign_kpi_oske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_same_sign_electrons_sske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_SSe_SSKe', prescale=0.5):
+        name='Hlt2RD_BdToKPiTauE_TauToE_SSe_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1108,7 +1108,7 @@ def bdtokstetau_tautoe_same_sign_electrons_sske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_same_sign_electrons_oske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_SSe_OSKe', prescale=0.2):
+        name='Hlt2RD_BdToKPiTauE_TauToE_SSe_OSKe', prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1143,7 +1143,7 @@ def bdtokstetau_tautoe_same_sign_electrons_oske_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakeelectron_from_tau_sske_line(
         name='Hlt2RD_BdToKPiTauE_TauToE_FakeelectronFromTau_SSKe',
-        prescale=0.01):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1178,7 +1178,7 @@ def bdtokstetau_tautoe_fakeelectron_from_tau_sske_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakeelectron_from_tau_oske_line(
         name='Hlt2RD_BdToKPiTauE_TauToE_FakeelectronFromTau_OSKe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1213,7 +1213,7 @@ def bdtokstetau_tautoe_fakeelectron_from_tau_oske_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakeelectron_from_b_sske_line(
         name='Hlt2RD_BdToKPiTauE_TauToE_FakeelectronFromB_SSKe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1254,7 +1254,7 @@ def bdtokstetau_tautoe_fakeelectron_from_b_sske_line(
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakeelectron_from_b_oske_line(
         name='Hlt2RD_BdToKPiTauE_TauToE_FakeelectronFromB_OSKe',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1294,7 +1294,7 @@ def bdtokstetau_tautoe_fakeelectron_from_b_oske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakekaon_sske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_FakeKaon_SSKe', prescale=0.05):
+        name='Hlt2RD_BdToKPiTauE_TauToE_FakeKaon_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1334,7 +1334,7 @@ def bdtokstetau_tautoe_fakekaon_sske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakekaon_oske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_FakeKaon_OSKe', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauE_TauToE_FakeKaon_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1374,7 +1374,7 @@ def bdtokstetau_tautoe_fakekaon_oske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakepion_sske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_FakePion_SSKe', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauE_TauToE_FakePion_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1413,7 +1413,7 @@ def bdtokstetau_tautoe_fakepion_sske_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautoe_fakepion_oske_line(
-        name='Hlt2RD_BdToKPiTauE_TauToE_FakePion_OSKe', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauE_TauToE_FakePion_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1510,7 +1510,7 @@ def butoketau_tautoe_sske_line(name='Hlt2RD_BuToKTauE_TauToE_SSKe',
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_same_sign_electrons_oske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_SSe_OSKe', prescale=0.2):
+        name='Hlt2RD_BuToKTauE_TauToE_SSe_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1543,7 +1543,7 @@ def butoketau_tautoe_same_sign_electrons_oske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_same_sign_electrons_sske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_SSe_SSKe', prescale=0.1):
+        name='Hlt2RD_BuToKTauE_TauToE_SSe_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1577,7 +1577,7 @@ def butoketau_tautoe_same_sign_electrons_sske_line(
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_tau_oske_line(
         name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromTau_OSKe',
-        prescale=0.01):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1612,7 +1612,7 @@ def butoketau_tautoe_fakeelectron_from_tau_oske_line(
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_tau_sske_line(
         name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromTau_SSKe',
-        prescale=0.003):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1646,7 +1646,7 @@ def butoketau_tautoe_fakeelectron_from_tau_sske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_b_oske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_OSKe', prescale=0.005):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_OSKe', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1684,7 +1684,7 @@ def butoketau_tautoe_fakeelectron_from_b_oske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_b_sske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_SSKe', prescale=0.01):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_SSKe', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1722,7 +1722,7 @@ def butoketau_tautoe_fakeelectron_from_b_sske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakekaon_oske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeKaon_OSKe', prescale=0.01):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeKaon_OSKe', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
@@ -1760,7 +1760,7 @@ def butoketau_tautoe_fakekaon_oske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakekaon_sske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeKaon_SSKe', prescale=0.05):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeKaon_SSKe', prescale=0.0001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_exclusive_hlt2.py
index 18cca6f8a22..bc5f0f3bf28 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_exclusive_hlt2.py
@@ -217,7 +217,7 @@ def bstophimutau_tautomu_line(name='Hlt2RD_BsToKKTauMu_TauToMu',
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_same_sign_kaons_sskmu_line(
         name='Hlt2RD_BsToKKTauMu_TauToMu_SSK_SSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -257,7 +257,7 @@ def bstophimutau_tautomu_same_sign_kaons_sskmu_line(
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_same_sign_kaons_oskmu_line(
         name='Hlt2RD_BsToKKTauMu_TauToMu_SSK_OSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -296,7 +296,7 @@ def bstophimutau_tautomu_same_sign_kaons_oskmu_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_same_sign_muons_line(
-        name='Hlt2RD_BsToKKTauMu_TauToMu_SSMu', prescale=0.75,
+        name='Hlt2RD_BsToKKTauMu_TauToMu_SSMu', prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -332,7 +332,7 @@ def bstophimutau_tautomu_same_sign_muons_line(
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_fakemuon_from_tau_line(
         name='Hlt2RD_BsToKKTauMu_TauToMu_FakeMuFromTau',
-        prescale=0.015,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -366,7 +366,7 @@ def bstophimutau_tautomu_fakemuon_from_tau_line(
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_fakemuon_from_b_line(
         name='Hlt2RD_BsToKKTauMu_TauToMu_FakeMuFromB',
-        prescale=0.008,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -405,7 +405,7 @@ def bstophimutau_tautomu_fakemuon_from_b_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautomu_fakekaon_line(name='Hlt2RD_BsToKKTauMu_TauToMu_FakeK',
-                                       prescale=0.3,
+                                       prescale=0.001,
                                        persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -510,7 +510,7 @@ def lbtopkmutau_tautomu_ospmu_line(name='Hlt2RD_LbToPKTauMu_TauToMu_OSPMu',
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_same_sign_pk_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_SSPK_SSPMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -552,7 +552,7 @@ def lbtopkmutau_tautomu_same_sign_pk_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_same_sign_pk_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_SSPK_OSPMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -594,7 +594,7 @@ def lbtopkmutau_tautomu_same_sign_pk_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_same_sign_muons_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_SSMu_SSPMu',
-        prescale=0.75,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -631,7 +631,7 @@ def lbtopkmutau_tautomu_same_sign_muons_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_same_sign_muons_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_SSMu_OSPMu',
-        prescale=0.4,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -668,7 +668,7 @@ def lbtopkmutau_tautomu_same_sign_muons_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakemuon_from_tau_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeMuFromTau_SSPMu',
-        prescale=0.015,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -705,7 +705,7 @@ def lbtopkmutau_tautomu_fakemuon_from_tau_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakemuon_from_tau_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeMuFromTau_OSPMu',
-        prescale=0.015,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -742,7 +742,7 @@ def lbtopkmutau_tautomu_fakemuon_from_tau_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakemuon_from_b_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeMuFromB_SSPMu',
-        prescale=0.015,
+        prescale=0.00001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -785,7 +785,7 @@ def lbtopkmutau_tautomu_fakemuon_from_b_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakemuon_from_b_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeMuFromB_OSPMu',
-        prescale=0.005,
+        prescale=0.00001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -828,7 +828,7 @@ def lbtopkmutau_tautomu_fakemuon_from_b_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakeproton_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeP_SSPMu',
-        prescale=0.3,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
@@ -871,7 +871,7 @@ def lbtopkmutau_tautomu_fakeproton_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakeproton_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeP_OSPMu',
-        prescale=0.3,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
@@ -914,7 +914,7 @@ def lbtopkmutau_tautomu_fakeproton_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakekaon_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeK_SSPMu',
-        prescale=0.15,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -956,7 +956,7 @@ def lbtopkmutau_tautomu_fakekaon_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautomu_fakekaon_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToMu_FakeK_OSPMu',
-        prescale=0.3,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -1062,7 +1062,7 @@ def bdtokstmutau_tautomu_oskmu_line(name='Hlt2RD_BdToKPiTauMu_TauToMu_OSKMu',
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_same_sign_kpi_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_SSKPi_SSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1104,7 +1104,7 @@ def bdtokstmutau_tautomu_same_sign_kpi_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_same_sign_kpi_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_SSKPi_OSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1146,7 +1146,7 @@ def bdtokstmutau_tautomu_same_sign_kpi_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_same_sign_muons_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_SSMu_SSKMu',
-        prescale=0.5,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1183,7 +1183,7 @@ def bdtokstmutau_tautomu_same_sign_muons_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_same_sign_muons_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_SSMu_OSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1220,7 +1220,7 @@ def bdtokstmutau_tautomu_same_sign_muons_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakemuon_from_tau_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeMuFromTau_SSKMu',
-        prescale=0.005,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1257,7 +1257,7 @@ def bdtokstmutau_tautomu_fakemuon_from_tau_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakemuon_from_tau_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeMuFromTau_OSKMu',
-        prescale=0.008,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1294,7 +1294,7 @@ def bdtokstmutau_tautomu_fakemuon_from_tau_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakemuon_from_b_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeMuFromB_SSKMu',
-        prescale=0.008,
+        prescale=0.00001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1337,7 +1337,7 @@ def bdtokstmutau_tautomu_fakemuon_from_b_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakemuon_from_b_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeMuFromB_OSKMu',
-        prescale=0.01,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1380,7 +1380,7 @@ def bdtokstmutau_tautomu_fakemuon_from_b_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakekaon_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeK_SSKMu',
-        prescale=0.05,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -1423,7 +1423,7 @@ def bdtokstmutau_tautomu_fakekaon_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakekaon_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakeK_OSKMu',
-        prescale=0.15,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -1466,7 +1466,7 @@ def bdtokstmutau_tautomu_fakekaon_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakepion_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakePi_SSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1508,7 +1508,7 @@ def bdtokstmutau_tautomu_fakepion_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautomu_fakepion_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToMu_FakePi_OSKMu',
-        prescale=0.75,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1610,7 +1610,7 @@ def butokmutau_tautomu_sskmu_line(name='Hlt2RD_BuToKTauMu_TauToMu_SSKMu',
 @register_line_builder(all_lines)
 def butokmutau_tautomu_same_sign_muons_oskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_SSMu_OSKMu',
-        prescale=0.2,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1645,7 +1645,7 @@ def butokmutau_tautomu_same_sign_muons_oskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_same_sign_muons_sskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_SSMu_SSKMu',
-        prescale=0.2,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1680,7 +1680,7 @@ def butokmutau_tautomu_same_sign_muons_sskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakemuon_from_tau_oskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeMuFromTau_OSKMu',
-        prescale=0.005,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1716,7 +1716,7 @@ def butokmutau_tautomu_fakemuon_from_tau_oskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakemuon_from_tau_sskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeMuFromTau_SSKMu',
-        prescale=0.005,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1752,7 +1752,7 @@ def butokmutau_tautomu_fakemuon_from_tau_sskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakemuon_from_b_oskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeMuFromB_OSKMu',
-        prescale=0.003,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1793,7 +1793,7 @@ def butokmutau_tautomu_fakemuon_from_b_oskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakemuon_from_b_sskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeMuFromB_SSKMu',
-        prescale=0.003,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1834,7 +1834,7 @@ def butokmutau_tautomu_fakemuon_from_b_sskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakekaon_oskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeK_OSKMu',
-        prescale=0.05,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -1874,7 +1874,7 @@ def butokmutau_tautomu_fakekaon_oskmu_line(
 @register_line_builder(all_lines)
 def butokmutau_tautomu_fakekaon_sskmu_line(
         name='Hlt2RD_BuToKTauMu_TauToMu_FakeK_SSKMu',
-        prescale=0.1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
index 00a6046a80c..54f3c514c38 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
@@ -205,7 +205,7 @@ def bstophimutau_tautoe_line(name='Hlt2RD_BsToKKTauMu_TauToE', prescale=1):
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_same_sign_kaons_sskmu_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_SSK_SSKmu', prescale=0.8):
+        name='Hlt2RD_BsToKKTauMu_TauToE_SSK_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -242,7 +242,7 @@ def bstophimutau_tautoe_same_sign_kaons_sskmu_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_same_sign_kaons_oskmu_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_SSK_OSKmu', prescale=0.4):
+        name='Hlt2RD_BsToKKTauMu_TauToE_SSK_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -279,7 +279,7 @@ def bstophimutau_tautoe_same_sign_kaons_oskmu_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_same_sign_leptons_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_SSl', prescale=0.75):
+        name='Hlt2RD_BsToKKTauMu_TauToE_SSl', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -312,7 +312,7 @@ def bstophimutau_tautoe_same_sign_leptons_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_fakeelectron_from_tau_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_FakeMuonFromTau', prescale=0.03):
+        name='Hlt2RD_BsToKKTauMu_TauToE_FakeMuonFromTau', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -343,7 +343,7 @@ def bstophimutau_tautoe_fakeelectron_from_tau_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_fakemuon_from_b_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_FakeMuonFromB', prescale=0.02):
+        name='Hlt2RD_BsToKKTauMu_TauToE_FakeMuonFromB', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -380,7 +380,7 @@ def bstophimutau_tautoe_fakemuon_from_b_line(
 
 @register_line_builder(all_lines)
 def bstophimutau_tautoe_fakekaon_line(
-        name='Hlt2RD_BsToKKTauMu_TauToE_FakeKaon', prescale=0.05):
+        name='Hlt2RD_BsToKKTauMu_TauToE_FakeKaon', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -484,7 +484,7 @@ def lbtopkmutau_tautoe_ospmu_line(name='Hlt2RD_LbToPKTauMu_TauToE_OSpmu',
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_same_sign_pk_sspmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_SSpK_SSpmu', prescale=0.2):
+        name='Hlt2RD_LbToPKTauMu_TauToE_SSpK_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -523,7 +523,7 @@ def lbtopkmutau_tautoe_same_sign_pk_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_same_sign_pk_ospmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_SSpK_OSpmu', prescale=0.1):
+        name='Hlt2RD_LbToPKTauMu_TauToE_SSpK_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -562,7 +562,7 @@ def lbtopkmutau_tautoe_same_sign_pk_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_same_sign_leptons_sspmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_SSl_SSpmu', prescale=0.2):
+        name='Hlt2RD_LbToPKTauMu_TauToE_SSl_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -596,7 +596,7 @@ def lbtopkmutau_tautoe_same_sign_leptons_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_same_sign_leptons_ospmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_SSl_OSpmu', prescale=0.2):
+        name='Hlt2RD_LbToPKTauMu_TauToE_SSl_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -631,7 +631,7 @@ def lbtopkmutau_tautoe_same_sign_leptons_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakeelectron_from_tau_sspmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromTau_SSpmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -666,7 +666,7 @@ def lbtopkmutau_tautoe_fakeelectron_from_tau_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakeelectron_from_tau_ospmu_line(
         name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromTau_OSpmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -700,7 +700,7 @@ def lbtopkmutau_tautoe_fakeelectron_from_tau_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakemuon_from_b_sspmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromB_SSpmu', prescale=0.015):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromB_SSpmu', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -740,7 +740,7 @@ def lbtopkmutau_tautoe_fakemuon_from_b_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakemuon_from_b_ospmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromB_OSpmu', prescale=0.015):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeMuonFromB_OSpmu', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -780,7 +780,7 @@ def lbtopkmutau_tautoe_fakemuon_from_b_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakeproton_sspmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeProton_SSpmu', prescale=0.08):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeProton_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -820,7 +820,7 @@ def lbtopkmutau_tautoe_fakeproton_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakeproton_ospmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeProton_OSpmu', prescale=0.05):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeProton_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -860,7 +860,7 @@ def lbtopkmutau_tautoe_fakeproton_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakekaon_sspmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeKaon_SSpmu', prescale=0.15):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeKaon_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -899,7 +899,7 @@ def lbtopkmutau_tautoe_fakekaon_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopkmutau_tautoe_fakekaon_ospmu_line(
-        name='Hlt2RD_LbToPKTauMu_TauToE_FakeKaon_OSpmu', prescale=0.01):
+        name='Hlt2RD_LbToPKTauMu_TauToE_FakeKaon_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -1006,7 +1006,7 @@ def bdtokstmutau_tautoe_oskmu_line(name='Hlt2RD_BdToKPiTauMu_TauToE_OSKmu',
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_same_sign_kpi_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_SSKpi_SSKmu', prescale=0.5):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_SSKpi_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1046,7 +1046,7 @@ def bdtokstmutau_tautoe_same_sign_kpi_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_same_sign_kpi_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_SSKpi_OSKmu', prescale=0.5):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_SSKpi_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1086,7 +1086,7 @@ def bdtokstmutau_tautoe_same_sign_kpi_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_same_sign_leptons_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_SSl_SSKmu', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_SSl_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1121,7 +1121,7 @@ def bdtokstmutau_tautoe_same_sign_leptons_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_same_sign_leptons_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_SSl_OSKmu', prescale=0.3):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_SSl_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1157,7 +1157,7 @@ def bdtokstmutau_tautoe_same_sign_leptons_oskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakeelectron_from_tau_sskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromTau_SSKmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1193,7 +1193,7 @@ def bdtokstmutau_tautoe_fakeelectron_from_tau_sskmu_line(
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakeelectron_from_tau_oskmu_line(
         name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromTau_OSKmu',
-        prescale=0.015):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1228,7 +1228,7 @@ def bdtokstmutau_tautoe_fakeelectron_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_SSKmu', prescale=0.01):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1269,7 +1269,7 @@ def bdtokstmutau_tautoe_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_OSKmu', prescale=0.008):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_OSKmu', prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1310,7 +1310,7 @@ def bdtokstmutau_tautoe_fakemuon_from_b_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakekaon_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeKaon_SSKmu', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeKaon_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1351,7 +1351,7 @@ def bdtokstmutau_tautoe_fakekaon_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakekaon_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeKaon_OSKmu', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeKaon_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1392,7 +1392,7 @@ def bdtokstmutau_tautoe_fakekaon_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakepion_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakePion_SSKmu', prescale=0.1):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakePion_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1432,7 +1432,7 @@ def bdtokstmutau_tautoe_fakepion_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakepion_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakePion_OSKmu', prescale=0.15):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakePion_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1500,7 +1500,7 @@ def butokmutau_tautoe_oskmu_line(name='Hlt2RD_BuToKTauMu_TauToE_OSKmu',
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_sskmu_line(name='Hlt2RD_BuToKTauMu_TauToE_SSKmu',
-                                 prescale=0.3):
+                                 prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1528,7 +1528,7 @@ def butokmutau_tautoe_sskmu_line(name='Hlt2RD_BuToKTauMu_TauToE_SSKmu',
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_same_sign_leptons_oskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_SSl_OSKmu', prescale=0.05):
+        name='Hlt2RD_BuToKTauMu_TauToE_SSl_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1560,7 +1560,7 @@ def butokmutau_tautoe_same_sign_leptons_oskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_same_sign_leptons_sskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_SSl_SSKmu', prescale=0.1):
+        name='Hlt2RD_BuToKTauMu_TauToE_SSl_SSKmu', prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1592,7 +1592,7 @@ def butokmutau_tautoe_same_sign_leptons_sskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakeelectron_from_tau_oskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_OSKmu', prescale=0.005):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons_for_bu)
@@ -1625,7 +1625,7 @@ def butokmutau_tautoe_fakeelectron_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakeelectron_from_tau_sskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_SSKmu', prescale=0.005):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons_for_bu)
@@ -1658,7 +1658,7 @@ def butokmutau_tautoe_fakeelectron_from_tau_sskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromB_OSKmu', prescale=0.005):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromB_OSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1696,7 +1696,7 @@ def butokmutau_tautoe_fakemuon_from_b_oskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromB_SSKmu', prescale=0.005):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromB_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1734,7 +1734,7 @@ def butokmutau_tautoe_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakekaon_oskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeKaon_OSKmu', prescale=0.02):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeKaon_OSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
@@ -1771,7 +1771,7 @@ def butokmutau_tautoe_fakekaon_oskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakekaon_sskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeKaon_SSKmu', prescale=0.03):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeKaon_SSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_ee_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_ee_exclusive_hlt2.py
index 6e683c7f9b9..63e21e0074c 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_ee_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_ee_exclusive_hlt2.py
@@ -186,7 +186,7 @@ def bstophitautau_tautoe_line(name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE',
 
 @register_line_builder(all_lines)
 def bstophitautau_tautoe_same_sign_kaons_line(
-        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_SSK', prescale=0.75):
+        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_SSK', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -223,7 +223,7 @@ def bstophitautau_tautoe_same_sign_kaons_line(
 
 @register_line_builder(all_lines)
 def bstophitautau_tautoe_same_sign_electrons_line(
-        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_SSe', prescale=0.5):
+        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_SSe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -259,7 +259,7 @@ def bstophitautau_tautoe_same_sign_electrons_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautoe_fakeelectron_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_FakeElectron',
-        prescale=0.04):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -295,7 +295,7 @@ def bstophitautau_tautoe_fakeelectron_line(
 
 @register_line_builder(all_lines)
 def bstophitautau_tautoe_fakekaon_line(
-        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_FakeKaon', prescale=0.15):
+        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToE_FakeKaon', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -359,7 +359,7 @@ def lbtopktautau_tautoe_line(name='Hlt2RD_LbToPKTauTau_TauToE', prescale=1):
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_same_sign_pK_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_SSpK', prescale=0.2):
+        name='Hlt2RD_LbToPKTauTau_TauToE_SSpK', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -396,7 +396,7 @@ def lbtopktautau_tautoe_same_sign_pK_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_same_sign_electrons_sspe_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_SSe_SSpe', prescale=1):
+        name='Hlt2RD_LbToPKTauTau_TauToE_SSe_SSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -431,7 +431,7 @@ def lbtopktautau_tautoe_same_sign_electrons_sspe_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_same_sign_electrons_ospe_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_SSe_OSpe', prescale=1):
+        name='Hlt2RD_LbToPKTauTau_TauToE_SSe_OSpe', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -466,7 +466,7 @@ def lbtopktautau_tautoe_same_sign_electrons_ospe_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_fakeelectron_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_FakeElectron', prescale=0.05):
+        name='Hlt2RD_LbToPKTauTau_TauToE_FakeElectron', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -502,7 +502,7 @@ def lbtopktautau_tautoe_fakeelectron_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_fakeproton_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_FakeProton', prescale=0.1):
+        name='Hlt2RD_LbToPKTauTau_TauToE_FakeProton', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -539,7 +539,7 @@ def lbtopktautau_tautoe_fakeproton_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautoe_fakekaon_line(
-        name='Hlt2RD_LbToPKTauTau_TauToE_FakeKaon', prescale=0.1):
+        name='Hlt2RD_LbToPKTauTau_TauToE_FakeKaon', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -638,7 +638,7 @@ def bdtoksttautau_tautoe_same_sign_Kpi_line(
 
 @register_line_builder(all_lines)
 def bdtoksttautau_tautoe_same_sign_electrons_sske_line(
-        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_SSe_SSKe', prescale=1):
+        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_SSe_SSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -674,7 +674,7 @@ def bdtoksttautau_tautoe_same_sign_electrons_sske_line(
 
 @register_line_builder(all_lines)
 def bdtoksttautau_tautoe_same_sign_electrons_oske_line(
-        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_SSe_OSKe', prescale=0.1):
+        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_SSe_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -711,7 +711,7 @@ def bdtoksttautau_tautoe_same_sign_electrons_oske_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautoe_fakeelectron_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_FakeElectron',
-        prescale=0.01):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -748,7 +748,7 @@ def bdtoksttautau_tautoe_fakeelectron_line(
 
 @register_line_builder(all_lines)
 def bdtoksttautau_tautoe_fakekaon_line(
-        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_FakeKaon', prescale=0.2):
+        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_FakeKaon', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -786,7 +786,7 @@ def bdtoksttautau_tautoe_fakekaon_line(
 
 @register_line_builder(all_lines)
 def bdtoksttautau_tautoe_fakepion_line(
-        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_FakePion', prescale=0.5):
+        name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToE_FakePion', prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -937,7 +937,7 @@ def bstokstksttautau_tautoe_same_sign_electrons_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautoe_fakeelectron_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToE_FakeElectron',
-        prescale=0.5):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1000,7 +1000,7 @@ def butoktautau_tautoe_line(name='Hlt2RD_BuToKTauTau_TauToE', prescale=0.15):
 
 @register_line_builder(all_lines)
 def butoktautau_tautoe_same_sign_electrons_oske_line(
-        name='Hlt2RD_BuToKTauTau_TauToE_SSe_OSKe', prescale=0.05):
+        name='Hlt2RD_BuToKTauTau_TauToE_SSe_OSKe', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -1031,7 +1031,7 @@ def butoktautau_tautoe_same_sign_electrons_oske_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautoe_same_sign_electrons_sske_line(
-        name='Hlt2RD_BuToKTauTau_TauToE_SSe_SSKe', prescale=0.1):
+        name='Hlt2RD_BuToKTauTau_TauToE_SSe_SSKe', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -1062,7 +1062,7 @@ def butoktautau_tautoe_same_sign_electrons_sske_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautoe_fakeelectron_line(
-        name='Hlt2RD_BuToKTauTau_TauToE_FakeElectron', prescale=0.01):
+        name='Hlt2RD_BuToKTauTau_TauToE_FakeElectron', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -1094,7 +1094,7 @@ def butoktautau_tautoe_fakeelectron_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautoe_fakekaon_line(name='Hlt2RD_BuToKTauTau_TauToE_FakeKaon',
-                                     prescale=0.03):
+                                     prescale=0.0001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
index 2460c3bcc3f..3bc4534f3f2 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
@@ -179,7 +179,7 @@ def bstophitautau_tautomu_line(name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu',
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_same_sign_kaons_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_SSK',
-        prescale=1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -216,7 +216,7 @@ def bstophitautau_tautomu_same_sign_kaons_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_same_sign_muons_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_SSMu',
-        prescale=0.1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -253,7 +253,7 @@ def bstophitautau_tautomu_same_sign_muons_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_fakemuon_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_FakeMu',
-        prescale=0.02,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -285,7 +285,7 @@ def bstophitautau_tautomu_fakemuon_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_fakekaon_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_FakeK',
-        prescale=0.2,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -379,7 +379,7 @@ def lbtopktautau_tautomu_same_sign_pK_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_same_sign_muons_sspmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_SSMu_SSPMu',
-        prescale=0.1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -417,7 +417,7 @@ def lbtopktautau_tautomu_same_sign_muons_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_same_sign_muons_ospmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_SSMu_OSPMu',
-        prescale=0.1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -455,7 +455,7 @@ def lbtopktautau_tautomu_same_sign_muons_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_fakemuon_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_FakeMu',
-        prescale=0.02,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -487,7 +487,7 @@ def lbtopktautau_tautomu_fakemuon_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_fakeproton_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeP', prescale=0.1,
+        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeP', prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
@@ -518,7 +518,7 @@ def lbtopktautau_tautomu_fakeproton_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_fakekaon_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeK', prescale=0.2,
+        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeK', prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
@@ -615,7 +615,7 @@ def bdtoksttautau_tautomu_same_sign_Kpi_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_same_sign_muons_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_SSMu_SSKMu',
-        prescale=0.5,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -653,7 +653,7 @@ def bdtoksttautau_tautomu_same_sign_muons_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_same_sign_muons_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_SSMu_OSKMu',
-        prescale=0.5,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -691,7 +691,7 @@ def bdtoksttautau_tautomu_same_sign_muons_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_fakemuon_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_FakeMu',
-        prescale=0.008,
+        prescale=0.00001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -724,7 +724,7 @@ def bdtoksttautau_tautomu_fakemuon_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_fakekaon_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_FakeK',
-        prescale=0.1,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -756,7 +756,7 @@ def bdtoksttautau_tautomu_fakekaon_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_fakepion_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_FakePi',
-        prescale=1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -821,7 +821,7 @@ def bstokstksttautau_tautomu_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_same_sign_kstar_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_SSKst',
-        prescale=1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -860,7 +860,7 @@ def bstokstksttautau_tautomu_same_sign_kstar_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_same_sign_muons_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_SSMu',
-        prescale=1,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -904,7 +904,7 @@ def bstokstksttautau_tautomu_same_sign_muons_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_fakemuon_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_FakeMu',
-        prescale=0.1,
+        prescale=0.01,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -968,7 +968,7 @@ def butoktautau_tautomu_line(name='Hlt2RD_BuToKTauTau_TauToMu',
 @register_line_builder(all_lines)
 def butoktautau_tautomu_same_sign_muons_oskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_SSMu_OSKMu',
-        prescale=0.3,
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1001,7 +1001,7 @@ def butoktautau_tautomu_same_sign_muons_oskmu_line(
 @register_line_builder(all_lines)
 def butoktautau_tautomu_same_sign_muons_sskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_SSMu_SSKMu',
-        prescale=0.3,
+        prescale=0.0001,
         persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1033,7 +1033,7 @@ def butoktautau_tautomu_same_sign_muons_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_fakemuon_line(name='Hlt2RD_BuToKTauTau_TauToMu_FakeMu',
-                                      prescale=0.01,
+                                      prescale=0.00001,
                                       persistreco=False):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
@@ -1060,7 +1060,7 @@ def butoktautau_tautomu_fakemuon_line(name='Hlt2RD_BuToKTauTau_TauToMu_FakeMu',
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_fakekaon_line(name='Hlt2RD_BuToKTauTau_TauToMu_FakeK',
-                                      prescale=0.1,
+                                      prescale=0.001,
                                       persistreco=False):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
index 0359fad30aa..24aa5bdc386 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
@@ -161,7 +161,7 @@ kwargs_electrons_reverse_pid = {
 
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_line(
-        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE', prescale=0.1):
+        name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE', prescale=1):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -192,7 +192,7 @@ def bstophitautau_tautomu_tautoe_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_same_sign_kaons_sskmu_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_SSK_SSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -229,7 +229,7 @@ def bstophitautau_tautomu_tautoe_same_sign_kaons_sskmu_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_same_sign_kaons_oskmu_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_SSK_OSKmu',
-        prescale=0.5):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -267,7 +267,7 @@ def bstophitautau_tautomu_tautoe_same_sign_kaons_oskmu_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_same_sign_mues_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_SSemu',
-        prescale=0.5):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -304,7 +304,7 @@ def bstophitautau_tautomu_tautoe_same_sign_mues_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_fakemuon_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_FakeMuon',
-        prescale=0.004):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_muons = rdbuilder_thor.make_rd_detached_muons(
@@ -341,7 +341,7 @@ def bstophitautau_tautomu_tautoe_fakemuon_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_fakeelectron_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_FakeElectron',
-        prescale=0.04):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -378,7 +378,7 @@ def bstophitautau_tautomu_tautoe_fakeelectron_line(
 @register_line_builder(all_lines)
 def bstophitautau_tautomu_tautoe_fakekaon_line(
         name='Hlt2RD_BsToPhiTauTau_PhiToKK_TauToMu_TauToE_FakeKaon',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
@@ -412,7 +412,7 @@ def bstophitautau_tautomu_tautoe_fakekaon_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_sspmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpmu', prescale=0.1):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpmu', prescale=1):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -475,7 +475,7 @@ def lbtopktautau_tautomu_tautoe_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_same_sign_pK_sspmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpK_SSpmu', prescale=1):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpK_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -512,7 +512,7 @@ def lbtopktautau_tautomu_tautoe_same_sign_pK_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_same_sign_pK_ospmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpK_OSpmu', prescale=1):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSpK_OSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -550,7 +550,7 @@ def lbtopktautau_tautomu_tautoe_same_sign_pK_ospmu_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_same_sign_emus_sspmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_SSpmu', prescale=1):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_SSpmu', prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -587,7 +587,7 @@ def lbtopktautau_tautomu_tautoe_same_sign_emus_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_same_sign_emus_ospmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_OSpmu', prescale=0.1):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_OSpmu', prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -625,7 +625,7 @@ def lbtopktautau_tautomu_tautoe_same_sign_emus_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakemuon_sspmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeMuon_SSpmu',
-        prescale=0.01):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -663,7 +663,7 @@ def lbtopktautau_tautomu_tautoe_fakemuon_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakemuon_ospmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeMuon_OSpmu',
-        prescale=0.04):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -702,7 +702,7 @@ def lbtopktautau_tautomu_tautoe_fakemuon_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakeelectron_sspmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeElectron_SSpmu',
-        prescale=0.02):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -740,7 +740,7 @@ def lbtopktautau_tautomu_tautoe_fakeelectron_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakeelectron_ospmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeElectron_OSpmu',
-        prescale=0.02):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -779,7 +779,7 @@ def lbtopktautau_tautomu_tautoe_fakeelectron_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakeproton_sspmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeProton_SSpmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -813,7 +813,7 @@ def lbtopktautau_tautomu_tautoe_fakeproton_sspmu_line(
 
 def lbtopktautau_tautomu_tautoe_fakeproton_ospmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeProton_OSpmu',
-        prescale=0.05):
+        prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
         **kwargs_protons_reverse_pid)
@@ -849,7 +849,7 @@ def lbtopktautau_tautomu_tautoe_fakeproton_ospmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakekaon_sspmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeKaon_SSpmu',
-        prescale=0.1):
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -883,7 +883,7 @@ def lbtopktautau_tautomu_tautoe_fakekaon_sspmu_line(
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_fakekaon_ospmu_line(
         name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_FakeKaon_OSpmu',
-        prescale=0.4):
+        prescale=0.001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_reverse_pid)
@@ -918,7 +918,7 @@ def lbtopktautau_tautomu_tautoe_fakekaon_ospmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_SSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -950,7 +950,7 @@ def bdtoksttautau_tautomu_tautoe_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_OSKmu',
-        prescale=0.2):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -983,7 +983,7 @@ def bdtoksttautau_tautomu_tautoe_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_same_sign_Kpi_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_SSKpi_SSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1021,7 +1021,7 @@ def bdtoksttautau_tautomu_tautoe_same_sign_Kpi_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_same_sign_Kpi_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_SSKpi_OSKmu',
-        prescale=0.5):
+        prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1060,7 +1060,7 @@ def bdtoksttautau_tautomu_tautoe_same_sign_Kpi_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_same_sign_mues_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_SSmue_SSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1098,7 +1098,7 @@ def bdtoksttautau_tautomu_tautoe_same_sign_mues_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_same_sign_mues_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_SSmue_OSKmu',
-        prescale=0.2):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1136,7 +1136,7 @@ def bdtoksttautau_tautomu_tautoe_same_sign_mues_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakemuon_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeMuon_SSKmu',
-        prescale=0.02):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1174,7 +1174,7 @@ def bdtoksttautau_tautomu_tautoe_fakemuon_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakemuon_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeMuon_OSKmu',
-        prescale=0.02):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1213,7 +1213,7 @@ def bdtoksttautau_tautomu_tautoe_fakemuon_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakeelectron_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeElectron_SSKmu',
-        prescale=0.02):
+        prescale=0.01):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1251,7 +1251,7 @@ def bdtoksttautau_tautomu_tautoe_fakeelectron_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakeelectron_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeElectron_OSKmu',
-        prescale=0.02):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1290,7 +1290,7 @@ def bdtoksttautau_tautomu_tautoe_fakeelectron_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakekaon_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeKaon_SSKmu',
-        prescale=0.4):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1325,7 +1325,7 @@ def bdtoksttautau_tautomu_tautoe_fakekaon_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakekaon_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakeKaon_OSKmu',
-        prescale=0.05):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_kstar_reverse_pid)
@@ -1361,7 +1361,7 @@ def bdtoksttautau_tautomu_tautoe_fakekaon_oskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakepion_sskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakePion_SSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1395,7 +1395,7 @@ def bdtoksttautau_tautomu_tautoe_fakepion_sskmu_line(
 @register_line_builder(all_lines)
 def bdtoksttautau_tautomu_tautoe_fakepion_oskmu_line(
         name='Hlt2RD_BdToKstTauTau_KstToKPi_TauToMu_TauToE_FakePion_OSKmu',
-        prescale=0.1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions_reverse_pid)
@@ -1466,7 +1466,7 @@ def bstokstksttautau_tautomu_tautoe_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_tautoe_same_sign_kstar_sskstmu_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_TauToE_SSKst_SSKstmu',
-        prescale=1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1508,7 +1508,7 @@ def bstokstksttautau_tautomu_tautoe_same_sign_kstar_sskstmu_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_tautoe_same_sign_kstar_oskstmu_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_TauToE_SSKst_OSKstmu',
-        prescale=1):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1598,7 +1598,7 @@ def bstokstksttautau_tautomu_tautoe_same_sign_mues_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_tautoe_fakemuon_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_TauToE_FakeMuon',
-        prescale=0.01):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1641,7 +1641,7 @@ def bstokstksttautau_tautomu_tautoe_fakemuon_line(
 @register_line_builder(all_lines)
 def bstokstksttautau_tautomu_tautoe_fakeelectron_line(
         name='Hlt2RD_BsToKstKstTauTau_KstToKPi_TauToMu_TauToE_FakeElectron',
-        prescale=0.01):
+        prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1739,7 +1739,7 @@ def butoktautau_tautomu_tautoe_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_same_sign_mues_oskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_SSmue_OSKmu', prescale=0.05):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_SSmue_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -1771,7 +1771,7 @@ def butoktautau_tautomu_tautoe_same_sign_mues_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_same_sign_mues_sskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_SSmue_SSKmu', prescale=0.5):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_SSmue_SSKmu', prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons)
@@ -1804,7 +1804,7 @@ def butoktautau_tautomu_tautoe_same_sign_mues_sskmu_line(
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakemuon_sskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeMuon_SSKmu',
-        prescale=0.01):
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -1837,7 +1837,7 @@ def butoktautau_tautomu_tautoe_fakemuon_sskmu_line(
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakemuon_oskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeMuon_OSKmu',
-        prescale=0.01):
+        prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(**kwargs_electrons)
@@ -1871,7 +1871,7 @@ def butoktautau_tautomu_tautoe_fakemuon_oskmu_line(
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakeelectron_sskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeElectron_SSKmu',
-        prescale=0.005):
+        prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     fake_electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1904,7 +1904,7 @@ def butoktautau_tautomu_tautoe_fakeelectron_sskmu_line(
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakeelectron_oskmu_line(
         name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeElectron_OSKmu',
-        prescale=0.01):
+        prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     fake_electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1937,7 +1937,7 @@ def butoktautau_tautomu_tautoe_fakeelectron_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakekaon_sskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_SSKmu', prescale=0.1):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_SSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
@@ -1968,7 +1968,7 @@ def butoktautau_tautomu_tautoe_fakekaon_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakekaon_oskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_OSKmu', prescale=0.1):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_OSKmu', prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
-- 
GitLab


From 4091903b9e554f8fb8b1cee849cf4a7a4f4ffc94 Mon Sep 17 00:00:00 2001
From: Lakshan Ram <lakshan.ram@cern.ch>
Date: Fri, 10 May 2024 18:58:59 +0200
Subject: [PATCH 2/3] remove todo and scalling used for testing

---
 .../python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
index 1f02d2b12d2..7f7e0026ae3 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
@@ -1068,7 +1068,7 @@ def bdtokstetau_tautomu_same_sign_kpi_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_same_sign_muons_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_SSKmu', prescale=0.7):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_SSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1101,8 +1101,8 @@ def bdtokstetau_tautomu_same_sign_muons_sskmu_line(
 
 
 @register_line_builder(all_lines)
-def bdtokstetau_tautomu_same_sign_muons_oskmu_line( #TODO possible error in line
-        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_OSKmu', prescale=0.7):
+def bdtokstetau_tautomu_same_sign_muons_oskmu_line( 
+        name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
-- 
GitLab


From a5591f02cc42c580eeefe94a68f1ea2afc74f531 Mon Sep 17 00:00:00 2001
From: Lakshan Ram <lakshan.ram@cern.ch>
Date: Fri, 10 May 2024 19:07:31 +0200
Subject: [PATCH 3/3] formatting

---
 .../Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py   | 14 +++++++++-----
 .../lines/rd/btosetau_tau_to_e_exclusive_hlt2.py   |  6 ++++--
 .../lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py  |  9 ++++++---
 .../Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py |  6 ++++--
 .../lines/rd/btostautau_mue_exclusive_hlt2.py      |  9 ++++++---
 5 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
index 7f7e0026ae3..c6db274067e 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_exclusive_hlt2.py
@@ -1101,7 +1101,7 @@ def bdtokstetau_tautomu_same_sign_muons_sskmu_line(
 
 
 @register_line_builder(all_lines)
-def bdtokstetau_tautomu_same_sign_muons_oskmu_line( 
+def bdtokstetau_tautomu_same_sign_muons_oskmu_line(
         name='Hlt2RD_BdToKPiTauE_TauToMu_SSl_OSKmu', prescale=0.001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
@@ -1206,7 +1206,8 @@ def bdtokstetau_tautomu_fakemuon_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_SSKmu', prescale=0.0001):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_SSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1246,7 +1247,8 @@ def bdtokstetau_tautomu_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstetau_tautomu_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_OSKmu', prescale=0.0001):
+        name='Hlt2RD_BdToKPiTauE_TauToMu_FakeMuonFromB_OSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1568,7 +1570,8 @@ def butoketau_tautomu_same_sign_muons_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_tau_oskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_OSKmu', prescale=0.0001):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_OSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
@@ -1602,7 +1605,8 @@ def butoketau_tautomu_fakemuon_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautomu_fakemuon_from_tau_sskmu_line(
-        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_SSKmu', prescale=0.0001):
+        name='Hlt2RD_BuToKTauE_TauToMu_FakeMuonFromTau_SSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons = rdbuilder_thor.make_rd_detached_electrons(
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
index 5590766c420..1e1a12425c4 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosetau_tau_to_e_exclusive_hlt2.py
@@ -1646,7 +1646,8 @@ def butoketau_tautoe_fakeelectron_from_tau_sske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_b_oske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_OSKe', prescale=0.0001):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_OSKe',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
@@ -1684,7 +1685,8 @@ def butoketau_tautoe_fakeelectron_from_b_oske_line(
 
 @register_line_builder(all_lines)
 def butoketau_tautoe_fakeelectron_from_b_sske_line(
-        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_SSKe', prescale=0.0001):
+        name='Hlt2RD_BuToKTauE_TauToE_FakeelectronFromB_SSKe',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     electrons_from_tau = rdbuilder_thor.make_rd_detached_electrons(
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
index 54f3c514c38..7b581761f9b 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btosmutau_tau_to_e_exclusive_hlt2.py
@@ -1228,7 +1228,8 @@ def bdtokstmutau_tautoe_fakeelectron_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakemuon_from_b_sskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_SSKmu', prescale=0.0001):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_SSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1269,7 +1270,8 @@ def bdtokstmutau_tautoe_fakemuon_from_b_sskmu_line(
 
 @register_line_builder(all_lines)
 def bdtokstmutau_tautoe_fakemuon_from_b_oskmu_line(
-        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_OSKmu', prescale=0.00001):
+        name='Hlt2RD_BdToKPiTauMu_TauToE_FakeMuonFromB_OSKmu',
+        prescale=0.00001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_kstar)
     pions = rdbuilder_thor.make_rd_detached_pions(**kwargs_pions)
@@ -1625,7 +1627,8 @@ def butokmutau_tautoe_fakeelectron_from_tau_oskmu_line(
 
 @register_line_builder(all_lines)
 def butokmutau_tautoe_fakeelectron_from_tau_sskmu_line(
-        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_SSKmu', prescale=0.0001):
+        name='Hlt2RD_BuToKTauMu_TauToE_FakeMuonFromTau_SSKmu',
+        prescale=0.0001):
     pvs = make_pvs()
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons_for_bu)
     muons = rdbuilder_thor.make_rd_detached_muons(**kwargs_muons_for_bu)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
index 3bc4534f3f2..5b2194191f6 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_exclusive_hlt2.py
@@ -487,7 +487,8 @@ def lbtopktautau_tautomu_fakemuon_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_fakeproton_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeP', prescale=0.001,
+        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeP',
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(
@@ -518,7 +519,8 @@ def lbtopktautau_tautomu_fakeproton_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_fakekaon_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeK', prescale=0.001,
+        name='Hlt2RD_LbToPKTauTau_TauToMu_FakeK',
+        prescale=0.001,
         persistreco=False):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
index 24aa5bdc386..d4fd57c5289 100644
--- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
+++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/btostautau_mue_exclusive_hlt2.py
@@ -587,7 +587,8 @@ def lbtopktautau_tautomu_tautoe_same_sign_emus_sspmu_line(
 
 @register_line_builder(all_lines)
 def lbtopktautau_tautomu_tautoe_same_sign_emus_ospmu_line(
-        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_OSpmu', prescale=0.0001):
+        name='Hlt2RD_LbToPKTauTau_TauToMu_TauToE_SSemu_OSpmu',
+        prescale=0.0001):
     pvs = make_pvs()
     protons = rdbuilder_thor.make_rd_detached_protons(**kwargs_protons)
     kaons = rdbuilder_thor.make_rd_detached_kaons(**kwargs_kaons)
@@ -1937,7 +1938,8 @@ def butoktautau_tautomu_tautoe_fakeelectron_oskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakekaon_sskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_SSKmu', prescale=0.001):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_SSKmu',
+        prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
@@ -1968,7 +1970,8 @@ def butoktautau_tautomu_tautoe_fakekaon_sskmu_line(
 
 @register_line_builder(all_lines)
 def butoktautau_tautomu_tautoe_fakekaon_oskmu_line(
-        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_OSKmu', prescale=0.001):
+        name='Hlt2RD_BuToKTauTau_TauToMu_TauToE_FakeKaon_OSKmu',
+        prescale=0.001):
     pvs = make_pvs()
     fake_kaons = rdbuilder_thor.make_rd_detached_kaons(
         **kwargs_kaons_for_bu_reverse_pid)
-- 
GitLab