diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/b_to_jpsiX_NoMuonID.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/b_to_jpsiX_NoMuonID.py index a4b86ec9842b6cf76a8dfb4acebd6ee4d81ce962..aed091e199c1a5d4d2329f4dc993a376c3e8ad5a 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/b_to_jpsiX_NoMuonID.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/b_to_jpsiX_NoMuonID.py @@ -34,7 +34,7 @@ from Hlt2Conf.lines.bandq.builders.charged_hadrons import make_detached_kaons, m def make_NoMuonID_muons( make_particles=make_long_muons, name="bandq_NoMuonID_muons_{hash}", - pt_min=300. * MeV, + pt_min=500. * MeV, p_min=4 * GeV, p_max=200. * GeV, eta_min=2., @@ -56,6 +56,29 @@ def make_NoMuonID_muons( return ParticleFilter(make_particles(), name=name, Cut=F.FILTER(code)) +@configurable +def make_NoMuonID_NoRICHID_muons(make_particles=make_long_muons, + name="bandq_NoMuonID_muons_{hash}", + pt_min=500. * MeV, + p_min=4 * GeV, + p_max=200. * GeV, + eta_min=2., + eta_max=5., + mipchi2dvprimary_min=9, + pid=None): + + pvs = make_pvs() + + code = require_all(F.PT > pt_min, in_range(p_min, F.P, p_max), + in_range(eta_min, F.ETA, eta_max), + F.MINIPCHI2(pvs) > mipchi2dvprimary_min) + + if (pid is not None): + code &= pid + + return ParticleFilter(make_particles(), name=name, Cut=F.FILTER(code)) + + @configurable def make_detached_kaons_forB2JpsiX_NoMuonID( make_particles=make_detached_kaons, @@ -132,10 +155,10 @@ def make_detachedKPi_forB2JpsiX_NoMuonID( def make_detachedKst_forB2JpsiX_NoMuonID( KPi_comb=make_detachedKPi_forB2JpsiX_NoMuonID, name="bandq_detachedKst_forB2JpsiX_NoMuonID_{hash}", - m_min=800. * MeV, - m_max=1000. * MeV): + m_max=1100. * MeV, + PT_min=600. * MeV): - code = in_range(m_min, F.MASS, m_max) + code = F.require_all(F.MASS < m_max, F.PT > PT_min) return ParticleFilter(KPi_comb(), name=name, Cut=F.FILTER(code)) @@ -169,9 +192,10 @@ def make_detachedKK_forB2JpsiX_NoMuonID( def make_detachedPhi_forB2JpsiX_NoMuonID( KK_comb=make_detachedKK_forB2JpsiX_NoMuonID, name="bandq_detachedPhi_forB2JpsiX_NoMuonID_{hash}", - m_max=1300. * MeV): + m_max=1100. * MeV, + PT_min=400. * MeV): - code = (F.MASS < m_max) + code = F.require_all(F.MASS < m_max, F.PT > PT_min) return ParticleFilter(KK_comb(), name=name, Cut=F.FILTER(code)) @@ -180,13 +204,13 @@ def make_detachedPhi_forB2JpsiX_NoMuonID( def make_Jpsi_NoMuonID(muons=make_NoMuonID_muons, name="bandq_Jpsi_NoMuonID_{hash}", descriptor='J/psi(1S) -> mu+ mu-', - am_min=2996. * MeV, - am_max=3196. * MeV, + am_min=2936. * MeV, + am_max=3256. * MeV, apt_min=600 * MeV, maxdocachi2=20., - m_min=3036. * MeV, - m_max=3156. * MeV, - pt_min=1000 * MeV, + m_min=2946. * MeV, + m_max=3246. * MeV, + pt_min=1200 * MeV, bpvdls_min=3): pvs = make_pvs() @@ -207,19 +231,86 @@ def make_Jpsi_NoMuonID(muons=make_NoMuonID_muons, CompositeCut=vertex_code) +@configurable +def make_Jpsi_pTag_NoMuonID(muonp=make_NoMuonID_muons, + muonm=make_NoMuonID_NoRICHID_muons, + name="bandq_Jpsi_pTag_NoMuonID_{hash}", + descriptor='J/psi(1S) -> mu+ mu-', + am_min=2936. * MeV, + am_max=3256. * MeV, + apt_min=600 * MeV, + maxdocachi2=20., + m_min=2946. * MeV, + m_max=3246. * MeV, + pt_min=1200 * MeV, + bpvdls_min=3): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), F.MAXSDOCACHI2CUT(maxdocachi2), + (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), (F.PT > pt_min), + F.BPVDLS(pvs) > bpvdls_min) + + return ParticleCombiner( + name=name, + Inputs=[muonp(), muonm()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + +@configurable +def make_Jpsi_mTag_NoMuonID(muonm=make_NoMuonID_muons, + muonp=make_NoMuonID_NoRICHID_muons, + name="bandq_Jpsi_mTag_NoMuonID_{hash}", + descriptor='J/psi(1S) -> mu+ mu-', + am_min=2936. * MeV, + am_max=3256. * MeV, + apt_min=600 * MeV, + maxdocachi2=20., + m_min=2946. * MeV, + m_max=3246. * MeV, + pt_min=1200 * MeV, + bpvdls_min=3): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), F.MAXSDOCACHI2CUT(maxdocachi2), + (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), (F.PT > pt_min), + F.BPVDLS(pvs) > bpvdls_min) + + return ParticleCombiner( + name=name, + Inputs=[muonp(), muonm()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + @configurable def make_Bp2JpsiKp_NoMuonID(Jpsi=make_Jpsi_NoMuonID, kaons=make_detached_kaons_forB2JpsiX_NoMuonID, name="bandq_Bp2JpsiKp_NoMuonID_{hash}", descriptor='[B+ -> J/psi(1S) K+]cc', - am_min=5190. * MeV, - am_max=5370. * MeV, + am_min=4940. * MeV, + am_max=5460. * MeV, apt_min=1200 * MeV, - m_min=5200. * MeV, - m_max=5360. * MeV, + m_min=4950. * MeV, + m_max=5450. * MeV, pt_min=1400 * MeV, vtx_chi2pdof_max=16, - bpvltime_min=0.2 * picosecond): + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9999, + bpvltime_min=0.19 * picosecond): pvs = make_pvs() @@ -229,6 +320,82 @@ def make_Bp2JpsiKp_NoMuonID(Jpsi=make_Jpsi_NoMuonID, vertex_code = F.require_all( in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, + in_range(delta_m_min, F.MASS - F.CHILD(1, F.MASS), delta_m_max), + F.BPVLTIME(pvs) > bpvltime_min) + + return ParticleCombiner( + name=name, + Inputs=[Jpsi(), kaons()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + +@configurable +def make_Bp2JpsiKp_pTag_NoMuonID(Jpsi=make_Jpsi_pTag_NoMuonID, + kaons=make_detached_kaons_forB2JpsiX_NoMuonID, + name="bandq_Bp2JpsiKp_pTag_NoMuonID_{hash}", + descriptor='[B+ -> J/psi(1S) K+]cc', + am_min=4740. * MeV, + am_max=5760. * MeV, + apt_min=1200 * MeV, + m_min=4750. * MeV, + m_max=5750. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, + in_range(delta_m_min, F.MASS - F.CHILD(1, F.MASS), delta_m_max), + F.BPVLTIME(pvs) > bpvltime_min) + + return ParticleCombiner( + name=name, + Inputs=[Jpsi(), kaons()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + +@configurable +def make_Bp2JpsiKp_mTag_NoMuonID(Jpsi=make_Jpsi_mTag_NoMuonID, + kaons=make_detached_kaons_forB2JpsiX_NoMuonID, + name="bandq_Bp2JpsiKp_mTag_NoMuonID_{hash}", + descriptor='[B+ -> J/psi(1S) K+]cc', + am_min=4740. * MeV, + am_max=5760. * MeV, + apt_min=1200 * MeV, + m_min=4750. * MeV, + m_max=5750. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, + in_range(delta_m_min, F.MASS - F.CHILD(1, F.MASS), delta_m_max), F.BPVLTIME(pvs) > bpvltime_min) return ParticleCombiner( @@ -241,17 +408,58 @@ def make_Bp2JpsiKp_NoMuonID(Jpsi=make_Jpsi_NoMuonID, @configurable def make_Bz2JpsiKpPim_NoMuonID(Jpsi=make_Jpsi_NoMuonID, - KPi_comb=make_detachedKPi_forB2JpsiX_NoMuonID, + KPi_comb=make_detachedKst_forB2JpsiX_NoMuonID, name="bandq_Bz2JpsiKpPim_NoMuonID_{hash}", descriptor='[B0 -> K*(892)0 J/psi(1S)]cc', - am_min=5190. * MeV, - am_max=5370. * MeV, + am_min=4940. * MeV, + am_max=5460. * MeV, apt_min=1200 * MeV, - m_min=5200. * MeV, - m_max=5360. * MeV, + m_min=4950. * MeV, + m_max=5450. * MeV, pt_min=1400 * MeV, vtx_chi2pdof_max=16, - bpvltime_min=0.2 * picosecond): + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9997, + bpvltime_min=0.19 * picosecond): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + (F.PT > pt_min), + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), + F.BPVDIRA(pvs) > bpv_dira_min, + F.BPVLTIME(pvs) > bpvltime_min) + + return ParticleCombiner( + name=name, + Inputs=[KPi_comb(), Jpsi()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + +@configurable +def make_Bz2JpsiKst_pTag_NoMuonID( + Jpsi=make_Jpsi_pTag_NoMuonID, + KPi_comb=make_detachedKst_forB2JpsiX_NoMuonID, + name="bandq_Bz2JpsiKst_pTag_NoMuonID_{hash}", + descriptor='[B0 -> K*(892)0 J/psi(1S)]cc', + am_min=4740. * MeV, + am_max=5760. * MeV, + apt_min=1200 * MeV, + m_min=4750. * MeV, + m_max=5750. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): pvs = make_pvs() @@ -261,6 +469,8 @@ def make_Bz2JpsiKpPim_NoMuonID(Jpsi=make_Jpsi_NoMuonID, vertex_code = F.require_all( in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, (F.PT > pt_min), + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), + F.BPVDIRA(pvs) > bpv_dira_min, F.BPVLTIME(pvs) > bpvltime_min) return ParticleCombiner( @@ -272,18 +482,22 @@ def make_Bz2JpsiKpPim_NoMuonID(Jpsi=make_Jpsi_NoMuonID, @configurable -def make_Bz2JpsiKst_NoMuonID(Jpsi=make_Jpsi_NoMuonID, - KPi_comb=make_detachedKst_forB2JpsiX_NoMuonID, - name="bandq_Bz2JpsiKst_NoMuonID_{hash}", - descriptor='[B0 -> K*(892)0 J/psi(1S)]cc', - am_min=5190. * MeV, - am_max=5370. * MeV, - apt_min=1200 * MeV, - m_min=5200. * MeV, - m_max=5360. * MeV, - pt_min=1400 * MeV, - vtx_chi2pdof_max=16, - bpvltime_min=0.2 * picosecond): +def make_Bz2JpsiKst_mTag_NoMuonID( + Jpsi=make_Jpsi_mTag_NoMuonID, + KPi_comb=make_detachedKst_forB2JpsiX_NoMuonID, + name="bandq_Bz2JpsiKst_mTag_NoMuonID_{hash}", + descriptor='[B0 -> K*(892)0 J/psi(1S)]cc', + am_min=4740. * MeV, + am_max=5760. * MeV, + apt_min=1200 * MeV, + m_min=4750. * MeV, + m_max=5750. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2050 * MeV, + delta_m_max=2310 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): pvs = make_pvs() @@ -293,6 +507,8 @@ def make_Bz2JpsiKst_NoMuonID(Jpsi=make_Jpsi_NoMuonID, vertex_code = F.require_all( in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, (F.PT > pt_min), + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), + F.BPVDIRA(pvs) > bpv_dira_min, F.BPVLTIME(pvs) > bpvltime_min) return ParticleCombiner( @@ -305,17 +521,57 @@ def make_Bz2JpsiKst_NoMuonID(Jpsi=make_Jpsi_NoMuonID, @configurable def make_Bs2JpsiKpKm_NoMuonID(Jpsi=make_Jpsi_NoMuonID, - KK_comb=make_detachedKK_forB2JpsiX_NoMuonID, + KK_comb=make_detachedPhi_forB2JpsiX_NoMuonID, name="bandq_Bs2JpsiKpKm_NoMuonID_{hash}", descriptor='B_s0 -> phi(1020) J/psi(1S) ', - am_min=5280. * MeV, - am_max=5460. * MeV, + am_min=5100. * MeV, + am_max=5640. * MeV, apt_min=1200 * MeV, - m_min=5290. * MeV, - m_max=5450. * MeV, + m_min=5120. * MeV, + m_max=5620. * MeV, pt_min=1400 * MeV, vtx_chi2pdof_max=16, - bpvltime_min=0.2 * picosecond): + delta_m_min=2150 * MeV, + delta_m_max=2400 * MeV, + bpv_dira_min=0.9997, + bpvltime_min=0.19 * picosecond): + + pvs = make_pvs() + + combination_code = F.require_all( + in_range(am_min, F.MASS, am_max), (F.PT > apt_min)) + + vertex_code = F.require_all( + in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), + (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, + F.BPVLTIME(pvs) > bpvltime_min) + + return ParticleCombiner( + name=name, + Inputs=[KK_comb(), Jpsi()], + DecayDescriptor=descriptor, + CombinationCut=combination_code, + CompositeCut=vertex_code) + + +@configurable +def make_Bs2JpsiPhi_pTag_NoMuonID(Jpsi=make_Jpsi_pTag_NoMuonID, + KK_comb=make_detachedPhi_forB2JpsiX_NoMuonID, + name="bandq_Bs2JpsiPhi_pTag_NoMuonID_{hash}", + descriptor='B_s0 -> phi(1020) J/psi(1S) ', + am_min=4860. * MeV, + am_max=5880. * MeV, + apt_min=1200 * MeV, + m_min=4870. * MeV, + m_max=5870. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2150 * MeV, + delta_m_max=2400 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): pvs = make_pvs() @@ -324,7 +580,9 @@ def make_Bs2JpsiKpKm_NoMuonID(Jpsi=make_Jpsi_NoMuonID, vertex_code = F.require_all( in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, F.BPVLTIME(pvs) > bpvltime_min) return ParticleCombiner( @@ -336,18 +594,21 @@ def make_Bs2JpsiKpKm_NoMuonID(Jpsi=make_Jpsi_NoMuonID, @configurable -def make_Bs2JpsiPhi_NoMuonID(Jpsi=make_Jpsi_NoMuonID, - KK_comb=make_detachedPhi_forB2JpsiX_NoMuonID, - name="bandq_Bs2JpsiPhi_NoMuonID_{hash}", - descriptor='B_s0 -> phi(1020) J/psi(1S)', - am_min=5280. * MeV, - am_max=5460. * MeV, - apt_min=1200 * MeV, - m_min=5290. * MeV, - m_max=5450. * MeV, - pt_min=1400 * MeV, - vtx_chi2pdof_max=16, - bpvltime_min=0.2 * picosecond): +def make_Bs2JpsiPhi_mTag_NoMuonID(Jpsi=make_Jpsi_mTag_NoMuonID, + KK_comb=make_detachedPhi_forB2JpsiX_NoMuonID, + name="bandq_Bs2JpsiPhi_mTag_NoMuonID_{hash}", + descriptor='B_s0 -> phi(1020) J/psi(1S) ', + am_min=4860. * MeV, + am_max=5880. * MeV, + apt_min=1200 * MeV, + m_min=4870. * MeV, + m_max=5870. * MeV, + pt_min=1400 * MeV, + vtx_chi2pdof_max=16, + delta_m_min=2150 * MeV, + delta_m_max=2400 * MeV, + bpv_dira_min=0.9995, + bpvltime_min=0.19 * picosecond): pvs = make_pvs() @@ -356,7 +617,9 @@ def make_Bs2JpsiPhi_NoMuonID(Jpsi=make_Jpsi_NoMuonID, vertex_code = F.require_all( in_range(m_min, F.MASS, m_max), F.CHI2DOF < vtx_chi2pdof_max, + in_range(delta_m_min, F.MASS - F.CHILD(2, F.MASS), delta_m_max), (F.PT > pt_min), + F.BPVDIRA(pvs) > bpv_dira_min, F.BPVLTIME(pvs) > bpvltime_min) return ParticleCombiner( diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/hlt2_bandq.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/hlt2_bandq.py index 2c1a0f994a5a38552cb7834d3011b660879fad3a..8e939a97b1f59b9e389fbc79e8fa3e4d7cb72072 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/hlt2_bandq.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/hlt2_bandq.py @@ -983,13 +983,28 @@ def Jpsi2LmdLmd_TTTT_line(name='Hlt2BandQ_Jpsi2LmdLmd_TTTT', persistreco=persistreco) +# back up line in case Bp2JpsiKp_pTag_NoMuonID_line is not acceptable during the datataking in July. +# @register_line_builder(turbo_lines) +# @configurable +# def Bp2JpsiKp_NoMuonID_line(name='Hlt2BandQ_Bp2JpsiKp_NoMuonID', +# prescale=1, +# persistreco=False): +# """B+->Jpsi K+ without Muon-based PID cuts.""" +# line_alg = b_to_jpsiX_NoMuonID.make_Bp2JpsiKp_NoMuonID() +# return Hlt2Line( +# name=name, +# algs=make_prefilters() + [line_alg], +# prescale=prescale, +# persistreco=persistreco) + + @register_line_builder(turbo_lines) @configurable -def Bp2JpsiKp_NoMuonID_line(name='Hlt2BandQ_Bp2JpsiKp_NoMuonID', - prescale=1, - persistreco=False): +def Bp2JpsiKp_pTag_NoMuonID_line(name='Hlt2BandQ_Bp2JpsiKp_pTag_NoMuonID', + prescale=1, + persistreco=False): """B+->Jpsi K+ without Muon-based PID cuts.""" - line_alg = b_to_jpsiX_NoMuonID.make_Bp2JpsiKp_NoMuonID() + line_alg = b_to_jpsiX_NoMuonID.make_Bp2JpsiKp_pTag_NoMuonID() return Hlt2Line( name=name, algs=make_prefilters() + [line_alg], @@ -999,11 +1014,38 @@ def Bp2JpsiKp_NoMuonID_line(name='Hlt2BandQ_Bp2JpsiKp_NoMuonID', @register_line_builder(turbo_lines) @configurable -def Bz2JpsiKpPim_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKpPim_NoMuonID', - prescale=1, - persistreco=False): +def Bp2JpsiKp_mTag_NoMuonID_line(name='Hlt2BandQ_Bp2JpsiKp_mTag_NoMuonID', + prescale=1, + persistreco=False): + """B+->Jpsi K+ without Muon-based PID cuts.""" + line_alg = b_to_jpsiX_NoMuonID.make_Bp2JpsiKp_mTag_NoMuonID() + return Hlt2Line( + name=name, + algs=make_prefilters() + [line_alg], + prescale=prescale, + persistreco=persistreco) + + +# back up line +# @register_line_builder(turbo_lines) +# @configurable +# def Bz2JpsiKpPim_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKpPim_NoMuonID', +# prescale=1, +# persistreco=False): +# """B0->Jpsi K+ pi- without Muon-based PID cuts. Cover the full KPi mass spectrum""" +# line_alg = b_to_jpsiX_NoMuonID.make_Bz2JpsiKpPim_NoMuonID() +# return Hlt2Line( +# name=name, +# algs=make_prefilters() + [line_alg], +# prescale=prescale, +# persistreco=persistreco) +@register_line_builder(turbo_lines) +@configurable +def Bz2JpsiKst_pTag_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKst_pTag_NoMuonID', + prescale=1, + persistreco=False): """B0->Jpsi K+ pi- without Muon-based PID cuts. Cover the full KPi mass spectrum""" - line_alg = b_to_jpsiX_NoMuonID.make_Bz2JpsiKpPim_NoMuonID() + line_alg = b_to_jpsiX_NoMuonID.make_Bz2JpsiKst_pTag_NoMuonID() return Hlt2Line( name=name, algs=make_prefilters() + [line_alg], @@ -1011,28 +1053,42 @@ def Bz2JpsiKpPim_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKpPim_NoMuonID', persistreco=persistreco) -#This is a back-up choice if the rate of Bz2JpsiKpPim_NoMuonID_line is found to be not acceptable during rate tuning in Feb. -#@register_line_builder(turbo_lines) -#@configurable -#def Bz2JpsiKst_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKst_NoMuonID', -# prescale=1, -# persistreco=False): -# """B0->Jpsi K*0 without Muon-based PID cuts. Focus on the K*(892) region""" -# line_alg = b_to_jpsiX_NoMuonID.make_Bz2JpsiKst_NoMuonID() -# return Hlt2Line( -# name=name, -# algs=make_prefilters() + [line_alg], -# prescale=prescale, -# persistreco=persistreco) +@register_line_builder(turbo_lines) +@configurable +def Bz2JpsiKst_mTag_NoMuonID_line(name='Hlt2BandQ_Bz2JpsiKst_mTag_NoMuonID', + prescale=1, + persistreco=False): + """B0->Jpsi K+ pi- without Muon-based PID cuts. Cover the full KPi mass spectrum""" + line_alg = b_to_jpsiX_NoMuonID.make_Bz2JpsiKst_mTag_NoMuonID() + return Hlt2Line( + name=name, + algs=make_prefilters() + [line_alg], + prescale=prescale, + persistreco=persistreco) + + +#This is a back-up choice if the rate of Bz2JpsiKpPim_NoMuonID_m/pTag_line is found to be not acceptable during rate tuning in July. +# @register_line_builder(turbo_lines) +# @configurable +# def Bs2JpsiKpKm_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiKpKm_NoMuonID', +# prescale=1, +# persistreco=False): +# """Bs0->Jpsi K+ K- without Muon-based PID cuts. Cover the full KPi mass spectrum""" +# line_alg = b_to_jpsiX_NoMuonID.make_Bs2JpsiKpKm_NoMuonID() +# return Hlt2Line( +# name=name, +# algs=make_prefilters() + [line_alg], +# prescale=prescale, +# persistreco=persistreco) @register_line_builder(turbo_lines) @configurable -def Bs2JpsiKpKm_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiKpKm_NoMuonID', - prescale=1, - persistreco=False): +def Bs2JpsiPhi_pTag_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiPhi_pTag_NoMuonID', + prescale=1, + persistreco=False): """Bs0->Jpsi K+ K- without Muon-based PID cuts. Cover the full KPi mass spectrum""" - line_alg = b_to_jpsiX_NoMuonID.make_Bs2JpsiKpKm_NoMuonID() + line_alg = b_to_jpsiX_NoMuonID.make_Bs2JpsiPhi_pTag_NoMuonID() return Hlt2Line( name=name, algs=make_prefilters() + [line_alg], @@ -1040,19 +1096,18 @@ def Bs2JpsiKpKm_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiKpKm_NoMuonID', persistreco=persistreco) -#This is a back-up choice if the rate of Bs2JpsiKpKm_NoMuonID_line is found to be not acceptable during rate tuning in Feb. -#@register_line_builder(turbo_lines) -#@configurable -#def Bs2JpsiPhi_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiPhi_NoMuonID', -# prescale=1, -# persistreco=False): -# """B0->Jpsi K*0 without Muon-based PID cuts. Focus on the phi(1020) region""" -# line_alg = b_to_jpsiX_NoMuonID.make_Bs2JpsiPhi_NoMuonID() -# return Hlt2Line( -# name=name, -# algs=make_prefilters() + [line_alg], -# prescale=prescale, -# persistreco=persistreco) +@register_line_builder(turbo_lines) +@configurable +def Bs2JpsiPhi_mTag_NoMuonID_line(name='Hlt2BandQ_Bs2JpsiPhi_mTag_NoMuonID', + prescale=1, + persistreco=False): + """Bs0->Jpsi K+ K- without Muon-based PID cuts. Cover the full KPi mass spectrum""" + line_alg = b_to_jpsiX_NoMuonID.make_Bs2JpsiPhi_mTag_NoMuonID() + return Hlt2Line( + name=name, + algs=make_prefilters() + [line_alg], + prescale=prescale, + persistreco=persistreco) @register_line_builder(turbo_lines)