Skip to content
Snippets Groups Projects

NOPID configuration flags for selection

Merged Ivan Polyakov requested to merge bandq_ipolyako_nopid into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -84,13 +84,13 @@ def make_charmonium_muons(make_particles=make_muons,
pvs = make_pvs()
code = F.require_all(F.PT > minPt_muon, F.ISMUON, F.P > minP_muon,
code = F.require_all(F.PT > minPt_muon, F.P > minP_muon,
F.MINIPCHI2(pvs) > minIPChi2_muon,
F.MINIP(pvs) > minIP_muon)
# ignoring minPIDmu cut here, thus ignoring it in ALL lines in this file
if not nopid_muons():
code &= F.require_all(F.PID_MU > minPIDmu)
code &= F.require_all(F.ISMUON, F.PID_MU > minPIDmu)
if maxIPChi2_muon is not None:
code &= (F.MINIPCHI2(pvs) < maxIPChi2_muon)
Loading