diff --git a/Phys/DaVinci/python/DaVinci/common_particles.py b/Phys/DaVinci/python/DaVinci/common_particles.py index 4d463b545ac4773dff02fdbcef8c17c5257ea563..67493901f8ca151011fe1f4ee5539a2a9b29d531 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 84d92fa409a46b6b11b2610b5a636ce0853bb523..45504025ffdee0e2a2f25847546e0be83b24642e 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():