SLB Nov Hackathon: Remove PID cuts for MC in all lines
Add a no_pid()
flag in the base makers so that all PID cuts are removed from Hlt2 and Spruce. This is helpful when running over MC (builds on from previous MR)
- Removes DLL cuts for pions, kaon, protons and muons in base candidate maker:
make_candidate
- Removes
IsMuon
from:make_ismuon_long_muon
- Removes
DLLe
cuts in:make_detached_dielectron_for_b2lllnu
,make_gammaLL_for_b2lllnu
andmake_gammaDD_for_b2lllnu
.
This can be switched on in the DaVinci:
from Hlt2Conf.lines.config_pid import no_pid_sl
from Hlt2Conf.lines.semileptonic import make_b0todplnu_dptokpipi_fakelepton
# remove all PID cuts in B builder
with no_pid_sl.bind(ignore_pid=True):
b0 = make_b0todplnu_dptokpipi_fakelepton()
tuple = FunTuple(input=b0,...)
Edited by Abhijit Mathad