Skip to content
Snippets Groups Projects

Lb2D0Lz Run3

Merged Dong Ao requested to merge aodong/Lb2DL into master
1 unresolved thread
2 files
+ 8
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -267,7 +267,7 @@ def event_variables(PVs, ODIN, decreports, lines):
def alg_config_LbToD0Lz(options:Options, tracktype="LL",Dstate="HH"):
name=f"LbToD0Lz{tracktype}_D02{Dstate}"
line=f"SpruceB2OC_LbToLambdatest{tracktype}D0_D0To{Dstate}"
line=f"SpruceB2OC_LbToLambda{tracktype}D0_D0To{Dstate}"
evtpath_prefix = "/Event/Spruce/"
line_data =get_particles(f"{evtpath_prefix}{line}/Particles")
my_filter = create_lines_filter(name=f"PreFilter_{line}", lines=[f"{line}"])
@@ -413,16 +413,19 @@ def alg_config_LbToD0Lz(options:Options, tracktype="LL",Dstate="HH"):
}
if tracktype=="HH":
if Dstate=="HH":
variables["Dz"] = all_variables(pvs, _composite, 2) + composite_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _composite)
variables["Dz_Km"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
variables["Dz_pip"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
elif tracktype=="HHHH":
elif Dstate=="HHHH":
variables["Dz"] = all_variables(pvs, _composite, 4) + composite_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _composite)
variables["Dz_Km"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
variables["Dz_pip1"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
variables["Dz_pim"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
variables["Dz_pip2"] = all_variables(pvs, _basic ) + daughter_variables + make_dtf_variables_lb2d0lz(pvs, line_data, _basic)
else:
print("expect HH or HHHH!")
exit()
if options.simulation:
# get configured "MCTruthAndBkgCatAlg" algorithm for HLT2 output
Loading