From 0f5ae04efe4fa914fbc007e4876a303399c1e170 Mon Sep 17 00:00:00 2001 From: Patrick Koppenburg <patrick.koppenburg@cern.ch> Date: Thu, 25 Mar 2021 19:55:54 +0000 Subject: [PATCH] Fixed formatting patch generated by https://gitlab.cern.ch/lhcb/DaVinci/-/jobs/12873804 --- .../DaVinci/python/DaVinci/common_particles.py | 18 ++++++++++++++++++ .../python/DaVinci/filters_selectors.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Phys/DaVinci/python/DaVinci/common_particles.py b/Phys/DaVinci/python/DaVinci/common_particles.py index 4d463b545..67493901f 100644 --- a/Phys/DaVinci/python/DaVinci/common_particles.py +++ b/Phys/DaVinci/python/DaVinci/common_particles.py @@ -165,3 +165,21 @@ def make_std_loose_jpsi2mumu(): DaughtersCuts=daughters_code, CombinationCut=combination_code, MotherCut=vertex_code) + + +@configurable +def make_std_loose_d2kk(): + kaons = make_std_loose_kaons() + descriptors = ["D0 -> K+ K-"] + daughters_code = {"K+": "ALL", "K-": "ALL"} + combination_code = "(ADAMASS('D0') < 100.*MeV) & (ADOCACHI2CUT(30,''))" + vertex_code = "(CHI2VX < 25.)" + + return ParticleCombinerWithPVs( + name="StdLooseD02KK", + particles=kaons, + pvs=_make_pvs(), + DecayDescriptors=descriptors, + DaughtersCuts=daughters_code, + CombinationCut=combination_code, + MotherCut=vertex_code) diff --git a/Phys/DaVinci/python/DaVinci/filters_selectors.py b/Phys/DaVinci/python/DaVinci/filters_selectors.py index 84d92fa40..45504025f 100644 --- a/Phys/DaVinci/python/DaVinci/filters_selectors.py +++ b/Phys/DaVinci/python/DaVinci/filters_selectors.py @@ -157,7 +157,7 @@ def default_track_cuts(): """ Return a string with the default track cuts. """ - return require_all("TrCHI2<5", "~TrCLONE") + return require_all("TrCHI2<25", "~TrCLONE") def default_particle_cuts(): -- GitLab