diff --git a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingBeauty2MajoLep.py b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingBeauty2MajoLep.py index bf1141cced597364623747a7a3a43429e2466565..b46321aee5f00ef4ffc03d1fb6563f8d894b5f45 100644 --- a/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingBeauty2MajoLep.py +++ b/Phys/StrippingSelections/python/StrippingSelections/StrippingRD/StrippingBeauty2MajoLep.py @@ -41,14 +41,14 @@ default_config = { 'STREAMS' : ['BhadronCompleteEvent'], 'BUILDERTYPE' : 'Beauty2MajoLepConf', 'CONFIG' : { - 'Lep_IPChi2min' : 16.0, + 'Lep_IPChi2min' : 11.0, 'Lep_PTmin' : 300., - 'Trk_GhostProb' : 0.5, - 'Trk_Chi2NDOF' : 5.0, + 'Trk_GhostProb' : 0.4, + 'Trk_Chi2NDOF' : 4.0, 'Majo_AMhigh' : 7000.0, 'Majo_AMlow' : 0., 'Majo_PTmin' : 700.0, - 'Majo_Bach_PTmin' : 550.0, + 'Majo_Bach_PTmin' : 500.0, 'Majo_DocaChi2' : 16.0, 'Majo_VtxChi2' : 9.0, 'AM_Mlow' : 0., @@ -58,20 +58,19 @@ default_config = { 'B_IPCHI2wrtPV' : 16.0, 'BVtxChi2' : 9.0, 'B_DLS' : 5.0, - 'Bach_PTmin' : 750.0, - 'Jpsi_pdg' : 400., - 'Jpsi_electron_pdg' : 800., - 'D0_pdg' : 100., - 'Ks_pdg_DD' : 50., - 'B_pdg_Ks_DD' : 200.0, - 'Ks_Bach_PT' : 800.0, - 'B_Bach_PT_DD' : 1000.0, - 'Ks_pdg' : 80., - 'B_pdg' : 400.0, - 'B_electron_pdg' : 800.0, - 'Prescale1' : 0.05, - 'Prescale2' : 0.1, - 'Prescale3' : 0.2, + 'Bach_PTmin' : 700.0, + 'Jpsi_MLow' : 2100., + 'Jpsi_MHigh' : 3500., + 'D0_pdg' : 85., + 'B_Ks_Low' : 5000.0, + 'B_Ks_High' : 5500.0, + 'Ks_Bach_PT' : 500.0, + 'B_Bach_PT_DD' : 700.0, + 'Ks_MLow' : 430., + 'Ks_MHigh' : 550., + 'B_electron_High' : 6080, + 'Prescale1' : 0.075, + 'Prescale2' : 0.15, 'Postscale' : 1.0, 'RequiredRawEvents' : ["Trigger", "Muon", "Calo", "Rich", "Velo", "Tracker"] }, @@ -140,7 +139,8 @@ class Beauty2MajoLepConf(LineBuilder) : self.selMajo2EPiDDOS = self.makeMajo2EPiDDOS( 'Majofor'+Beauty2MajoMuDDName+"OS", config ) self.selMajo2EPiDDSS = self.makeMajo2EPiDDSS( 'Majofor'+Beauty2MajoMuDDName+"SS", config ) - + + self.Beauty2MajoMuLL = self.makeBeauty2MajoMu2LL( Beauty2MajoMuLLName, config ) self.Beauty2MajoEDD = self.makeBeauty2MajoE2DD( Beauty2MajoEDDName, config ) @@ -149,6 +149,8 @@ class Beauty2MajoLepConf(LineBuilder) : self.Beauty2MajoMuDDOS = self.makeBeauty2MajoMu2DDOS( Beauty2MajoMuDDName+"OS", config ) self.Beauty2MajoMuDDSS = self.makeBeauty2MajoMu2DDSS( Beauty2MajoMuDDName+"SS", config ) + + self.B2MajoMuDDOSLine = StrippingLine(Beauty2MajoMuDDName+"OSLine", prescale = 1.0, postscale = 1.0, @@ -231,7 +233,7 @@ class Beauty2MajoLepConf(LineBuilder) : self.B2MajoEDDLinePr = StrippingLine(Beauty2MajoEDDName+"Line"+'Prescale', - prescale = config['Prescale2'], + prescale = config['Prescale1'], postscale = config['Postscale'], selection = self.Beauty2MajoEDDPr, RequiredRawEvents = config['RequiredRawEvents'], @@ -240,7 +242,7 @@ class Beauty2MajoLepConf(LineBuilder) : self.B2MajoMuLLLinePr = StrippingLine(Beauty2MajoMuLLName+"Line"+'Prescale', - prescale = config['Prescale3'], + prescale = config['Prescale1'], postscale = config['Postscale'], selection = self.Beauty2MajoMuLLPr, RequiredRawEvents = config['RequiredRawEvents'], @@ -396,7 +398,8 @@ class Beauty2MajoLepConf(LineBuilder) : _trkGPCut = "(TRGHOSTPROB<%s)" % config['Trk_GhostProb'] _trkChi2 = "(TRCHI2DOF<%s)" % config['Trk_Chi2NDOF'] - _allCuts = _trkGPCut + '&' + _bachPtCut + '&' + _bachIPChi2Cut + '&' + _trkChi2 + _allCuts = _trkGPCut + '&' + _bachPtCut + '&' + _trkChi2 + '&' + _bachIPChi2Cut + # make the filter _filterH = FilterDesktop( Code = _allCuts ) @@ -431,7 +434,7 @@ class Beauty2MajoLepConf(LineBuilder) : _trkGPCut = "(TRGHOSTPROB<%s)" % config['Trk_GhostProb'] _trkChi2 = "(TRCHI2DOF<%s)" % config['Trk_Chi2NDOF'] - _allCuts = _trkGPCut + '&' + _bachPtCut + '&' + _trkChi2 + _allCuts = _trkGPCut + '&' + _bachPtCut + '&' + _trkChi2 + '&' + _bachIPChi2Cut # make the filter _filterH = FilterDesktop( Code = _allCuts ) @@ -457,7 +460,9 @@ class Beauty2MajoLepConf(LineBuilder) : self.selKaon = Selection( name, Algorithm = _filterH, RequiredSelections = [self.kaons] ) + ################################SIGNALLINES################################# + #For DD def makeMajo2EPiDDSS( self, name, config, prescale=False ) : """ @@ -481,7 +486,7 @@ class Beauty2MajoLepConf(LineBuilder) : _motherCuts = _ptCut+'&'+_vtxChi2Cut _pidCut_electron = "(PIDe>0.)" - _pidCut_pion = "((PIDe)<0.0)&((PIDK)<0.)" + _pidCut_pion = "(PIDe<0.0)&(PIDp<0.)" @@ -521,7 +526,7 @@ class Beauty2MajoLepConf(LineBuilder) : _motherCuts = _ptCut+'&'+_vtxChi2Cut _pidCut_electron = "(PIDe>0.)" - _pidCut_pion = "((PIDe)<0.0)&((PIDK)<0.)" + _pidCut_pion = "(PIDe<0.0)&(PIDp<0.)" _Majo = CombineParticles() _Majo.DecayDescriptors = [ "[Lambda0 -> pi+ e-]cc" ] @@ -589,13 +594,14 @@ class Beauty2MajoLepConf(LineBuilder) : _motherCuts = _ptCut+'&'+_vtxChi2Cut _pidCut_electron = "(PIDe>0.)" - + _pidCut_pion = "(PIDe<0.)" + _Majo = CombineParticles() _Majo.DecayDescriptors = [ "KS0 -> pi+ e-", "KS0 -> pi- e+" ] if not prescale: - _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "e-": _pidCut_electron+"&"+"(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} + _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]+'&'+_pidCut_pion, "e-": _pidCut_electron+"&"+"(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} else: _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "e-": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} @@ -623,14 +629,14 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] _motherCuts = _ptCut+'&'+_vtxChi2Cut - _pidCut_muon = "(PIDmu>0.)" + _Majo = CombineParticles() _Majo.DecayDescriptors = [ "KS0 -> pi+ mu-", "KS0 -> pi- mu+" ] if not prescale: - _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "mu-": _pidCut_muon+"&"+"(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} + _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "mu-": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} else: _daughterCuts = { "pi+": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "mu-": "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} @@ -641,7 +647,7 @@ class Beauty2MajoLepConf(LineBuilder) : return Selection (name, Algorithm = _Majo, RequiredSelections = [ self.selPi, self.selMu ]) -#for LL + #for LL def makeBeauty2MajoMu2LL( self, name, config, prescale=False ) : """ Create and store a Bu -> KS(LL) mu+ Selection object. @@ -663,11 +669,11 @@ class Beauty2MajoLepConf(LineBuilder) : _motherCuts = _vtxChi2Cut+'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCutLow2+'&'+_massCutHigh2 _B = CombineParticles() - _pidCut_muons = "(PIDmu>0.)" + _B.DecayDescriptors = [ "B+ -> mu+ KS0", "B- -> mu- KS0"] if not prescale: - _daughterCuts = { "mu+" : "(PT>%s)"% (config['Bach_PTmin'])+"&"+_pidCut_muons } + _daughterCuts = { "mu+" : "(PT>%s)"% (config['Bach_PTmin'])} else: _daughterCuts = { "mu+" : "(PT>%s)"% (config['Bach_PTmin']) } _B.DaughtersCuts = _daughterCuts @@ -678,7 +684,7 @@ class Beauty2MajoLepConf(LineBuilder) : return Selection (name, Algorithm = _B, RequiredSelections = [ self.selMu, self.selMajo2EPiLL ]) else: return Selection (name, Algorithm = _B, RequiredSelections = [ self.selMu, self.selMajo2EPiLLPr ]) - + def makeBeauty2MajoMu2DDOS( self, name, config, prescale=False ) : """ Create and store a Bu -> KS(DD) mu+ Selection object. @@ -698,16 +704,14 @@ class Beauty2MajoLepConf(LineBuilder) : _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] _massCutLow2 = "(M>(%s*MeV))" % config['B_Mlow'] _massCutHigh2 = "(M<(%s*MeV))" % config['B_Mhigh'] - _pidCut_muons = "(PIDmu>0.)" - - _motherCuts = _vtxChi2Cut+'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCutLow2+'&'+_massCutHigh2 + _motherCuts = _vtxChi2Cut+'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCutLow2+'&'+_massCutHigh2 _B = CombineParticles() _B.DecayDescriptors = [ "[B+ -> mu+ Lambda0]cc"] if not prescale: - _daughterCuts = { "mu+" : _pidCut_muons+"&"+"(PT>%s*MeV)" % (config['Bach_PTmin'])} + _daughterCuts = { "mu+" : "(PT>%s*MeV)" % (config['Bach_PTmin'])} else: _daughterCuts = { "mu+" : "(PT>%s)" % (config['Bach_PTmin'])} @@ -739,7 +743,6 @@ class Beauty2MajoLepConf(LineBuilder) : _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] _massCutLow2 = "(M>(%s*MeV))" % config['B_Mlow'] _massCutHigh2 = "(M<(%s*MeV))" % config['B_Mhigh'] - _pidCut_muons = "(PIDmu>0.)&((PIDmu-PIDK)>0.)" _motherCuts = _vtxChi2Cut+'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCutLow2+'&'+_massCutHigh2 @@ -748,7 +751,7 @@ class Beauty2MajoLepConf(LineBuilder) : _B.DecayDescriptors = [ "[B- -> mu- Lambda0]cc"] if not prescale: - _daughterCuts = { "mu+" : _pidCut_muons+"&"+"(PT>%s*MeV)" % (config['Bach_PTmin'])} + _daughterCuts = { "mu+" : "(PT>%s*MeV)" % (config['Bach_PTmin'])} else: _daughterCuts = { "mu+" : "(PT>%s)" % (config['Bach_PTmin'])} @@ -806,7 +809,7 @@ class Beauty2MajoLepConf(LineBuilder) : -# For DD + # For DD def makeBeauty2MajoE2DD( self, name, config, prescale=False ) : """ @@ -869,9 +872,10 @@ class Beauty2MajoLepConf(LineBuilder) : _ptCut = "(PT>%s*MeV)" % config['Majo_PTmin'] _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] - _massKsCut1 = "(ADMASS('KS0') < %s)" % config['Ks_pdg_DD'] - + _massKsCut1 = "(M>%s*MeV)" % config['Ks_MLow'] + '&' + "(M<%s*MeV)" % config["Ks_MHigh"] + _pidCut_pion = "(PIDe<0.)&(PIDp<0.)" + _motherCuts = _ptCut+'&'+_vtxChi2Cut+'&'+_massKsCut1 _Majo = CombineParticles() @@ -879,7 +883,7 @@ class Beauty2MajoLepConf(LineBuilder) : _Majo.DecayDescriptors = [ "KS0 -> pi- pi+" ] - _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config['Ks_Bach_PT'], "pi-" : "(PT>%s*MeV)" % config['Ks_Bach_PT']} + _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config['Ks_Bach_PT']+'&'+_pidCut_pion, "pi-" : "(PT>%s*MeV)" % config['Ks_Bach_PT']+'&'+_pidCut_pion} _Majo.DaughtersCuts = _daughterCuts _Majo.CombinationCut = _combCuts @@ -902,15 +906,16 @@ class Beauty2MajoLepConf(LineBuilder) : _ptCut = "(PT>%s*MeV)" % config['Majo_PTmin'] _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] - _massKsCut1 = "(ADMASS('KS0') < %s)" % config['Ks_pdg'] + _massKsCut1 = "(M>%s*MeV)" % config['Ks_MLow'] + '&' + "(M<%s*MeV)" % config["Ks_MHigh"] _motherCuts = _ptCut+'&'+_vtxChi2Cut+'&'+_massKsCut1 _Majo = CombineParticles() - + _pidCut_pion = "(PIDe<0.)" + _Majo.DecayDescriptors = ["KS0 -> pi- pi+" ] - _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config['Ks_Bach_PT'], "pi-" : "(PT>%s*MeV)" % config['Ks_Bach_PT']} + _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config['Ks_Bach_PT']+'&'+_pidCut_pion, "pi-" : "(PT>%s*MeV)" % config['Ks_Bach_PT']+'&'+_pidCut_pion} _Majo.DaughtersCuts = _daughterCuts @@ -934,13 +939,16 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] _ipChi2Cut = "(MIPCHI2DV(PRIMARY)<%s)" % config['B_IPCHI2wrtPV'] _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] - _massCut = "(ADMASS('B+') < %s)" % config['B_pdg_Ks_DD'] + _massCut = "(M>%s*MeV)" % config['B_Ks_Low'] + '&' + "(M<%s*MeV)" % config['B_Ks_High'] + _combCuts = _massCutLow +'&'+_massCutHigh _motherCuts = _vtxChi2Cut +'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCut - - _daughterCuts = { "pi+" : "(PT>%s)"% config['B_Bach_PT_DD']} + _pidCut_pion = "(PIDe<0.)" + + + _daughterCuts = { "pi+" : "(PT>%s)"% config['B_Bach_PT_DD']+'&'+_pidCut_pion} _B = CombineParticles() @@ -968,10 +976,14 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['BVtxChi2'] _ipChi2Cut = "(MIPCHI2DV(PRIMARY)<%s)" % config['B_IPCHI2wrtPV'] _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] - _massCut = "(ADMASS('B+') < %s)" % config['B_pdg'] - + _massCut = "(M>%s*MeV)" % config['B_Ks_Low'] + '&' + "(M<%s*MeV)" % config['B_Ks_High'] + _combCuts = _massCutLow+'&'+_massCutHigh _motherCuts = _vtxChi2Cut +'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCut + + + + _daughterCuts = { "pi+" : "(PT>%s)"% (config['Majo_Bach_PTmin'])} @@ -1001,19 +1013,20 @@ class Beauty2MajoLepConf(LineBuilder) : _combCuts = _massCutLow + '&'+ _massCutHigh +'&'+_docaCut _ptCut = "(PT>%s*MeV)" % config['Majo_PTmin'] - _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['BVtxChi2'] + _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] _massCut1 = "(ADMASS('D0') < %s)" % config['D0_pdg'] - + + _motherCuts = _ptCut+'&'+_vtxChi2Cut+'&'+_massCut1 _Majo = CombineParticles() _Majo.DecayDescriptors = [ "[D0 -> K- pi+]cc" ] - - - _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"], "K-" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} + _pidCut_pion = "(PIDe<0.)" + + _daughterCuts = { "pi+" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]+'&'+_pidCut_pion, "K-" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"]} _Majo.DaughtersCuts = _daughterCuts @@ -1041,18 +1054,17 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['BVtxChi2'] _ipChi2Cut = "(MIPCHI2DV(PRIMARY)<%s)" % config['B_IPCHI2wrtPV'] _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] - _massCut = "(ADMASS('B+') < %s)" % config['B_pdg'] - - - - + + _massCut = "(M>%s*MeV)" % config['B_Ks_Low'] + '&' + "(M<%s*MeV)" % config['B_electron_High'] + + _motherCuts = _vtxChi2Cut +'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCut _B = CombineParticles() _B.DecayDescriptors = [ "B+ -> pi+ D~0", "B- -> pi- D0" ] - _daughterCuts = { "pi+" : "(PT>%s)"% (config['Majo_Bach_PTmin'])} + _daughterCuts = { "pi+" : "(PT>%s)"% (config['Majo_Bach_PTmin']) } _B.DaughtersCuts = _daughterCuts _B.CombinationCut = _combCuts @@ -1070,13 +1082,14 @@ class Beauty2MajoLepConf(LineBuilder) : """ _massCut = "(AM<%s*MeV)" % config['Majo_AMhigh'] _docaCut = "(ADOCACHI2CUT(%s, ''))" % config['Majo_DocaChi2'] + _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] + - _ptCut = "(PT>%s*MeV)" % config['Majo_PTmin'] - _massCutJpsi = "(ADMASS('J/psi(1S)') < %s)" % config['Jpsi_pdg'] + _massCutJpsi = "(M>%s*MeV)" % config['Jpsi_MLow'] + '&' + "(M<%s*MeV)" % config['Jpsi_MHigh'] - _motherCuts = _ptCut+'&'+_massCutJpsi - _combCuts = _massCut + '&' + _docaCut + _motherCuts = _ptCut+'&'+_massCutJpsi + '&' + _vtxChi2Cut + _combCuts = _massCut + '&' + _docaCut _Majo = CombineParticles() @@ -1101,22 +1114,24 @@ class Beauty2MajoLepConf(LineBuilder) : """ _docaCut = "(ADOCACHI2CUT(%s, ''))" % config['Majo_DocaChi2'] _massCut = "(AM<%s*MeV)" % config['Majo_AMhigh'] - - + _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['Majo_VtxChi2'] + + + _ptCut = "(PT>%s*MeV)" % config['Majo_PTmin'] - _massCutJpsi = "(M>%s*MeV)" % (3096.9 - config['Jpsi_electron_pdg']) + '&' + "(M<%s*MeV)" % (3096.9 + config['Jpsi_pdg']) + _massCutJpsi = "(M>%s*MeV)" % config['Jpsi_MLow'] + '&' + "(M<%s*MeV)" % config['Jpsi_MHigh'] _pidCut_electron = "(PIDe>-5.)" + _motherCuts = _ptCut+'&'+_massCutJpsi + '&' + _vtxChi2Cut - _motherCuts = _ptCut+'&'+_massCutJpsi - _combCuts = _massCut + '&' + _docaCut + _combCuts = _massCut + '&' + _docaCut _Majo = CombineParticles() _Majo.DecayDescriptors = [ "J/psi(1S) -> e+ e-" ] - - _daughterCuts = { "e-" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"] + '&' + _pidCut_electron, "e+" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"] + '&' + _pidCut_electron} - + + _daughterCuts = { "e-" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"] + '&' + _pidCut_electron, "e+" : "(PT>%s*MeV)" % config["Majo_Bach_PTmin"] + '&' + _pidCut_electron} + _Majo.DaughtersCuts = _daughterCuts _Majo.CombinationCut = _combCuts _Majo.MotherCut = _motherCuts @@ -1143,8 +1158,8 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['BVtxChi2'] _ipChi2Cut = "(MIPCHI2DV(PRIMARY)<%s)" % config['B_IPCHI2wrtPV'] _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] - _massCut = "(ADMASS('B+') < %s)" % config['B_electron_pdg'] - + _massCut = "(M>%s*MeV)" % config['B_Mlow'] + '&' + "(M<%s*MeV)" % config['B_electron_High'] + _motherCuts = _vtxChi2Cut +'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCut @@ -1177,12 +1192,12 @@ class Beauty2MajoLepConf(LineBuilder) : _vtxChi2Cut = "(VFASPF(VCHI2)<%s)" % config['BVtxChi2'] _ipChi2Cut = "(MIPCHI2DV(PRIMARY)<%s)" % config['B_IPCHI2wrtPV'] _fdChi2Cut = "(BPVDLS>%s)" % config['B_DLS'] - _massCut = "(ADMASS('B+') < %s)" % config['B_electron_pdg'] - + _massCut = "(M>%s*MeV)" % config['B_Mlow'] + '&' + "(M<%s*MeV)" % config['B_electron_High'] + _motherCuts = _vtxChi2Cut +'&'+_ipChi2Cut+'&'+_fdChi2Cut+'&'+_massCut - + _B = CombineParticles() _B.DecayDescriptors = [ "B+ -> K+ J/psi(1S)", "B- -> K- J/psi(1S)" ] diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping28r2p2/LineConfigDictionaries_RD.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping28r2p2/LineConfigDictionaries_RD.py index a006e21a08539cc9916ea65b6c0e53666f9410b8..f93e1a8744c37762668fefd31f722444e88891bf 100644 --- a/Phys/StrippingSettings/python/StrippingSettings/Stripping28r2p2/LineConfigDictionaries_RD.py +++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping28r2p2/LineConfigDictionaries_RD.py @@ -1984,33 +1984,32 @@ Beauty2MajoLep = { "AM_Mhigh": 7200.0, "AM_Mlow": 0.0, "BVtxChi2": 9.0, - "B_Bach_PT_DD": 1000.0, + "B_Bach_PT_DD": 700.0, "B_DLS": 5.0, "B_IPCHI2wrtPV": 16.0, + "B_Ks_High" : 5500., + "B_Ks_Low" : 5000., "B_Mhigh": 6800.0, "B_Mlow": 4500.0, - "B_electron_pdg": 800.0, - "B_pdg": 400.0, - "B_pdg_Ks_DD": 200.0, - "Bach_PTmin": 750.0, - "D0_pdg": 100.0, - "Jpsi_electron_pdg": 800.0, - "Jpsi_pdg": 400.0, - "Ks_Bach_PT": 800.0, - "Ks_pdg": 80.0, - "Ks_pdg_DD": 50.0, - "Lep_IPChi2min": 16.0, + "B_electron_High": 6080.0, + "Bach_PTmin": 700.0, + "D0_pdg": 85.0, + "Jpsi_MLow" : 2100., + "Jpsi_MHigh" : 3500., + "Ks_Bach_PT": 500.0, + "Ks_MLow": 430.0, + "Ks_MHigh": 550.0, + "Lep_IPChi2min": 11.0, "Lep_PTmin": 300.0, "Majo_AMhigh": 7000.0, "Majo_AMlow": 0.0, - "Majo_Bach_PTmin": 550.0, + "Majo_Bach_PTmin": 500.0, "Majo_DocaChi2": 16.0, "Majo_PTmin": 700.0, "Majo_VtxChi2": 9.0, "Postscale": 1.0, - "Prescale1": 0.05, - "Prescale2": 0.1, - "Prescale3": 0.2, + "Prescale1": 0.075, + "Prescale2": 0.15, "RequiredRawEvents": [ "Trigger", "Muon", @@ -2019,8 +2018,8 @@ Beauty2MajoLep = { "Velo", "Tracker" ], - "Trk_Chi2NDOF": 5.0, - "Trk_GhostProb": 0.5 + "Trk_Chi2NDOF": 4.0, + "Trk_GhostProb": 0.4 }, "STREAMS": [ "BhadronCompleteEvent" ], "WGs": [ "RD" ] diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p3/LineConfigDictionaries_RD.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p3/LineConfigDictionaries_RD.py index 6e02a4bac5d319f15365f94a664e34a156518744..4080f5c8b60b297f31b260e9633ac03435bfddb6 100644 --- a/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p3/LineConfigDictionaries_RD.py +++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping29r2p3/LineConfigDictionaries_RD.py @@ -1983,33 +1983,32 @@ Beauty2MajoLep = { "AM_Mhigh": 7200.0, "AM_Mlow": 0.0, "BVtxChi2": 9.0, - "B_Bach_PT_DD": 1000.0, + "B_Bach_PT_DD": 700.0, "B_DLS": 5.0, "B_IPCHI2wrtPV": 16.0, + "B_Ks_High" : 5500., + "B_Ks_Low" : 5000., "B_Mhigh": 6800.0, "B_Mlow": 4500.0, - "B_electron_pdg": 800.0, - "B_pdg": 400.0, - "B_pdg_Ks_DD": 200.0, - "Bach_PTmin": 750.0, - "D0_pdg": 100.0, - "Jpsi_electron_pdg": 800.0, - "Jpsi_pdg": 400.0, - "Ks_Bach_PT": 800.0, - "Ks_pdg": 80.0, - "Ks_pdg_DD": 50.0, - "Lep_IPChi2min": 16.0, + "B_electron_High": 6080.0, + "Bach_PTmin": 700.0, + "D0_pdg": 85.0, + "Jpsi_MLow" : 2100., + "Jpsi_MHigh" : 3500., + "Ks_Bach_PT": 500.0, + "Ks_MLow": 430.0, + "Ks_MHigh": 550.0, + "Lep_IPChi2min": 11.0, "Lep_PTmin": 300.0, "Majo_AMhigh": 7000.0, "Majo_AMlow": 0.0, - "Majo_Bach_PTmin": 550.0, + "Majo_Bach_PTmin": 500.0, "Majo_DocaChi2": 16.0, "Majo_PTmin": 700.0, "Majo_VtxChi2": 9.0, "Postscale": 1.0, - "Prescale1": 0.05, - "Prescale2": 0.1, - "Prescale3": 0.2, + "Prescale1": 0.075, + "Prescale2": 0.15, "RequiredRawEvents": [ "Trigger", "Muon", @@ -2018,8 +2017,8 @@ Beauty2MajoLep = { "Velo", "Tracker" ], - "Trk_Chi2NDOF": 5.0, - "Trk_GhostProb": 0.5 + "Trk_Chi2NDOF": 4.0, + "Trk_GhostProb": 0.4 }, "STREAMS": [ "BhadronCompleteEvent" ], "WGs": [ "RD" ] diff --git a/Phys/StrippingSettings/python/StrippingSettings/Stripping34r0p3/LineConfigDictionaries_RD.py b/Phys/StrippingSettings/python/StrippingSettings/Stripping34r0p3/LineConfigDictionaries_RD.py index 11e8338ac50dbe1b64113271a74601c06536cddc..a725e5309fed0ecaabd87df3e91de27626bf176e 100644 --- a/Phys/StrippingSettings/python/StrippingSettings/Stripping34r0p3/LineConfigDictionaries_RD.py +++ b/Phys/StrippingSettings/python/StrippingSettings/Stripping34r0p3/LineConfigDictionaries_RD.py @@ -1984,33 +1984,32 @@ Beauty2MajoLep = { "AM_Mhigh": 7200.0, "AM_Mlow": 0.0, "BVtxChi2": 9.0, - "B_Bach_PT_DD": 1000.0, + "B_Bach_PT_DD": 700.0, "B_DLS": 5.0, "B_IPCHI2wrtPV": 16.0, + "B_Ks_High" : 5500., + "B_Ks_Low" : 5000., "B_Mhigh": 6800.0, "B_Mlow": 4500.0, - "B_electron_pdg": 800.0, - "B_pdg": 400.0, - "B_pdg_Ks_DD": 200.0, - "Bach_PTmin": 750.0, - "D0_pdg": 100.0, - "Jpsi_electron_pdg": 800.0, - "Jpsi_pdg": 400.0, - "Ks_Bach_PT": 800.0, - "Ks_pdg": 80.0, - "Ks_pdg_DD": 50.0, - "Lep_IPChi2min": 16.0, + "B_electron_High": 6080.0, + "Bach_PTmin": 700.0, + "D0_pdg": 85.0, + "Jpsi_MLow" : 2100., + "Jpsi_MHigh" : 3500., + "Ks_Bach_PT": 500.0, + "Ks_MLow": 430.0, + "Ks_MHigh": 550.0, + "Lep_IPChi2min": 11.0, "Lep_PTmin": 300.0, "Majo_AMhigh": 7000.0, "Majo_AMlow": 0.0, - "Majo_Bach_PTmin": 550.0, + "Majo_Bach_PTmin": 500.0, "Majo_DocaChi2": 16.0, "Majo_PTmin": 700.0, "Majo_VtxChi2": 9.0, "Postscale": 1.0, - "Prescale1": 0.05, - "Prescale2": 0.1, - "Prescale3": 0.2, + "Prescale1": 0.075, + "Prescale2": 0.15, "RequiredRawEvents": [ "Trigger", "Muon", @@ -2019,8 +2018,8 @@ Beauty2MajoLep = { "Velo", "Tracker" ], - "Trk_Chi2NDOF": 5.0, - "Trk_GhostProb": 0.5 + "Trk_Chi2NDOF": 4.0, + "Trk_GhostProb": 0.4 }, "STREAMS": [ "BhadronCompleteEvent" ], "WGs": [ "RD" ]