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

Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/DaVinci/-/jobs/12873804
parent 8981c9fd
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!520Change track cut, add D0->KK
...@@ -165,3 +165,21 @@ def make_std_loose_jpsi2mumu(): ...@@ -165,3 +165,21 @@ def make_std_loose_jpsi2mumu():
DaughtersCuts=daughters_code, DaughtersCuts=daughters_code,
CombinationCut=combination_code, CombinationCut=combination_code,
MotherCut=vertex_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(): ...@@ -157,7 +157,7 @@ def default_track_cuts():
""" """
Return a string with the 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(): 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