Skip to content
Snippets Groups Projects

updata_24c34_b2jpsix_data_muoninfo

Merged Chenxu Yu requested to merge yuc/update-24c3_4Data into master
1 unresolved thread
Files
9
from .tupling_maker import template, line_prefilter
from DaVinci import Options, make_config
import Functors as F
from Functors.math import in_range
from GaudiKernel.SystemOfUnits import MeV
# import yaml
def Bz2JpsiKst_mTag_NoMuonID( ):
decay_descriptor = {
"Bz": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
"Jpsi": '[B0 -> ^(J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
"Kstar": '[B0 -> (J/psi(1S) -> mu+ mu-) ^(K*(892)0 -> K+ pi-)]CC',
"Kp": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> ^K+ pi-)]CC',
"pim": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ ^pi-)]CC',
"mum": '[B0 -> (J/psi(1S) -> mu+ ^mu-) (K*(892)0 -> K+ pi-)]CC',
"mup": '[B0 -> (J/psi(1S) -> ^mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
}
line_name = "Hlt2BandQ_Bz2JpsiKst_mTag_NoMuonID"
decay_name = "Bs2JpsiKst_mTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bz", "Jpsi", "Kstar"], ["Kp", "pim", "mup", "mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Bz2JpsiKst_pTag_NoMuonID( ):
decay_descriptor = {
"Bz": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
"Jpsi": '[B0 -> ^(J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
"Kstar": '[B0 -> (J/psi(1S) -> mu+ mu-) ^(K*(892)0 -> K+ pi-)]CC',
"Kp": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> ^K+ pi-)]CC',
"pim": '[B0 -> (J/psi(1S) -> mu+ mu-) (K*(892)0 -> K+ ^pi-)]CC',
"mum": '[B0 -> (J/psi(1S) -> mu+ ^mu-) (K*(892)0 -> K+ pi-)]CC',
"mup": '[B0 -> (J/psi(1S) -> ^mu+ mu-) (K*(892)0 -> K+ pi-)]CC',
}
line_name = "Hlt2BandQ_Bz2JpsiKst_pTag_NoMuonID"
decay_name = "Bz2JpsiKst_pTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bz", "Jpsi", "Kstar"], ["Kp", "pim", "mup", "mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Bs2JpsiPhi_mTag_NoMuonID( ):
decay_descriptor = {
"Bs": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ K-)]CC',
"Jpsi": '[B_s0 -> ^(J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ K-)]CC',
"phi": '[B_s0 -> (J/psi(1S) -> mu+ mu-) ^(phi(1020) -> K+ K-)]CC',
"Kp": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> ^K+ K-)]CC',
"Km": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ ^K-)]CC',
"mum": '[B_s0 -> (J/psi(1S) -> mu+ ^mu-) (phi(1020) -> K+ K-)]CC',
"mup": '[B_s0 -> (J/psi(1S) -> ^mu+ mu-) (phi(1020) -> K+ K-)]CC',
}
line_name = "Hlt2BandQ_Bs2JpsiPhi_mTag_NoMuonID"
decay_name = "Bs2JpsiPhi_mTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bs", "Jpsi", "phi"], ["Kp", "Km", "mup","mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Bs2JpsiPhi_pTag_NoMuonID( ):
decay_descriptor = {
"Bs": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ K-)]CC',
"Jpsi": '[B_s0 -> ^(J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ K-)]CC',
"phi": '[B_s0 -> (J/psi(1S) -> mu+ mu-) ^(phi(1020) -> K+ K-)]CC',
"Kp": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> ^K+ K-)]CC',
"Km": '[B_s0 -> (J/psi(1S) -> mu+ mu-) (phi(1020) -> K+ ^K-)]CC',
"mum": '[B_s0 -> (J/psi(1S) -> mu+ ^mu-) (phi(1020) -> K+ K-)]CC',
"mup": '[B_s0 -> (J/psi(1S) -> ^mu+ mu-) (phi(1020) -> K+ K-)]CC',
}
line_name = "Hlt2BandQ_Bs2JpsiPhi_pTag_NoMuonID"
decay_name = "Bs2JpsiPhi_pTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bs", "Jpsi", "phi"], ["Kp", "Km", "mup","mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Bp2JpsiKp_mTag_NoMuonID( ):
decay_descriptor = {
"Bp": '[B+ -> (J/psi(1S) -> mu+ mu-) K+]CC',
"Jpsi": '[B+ -> ^(J/psi(1S) -> mu+ mu-) K+]CC',
"Kp": '[B+ -> (J/psi(1S) -> mu+ mu-) ^K+]CC',
"mum": '[B+ -> (J/psi(1S) -> mu+ ^mu-) K+]CC',
"mup": '[B+ -> (J/psi(1S) -> ^mu+ mu-) K+]CC',
}
line_name = "Hlt2BandQ_Bp2JpsiKp_mTag_NoMuonID"
decay_name = "Bp2JpsiKp_mTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bp", "Jpsi"], ["Kp", "mup","mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Bp2JpsiKp_pTag_NoMuonID( ):
decay_descriptor = {
"Bp": '[B+ -> (J/psi(1S) -> mu+ mu-) K+]CC',
"Jpsi": '[B+ -> ^(J/psi(1S) -> mu+ mu-) K+]CC',
"Kp": '[B+ -> (J/psi(1S) -> mu+ mu-) ^K+]CC',
"mum": '[B+ -> (J/psi(1S) -> mu+ ^mu-) K+]CC',
"mup": '[B+ -> (J/psi(1S) -> ^mu+ mu-) K+]CC',
}
line_name = "Hlt2BandQ_Bp2JpsiKp_pTag_NoMuonID"
decay_name = "Bp2JpsiKp_pTag"
dict = {}
my_tuple = template(decay_descriptor, line_name, True, [], ["Bp", "Jpsi"], ["Kp", "mup","mum"])
my_filter = line_prefilter(line_name)
dict[decay_name] = [my_filter, my_tuple]
return dict
def Entry_Point(options: Options):
algs_dict = Bp2JpsiKp_pTag_NoMuonID()
algs_dict.update(Bp2JpsiKp_mTag_NoMuonID())
algs_dict.update(Bz2JpsiKst_pTag_NoMuonID())
algs_dict.update(Bz2JpsiKst_mTag_NoMuonID())
algs_dict.update(Bs2JpsiPhi_pTag_NoMuonID())
algs_dict.update(Bs2JpsiPhi_mTag_NoMuonID())
return make_config(options, algs_dict)
\ No newline at end of file
Loading