Commit 2ba4d202 authored by Daniel Johnson's avatar Daniel Johnson
Browse files

Add tighter D requirements for DDX

parent 9ebf4159
......@@ -820,7 +820,7 @@ class B2DXBuilder(object):
'''Makes B+- -> D0 D0 K+-'''
dec = ["B+ -> D0 D0 K+","B- -> D0 D0 K-"]
decays = {'B2D0D0KD02HHD02HH': dec, 'B2D0D0KD02HHD02K3Pi': dec, 'B2D0D0KD02K3PiD02K3Pi': dec}
inputs = {'B2D0D0KD02HHD02HH': self.d.hh_pid+self.topoKaons_PID, 'B2D0D0KD02HHD02K3Pi': self.d.hh_pid+self.d.k3pi_pid+self.topoKaons_PID, 'B2D0D0KD02K3PiD02K3Pi':self.d.k3pi_pid+self.topoKaons_PID}
inputs = {'B2D0D0KD02HHD02HH': self.d.hh_ddx_pid+self.topoKaons_PID, 'B2D0D0KD02HHD02K3Pi': self.d.hh_ddx_pid+self.d.k3pi_ddx_pid+self.topoKaons_PID, 'B2D0D0KD02K3PiD02K3Pi':self.d.k3pi_ddx_pid+self.topoKaons_PID}
b2d0d0k = makeB2XSels(decays,'',inputs,self.config)
self.lines.append(ProtoLine(b2d0d0k,1.0))
......@@ -828,7 +828,7 @@ class B2DXBuilder(object):
'''Makes B+- -> D0 D0 pi+-'''
dec = ["B+ -> D0 D0 pi+","B- -> D0 D0 pi-"]
decays = {'B2D0D0PiD02HHD02HH': dec, 'B2D0D0PiD02HHD02K3Pi': dec, 'B2D0D0PiD02K3PiD02K3Pi': dec}
inputs = {'B2D0D0PiD02HHD02HH': self.d.hh_pid+self.topoPions_PID, 'B2D0D0PiD02HHD02K3Pi': self.d.hh_pid+self.d.k3pi_pid+self.topoPions_PID, 'B2D0D0PiD02K3PiD02K3Pi':self.d.k3pi_pid+self.topoPions_PID}
inputs = {'B2D0D0PiD02HHD02HH': self.d.hh_ddx_pid+self.topoPions_PID, 'B2D0D0PiD02HHD02K3Pi': self.d.hh_ddx_pid+self.d.k3pi_ddx_pid+self.topoPions_PID, 'B2D0D0PiD02K3PiD02K3Pi':self.d.k3pi_ddx_pid+self.topoPions_PID}
b2d0d0pi = makeB2XSels(decays,'',inputs,self.config)
self.lines.append(ProtoLine(b2d0d0pi,1.0))
......
......@@ -226,6 +226,12 @@ class DBuilder(object):
self.pi0hh_resolved)]
d_min,d_max,ds_min,ds_max = self._massWindowD2HHHCF()
# Tighter D selections for DDX
self.hh_ddx_pid = [filterSelection('D2hh_for_DDX', self.config['D2X_FOR_DDX'],self.hh_pid]
self.hhh_ddx_pid = [filterSelection('D2hhh_for_DDX', self.config['D2X_FOR_DDX'],self.hhh_pid]
self.hhhh_ddx_pid = [filterSelection('D2hhhh_for_DDX', self.config['D2X_FOR_DDX'],self.hhhh_pid]
self.k3pi_ddx_pid = [filterSelection('D2k3pi_for_DDX', self.config['D2X_FOR_DDX'],self.k3pi_pid]
#use this below
d_cf_noMassWin = d_cf
d_cf = LoKiCuts.combine([d_cf,"in_range(%s,MM,%s)"%(d_min,d_max)])
......
......@@ -96,7 +96,24 @@ default_config ={
'VCHI2DOF_MAX' : 10,
'BPVVDCHI2_MIN' : 36,
'BPVDIRA_MIN' : 0,
'MASS_WINDOW' : '100*MeV'
'MASS_WINDOW' : '100*MeV',
"D2X_FOR_DDX" : { # Cuts made on all D's and Lc's used in B->DDX lines
'ASUMPT_MIN' : '1800*MeV',
'ADOCA12_MAX' : '0.5*mm',
'ADOCA13_MAX' : '0.5*mm',
'ADOCA23_MAX' : '0.5*mm',
'ADOCA14_MAX' : '0.5*mm',
'ADOCA24_MAX' : '0.5*mm',
'ADOCA34_MAX' : '0.5*mm',
'ADOCA15_MAX' : '0.5*mm',
'ADOCA25_MAX' : '0.5*mm',
'ADOCA35_MAX' : '0.5*mm',
'ADOCA45_MAX' : '0.5*mm',
'VCHI2DOF_MAX' : 8,
'BPVVDCHI2_MIN' : 50,
'BPVDIRA_MIN' : 0,
'MASS_WINDOW' : '100*MeV'
}
},
"B2X" : { # Cuts made on all B's and Lb's used in all lines
'SUMPT_MIN' : '5000*MeV',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment