Skip to content
Snippets Groups Projects
Commit c8ccca7d authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves:
Browse files

Merge branch 'pkoppenb-trackCut' into 'master'

Change track cut, add D0->KK

See merge request lhcb/DaVinci!520
parents 8981c9fd 0f5ae04e
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!520Change track cut, add D0->KK
Pipeline #2435606 passed
......@@ -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)
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment