File indexing completed on 2025-06-03 00:12:32
0001 import FWCore.ParameterSet.Config as cms
0002 from PhysicsTools.BPHNano.common_cff import *
0003
0004
0005
0006
0007 BToChargedKstarsMuMu = cms.EDProducer(
0008 'BToV0TrkLLBuilder',
0009 dileptons = cms.InputTag('MuMu:SelectedDiLeptons'),
0010 leptonTransientTracks = cms.InputTag('muonBPH', 'SelectedTransientMuons'),
0011 V0s_ttracks = cms.InputTag('KshortToPiPi','SelectedV0TransientCollection'),
0012 V0s = cms.InputTag('KshortToPiPi','SelectedV0Collection'),
0013 pions = cms.InputTag('tracksBPH', 'SelectedTracks'),
0014 pionsTransientTracks = cms.InputTag('tracksBPH', 'SelectedTransientTracks'),
0015 tracks = cms.InputTag("packedPFCandidates"),
0016 lostTracks = cms.InputTag("lostTracks"),
0017 beamSpot = cms.InputTag("offlineBeamSpot"),
0018 offlinePrimaryVertexSrc = cms.InputTag('offlineSlimmedPrimaryVertices'),
0019 preVtxSelection = cms.string('userFloat("pi_min_dr")>0.03 && abs(charge)==1 && 4.<mass && mass<7.0 && 0.7<userFloat("mIntermediate_unfitted") && userFloat("mIntermediate_unfitted")<1.1 && userFloat("V0pi_dr")<1.6 && userFloat("ll_pi_deltaR")<1.8 && userFloat("ll_V0_deltaR")<1.8'),
0020 postVtxSelection = cms.string('userFloat("sv_prob") > 1.e-3 && userFloat("fitted_cos_theta_2D") >= 0.90 &&'
0021 ' (4.5<userFloat("fitted_mass") && userFloat("fitted_mass")<6.0 ) && 0.7<userFloat("fitted_KstarPlus_mass") && userFloat("fitted_KstarPlus_mass")<1.1 && -0.045<userFloat("pi_svip2d") && userFloat("pi_svip2d")<0.045 && -0.045<userFloat("V0_svip2d") && userFloat("V0_svip2d")<0.045'
0022 ),
0023 )
0024
0025
0026
0027 XibToXiMuMu = cms.EDProducer(
0028 'BToV0TrkDisplacedLLBuilder',
0029 dileptons = cms.InputTag('MuMu:SelectedDiLeptons'),
0030 leptonTransientTracks = cms.InputTag('muonBPH', 'SelectedTransientMuons'),
0031 V0s_ttracks = cms.InputTag('LambdaToProtonPi','SelectedV0TransientCollection'),
0032 V0s = cms.InputTag('LambdaToProtonPi','SelectedV0Collection'),
0033 pions = cms.InputTag('tracksBPH', 'SelectedTracks'),
0034 pionsTransientTracks = cms.InputTag('tracksBPH', 'SelectedTransientTracks'),
0035 tracks = cms.InputTag("packedPFCandidates"),
0036 beamSpot = cms.InputTag("offlineBeamSpot"),
0037 offlinePrimaryVertexSrc = cms.InputTag('offlineSlimmedPrimaryVertices'),
0038 preVtxSelection = cms.string('userFloat("pi_min_dr")>0.03 && abs(charge)==1 && 4.<mass && mass<7.0 && 1.240<userFloat("mIntermediate_unfitted") && userFloat("mIntermediate_unfitted")<1.450 && userFloat("V0pi_dr")<1.6 && userFloat("ll_pi_deltaR")<1.8 && userFloat("ll_V0_deltaR")<1.8'),
0039 postVtxSelection = cms.string('userFloat("sv_prob") > 1.e-3 && userFloat("fitted_cos_theta_2D") >= 0.90 &&'
0040 ' (5.0<userFloat("fitted_mass") && userFloat("fitted_mass")<6.5 ) && 1.240<userFloat("Xi_mass") && userFloat("Xi_mass")<1.450'
0041 ),
0042 )
0043
0044
0045
0046 BToChargedKstarsMuMuTable = cms.EDProducer(
0047 'SimpleCompositeCandidateFlatTableProducer',
0048 src = cms.InputTag("BToChargedKstarsMuMu"),
0049 cut = cms.string(""),
0050 name = cms.string("BToChargedKstarMuMu"),
0051 doc = cms.string("BToChargedKstarMuMu Variable"),
0052 singleton=cms.bool(False),
0053 extension=cms.bool(False),
0054 variables=cms.PSet(
0055
0056 CandVars,
0057 pi_idx = Var("userInt('pi_idx')", int, doc = "track index to the BPH track collection"),
0058 V0_idx = Var("userInt('V0_idx')", int, doc = "V0 index to the BPH V0 collection"),
0059 l1_idx = Var("userInt('l1_idx')", int, doc = "leading muon index to the BPH muon collection"),
0060 l2_idx = Var("userInt('l2_idx')", int, doc = "subleading muon index to the BPH muon collection"),
0061 ll_idx = Var("userInt('ll_idx')", int, doc = "dilepton index to the MuMu collection"),
0062 V0trk_dz = Var("userFloat('V0trk_dz')", float, doc = "Dz at DCA between the V0 and the dilepton pair", precision=12),
0063 V0_dz = Var("userFloat('V0_dz')", float, doc = "Dz at DCA between the V0 and the dilepton pair", precision=12),
0064 V0pi_dr = Var("userFloat('V0pi_dr')", float, doc = "DeltaR between the V0 and the pion", precision=12),
0065 V0_min_dr = Var("userFloat('V0_min_dr')", float, doc = "minimum DeltaR between the V0 and the two muons", precision=12),
0066 V0_max_dr = Var("userFloat('V0_max_dr')", float, doc = "maximum DeltaR between the V0 and the two muons", precision=12),
0067 pi_min_dr = Var("userFloat('pi_min_dr')", float, doc = "minimum DeltaR between the pion and the two muons", precision=12),
0068 pi_max_dr = Var("userFloat('pi_max_dr')", float, doc = "maximum DeltaR between the pion and the two muons", precision=12),
0069
0070
0071 sv_chi2 = Var("userFloat('sv_chi2')", float, doc = "chi^2 of the Xi_b fitted candidate", precision=12),
0072 sv_ndof = Var("userFloat('sv_ndof')", float, doc = "ndof of the Xi_b fitted candidate", precision=12),
0073 sv_prob = Var("userFloat('sv_prob')", float, doc = "vertex probability of the Xi_b candidate"),
0074 fit_KstarPlus_mass = Var("userFloat('fitted_KstarPlus_mass')", float, doc = "post-fit K*+ mass"),
0075 fit_KstarPlus_pt = Var("userFloat('fitted_KstarPlus_pt')", float, doc = "post-fit K*+ pT"),
0076 fit_KstarPlus_eta = Var("userFloat('fitted_KstarPlus_eta')", float, doc = "post-fit K*+ eTa"),
0077 fit_KstarPlus_phi = Var("userFloat('fitted_KstarPlus_phi')", float, doc = "post-fit K*+ phi"),
0078 fit_mass = Var("userFloat('fitted_mass')", float, doc = "post-fit mass of the Xi_b candidate"),
0079 fit_massErr = Var("userFloat('fitted_massErr')", float, doc = "post-fit uncertainty of the mass of the Xi_b candidate", precision=12),
0080 mll_fullfit = Var("userFloat('fitted_mll_mass')", float, doc = "post-fit mass of the two muons"),
0081 fit_pt = Var("userFloat('fitted_pt')", float, doc = "post-fit Xi_b pT"),
0082 fit_eta = Var("userFloat('fitted_eta')", float, doc = "post-fit Xi_b eta"),
0083 fit_phi = Var("userFloat('fitted_phi')", float, doc = "post-fit Xi_b phi"),
0084 dca = Var("userFloat('dca')", float, doc = "DCA of B candidate wrt to beamspot", precision=12),
0085 dcaErr = Var("userFloat('dcaErr')", float, doc = "Error DCA of B candidate wrt to beamspot", precision=12),
0086 vtx_x = Var("userFloat('vtx_x')", float, doc = "position x of Xi_b fitted vertex", precision=12),
0087 vtx_y = Var("userFloat('vtx_y')", float, doc = "position y of Xi_b fitted vertex", precision=12),
0088 vtx_z = Var("userFloat('vtx_z')", float, doc = "position z of Xi_b fitted vertex", precision=12),
0089 vtx_ex = Var("userFloat('vtx_ex')", float, doc = "uncertainty for position x of Xi_b fitted vertex", precision=12),
0090 vtx_ey = Var("userFloat('vtx_ey')", float, doc = "uncertainty for position y of Xi_b fitted vertex", precision=12),
0091 vtx_ez = Var("userFloat('vtx_ez')", float, doc = "uncertainty for position z of Xi_b fitted vertex", precision=12),
0092 fit_pi_pt = Var("userFloat('fitted_pi_pt')", float, doc = "post-fit pion pt"),
0093 fit_pi_eta = Var("userFloat('fitted_pi_eta')", float, doc = "post-fit pion eta"),
0094 fit_pi_phi = Var("userFloat('fitted_pi_phi')", float, doc = "post-fit pion phi"),
0095 fit_V0_pt = Var("userFloat('fitted_V0_pt')", float, doc = "post-fit V0 pt"),
0096 fit_V0_eta = Var("userFloat('fitted_V0_eta')", float, doc = "post-fit V0 eta"),
0097 fit_V0_phi = Var("userFloat('fitted_V0_phi')", float, doc = "post-fit V0 phi"),
0098 fit_l1_pt = Var("userFloat('fitted_l1_pt')", float, doc = "post-fit leading mu pT"),
0099 fit_l1_eta = Var("userFloat('fitted_l1_eta')", float, doc = "post-fit leading mu eta"),
0100 fit_l1_phi = Var("userFloat('fitted_l1_phi')", float, doc = "post-fit leading mu phi"),
0101 fit_l2_pt = Var("userFloat('fitted_l2_pt')", float, doc = "post-fit subleading mu pT"),
0102 fit_l2_eta = Var("userFloat('fitted_l2_eta')", float, doc = "post-fit subleading mu eta"),
0103 fit_l2_phi = Var("userFloat('fitted_l2_phi')", float, doc = "post-fit subleading mu phi"),
0104 fit_cos_theta_2D = Var("userFloat('fitted_cos_theta_2D')", float, doc = "cos 2D of fitted vertex wrt beamspot for the Xi candidate"),
0105 l_xy = Var("userFloat('l_xy')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot"),
0106 l_xy_unc = Var("userFloat('l_xy_unc')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot"),
0107 pi_svip2d = Var("userFloat('pi_svip2d')", float, doc = "2D IP of the track wrt the dimuon vertex", precision=12),
0108 pi_svip2d_err = Var("userFloat('pi_svip2d_err')", float, doc = "uncertainty of 2D IP of the track wrt the dimuon vertex", precision=12),
0109 pi_svip3d = Var("userFloat('pi_svip3d')", float, doc = "3D IP of the track wrt the dimuon vertex", precision=12),
0110 pi_svip3d_err = Var("userFloat('pi_svip3d_err')", float, doc = "uncertainty of 3D IP of the track wrt the dimuon vertex", precision=12),
0111 V0_svip2d = Var("userFloat('V0_svip2d')", float, doc = "2D IP of the V0 wrt the dimuon vertex", precision=12),
0112 V0_svip2d_err = Var("userFloat('V0_svip2d_err')", float, doc = "uncertainty of 2D IP of the V0 wrt the dimuon vertex", precision=12),
0113 V0_svip3d = Var("userFloat('V0_svip3d')", float, doc = "3D IP of the V0 wrt the dimuon vertex", precision=12),
0114 V0_svip3d_err = Var("userFloat('V0_svip3d_err')", float, doc = "uncertainty of 3D IP of the V0 wrt the dimuon vertex", precision=12),
0115 ll_pi_deltaR = Var("userFloat('ll_pi_deltaR')", float, doc = "Delta R between pion and dilepton pair", precision=12),
0116 ll_V0_deltaR = Var("userFloat('ll_V0_deltaR')", float, doc = "Delta R between V0 and dilepton pair", precision=12),
0117 constraint_chi2 = Var("userFloat('sv_chi2_withMC')", float, doc = "chi^2 of the Xi_b fitted candidate with mass constraint", precision=12),
0118 constraint_ndof = Var("userFloat('sv_ndof_withMC')", float, doc = "ndof of the Xi_b fitted candidate with mass constraint", precision=12),
0119 constraint_prob = Var("userFloat('sv_prob_withMC')", float, doc = "vertex probability of the Xi_b candidate with mass constraint", precision=12),
0120 constraint_l_xy = Var("userFloat('l_xy_withMC')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot with mass constraint", precision=12),
0121 constraint_l_xy_unc = Var("userFloat('l_xy_unc_withMC')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot with mass constraint", precision=12),
0122 constraint_vtx_x = Var("userFloat('vtx_x_withMC')", float, doc = "position x of Xi_b fitted vertex with mass constraint", precision=12),
0123 constraint_vtx_y = Var("userFloat('vtx_y_withMC')", float, doc = "position y of Xi_b fitted vertex with mass constraint", precision=12),
0124 constraint_vtx_z = Var("userFloat('vtx_z_withMC')", float, doc = "position z of Xi_b fitted vertex with mass constraint", precision=12),
0125 constraint_vtx_ex = Var("userFloat('vtx_ex_withMC')", float, doc = "uncertainty for position x of Xi_b fitted vertex with mass constraint", precision=12),
0126 constraint_vtx_ey = Var("userFloat('vtx_ey_withMC')", float, doc = "uncertainty for position y of Xi_b fitted vertex with mass constraint", precision=12),
0127 constraint_vtx_ez = Var("userFloat('vtx_ez_withMC')", float, doc = "uncertainty for position z of Xi_b fitted vertex with mass constraint", precision=12),
0128 constraint_fit_cos_theta_2D = Var("userFloat('fitted_cos_theta_2D_withMC')", float, doc = "cos 2D of fitted vertex wrt beamspot for the Xi candidate with mass constraint", precision=12),
0129 constraint_fit_mass = Var("userFloat('fitted_mass_withMC')", float, doc = "post-fit mass of the Xi_b candidate with mass constraint"),
0130 constraint_fit_massErr = Var("userFloat('fitted_massErr_withMC')", float, doc = "post-fit mass uncertainty of the Xi_b candidate with mass constraint", precision=12),
0131 constraint_fit_pt = Var("userFloat('fitted_pt_withMC')", float, doc = "post-fit Xi_b pT with mass constraint", precision=12),
0132 constraint_fit_eta = Var("userFloat('fitted_eta_withMC')", float, doc = "post-fit Xi_b eta with mass constraint", precision=12),
0133 constraint_fit_phi = Var("userFloat('fitted_phi_withMC')", float, doc = "post-fit Xi_b phi with mass constraint", precision=12),
0134 constraint_fit_l1_pt = Var("userFloat('fitted_l1_pt_withMC')", float, doc = "post-fit leading mu pT with mass constraint", precision=12),
0135 constraint_fit_l1_eta = Var("userFloat('fitted_l1_eta_withMC')", float, doc = "post-fit leading mu eta with mass constraint", precision=12),
0136 constraint_fit_l1_phi = Var("userFloat('fitted_l1_phi_withMC')", float, doc = "post-fit leading mu phi with mass constraint", precision=12),
0137 constraint_fit_l2_pt = Var("userFloat('fitted_l2_pt_withMC')", float, doc = "post-fit subleading mu pT with mass constraint", precision=12),
0138 constraint_fit_l2_eta = Var("userFloat('fitted_l2_eta_withMC')", float, doc = "post-fit subleading mu eta with mass constraint", precision=12),
0139 constraint_fit_l2_phi = Var("userFloat('fitted_l2_phi_withMC')", float, doc = "post-fit subleading mu phi with mass constraint", precision=12),
0140 constraint_fit_V0_pt = Var("userFloat('fitted_V0_pt_withMC')", float, doc = "post-fit V0 pT with mass constraint", precision=12),
0141 constraint_fit_V0_eta = Var("userFloat('fitted_V0_eta_withMC')", float, doc = "post-fit V0 eta with mass constraint", precision=12),
0142 constraint_fit_V0_phi = Var("userFloat('fitted_V0_phi_withMC')", float, doc = "post-fit V0 phi with mass constraint", precision=12),
0143 constraint_fit_pi_pt = Var("userFloat('fitted_pi_pt_withMC')", float, doc = "post-fit pion pT with mass constraint", precision=12),
0144 constraint_fit_pi_eta = Var("userFloat('fitted_pi_eta_withMC')", float, doc = "post-fit pion eta with mass constraint", precision=12),
0145 constraint_fit_pi_phi = Var("userFloat('fitted_pi_phi_withMC')", float, doc = "post-fit pion phi with mass constraint", precision=12),
0146 )
0147 )
0148
0149
0150
0151 XibToXiMuMuTable = cms.EDProducer(
0152 'SimpleCompositeCandidateFlatTableProducer',
0153 src = cms.InputTag("XibToXiMuMu"),
0154 cut = cms.string(""),
0155 name = cms.string("XibToXiMuMu"),
0156 doc = cms.string("XibToXiMuMu Variable"),
0157 singleton=cms.bool(False),
0158 extension=cms.bool(False),
0159 variables=cms.PSet(
0160
0161 CandVars,
0162 pi_idx = Var("userInt('pi_idx')", int, doc = "track index to the BPH track collection"),
0163 V0_idx = Var("userInt('V0_idx')", int, doc = "V0 index to the BPH V0 collection"),
0164 l1_idx = Var("userInt('l1_idx')", int, doc = "leading muon index to the BPH muon collection"),
0165 l2_idx = Var("userInt('l2_idx')", int, doc = "subleading muon index to the BPH muon collection"),
0166 ll_idx = Var("userInt('ll_idx')", int, doc = "dilepton index to the MuMu collection"),
0167 V0pi_dr = Var("userFloat('V0pi_dr')", float, doc = "DeltaR between the V0 and the pion", precision=12),
0168 V0_min_dr = Var("userFloat('V0_min_dr')", float, doc = "minimum DeltaR between the V0 and the two muons", precision=12),
0169 V0_max_dr = Var("userFloat('V0_max_dr')", float, doc = "maximum DeltaR between the V0 and the two muons", precision=12),
0170 pi_min_dr = Var("userFloat('pi_min_dr')", float, doc = "minimum DeltaR between the pion and the two muons", precision=12),
0171 pi_max_dr = Var("userFloat('pi_max_dr')", float, doc = "maximum DeltaR between the pion and the two muons", precision=12),
0172
0173
0174 sv_chi2 = Var("userFloat('sv_chi2')", float, doc = "chi^2 of the Xi_b fitted candidate", precision=12),
0175 sv_ndof = Var("userFloat('sv_ndof')", float, doc = "ndof of the Xi_b fitted candidate", precision=12),
0176 sv_prob = Var("userFloat('sv_prob')", float, doc = "vertex probability of the Xi_b candidate", precision=12),
0177 Xi_sv_chi2 = Var("userFloat('Xi_sv_chi2')", float, doc = "chi^2 of the Xi fitted candidate", precision=12),
0178 Xi_sv_ndof = Var("userFloat('Xi_sv_ndof')", float, doc = "ndof of the Xi fitted candidate", precision=12),
0179 Xi_sv_prob = Var("userFloat('Xi_sv_prob')", float, doc = "vertex probability of the Xi candidate"),
0180 Xi_vtx_x = Var("userFloat('Xi_vtx_x')", float, doc = "position x of Xi fitted vertex", precision=12),
0181 Xi_vtx_y = Var("userFloat('Xi_vtx_y')", float, doc = "position y of Xi fitted vertex", precision=12),
0182 Xi_vtx_z = Var("userFloat('Xi_vtx_z')", float, doc = "position z of Xi fitted vertex", precision=12),
0183 Xi_vtx_ex = Var("userFloat('Xi_vtx_ex')", float, doc = "uncertainty for position x of Xi fitted vertex", precision=12),
0184 Xi_vtx_ey = Var("userFloat('Xi_vtx_ey')", float, doc = "uncertainty for position y of Xi fitted vertex", precision=12),
0185 Xi_vtx_ez = Var("userFloat('Xi_vtx_ez')", float, doc = "uncertainty for position z of Xi fitted vertex", precision=12),
0186 Xi_fit_cos_theta_2D = Var("userFloat('Xi_fitted_cos_theta_2D')", float, doc = "cos 2D of fitted vertex wrt beamspot for the Xi candidate"),
0187 Xi_l_xy = Var("userFloat('Xi_l_xy')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot for the Xi candidate"),
0188 Xi_l_xy_unc = Var("userFloat('Xi_l_xy_unc')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot for the Xi candidate"),
0189 Xi_mass = Var("userFloat('Xi_mass')", float, doc = "post-fit mass of the Xi candidate"),
0190 Xi_massErr = Var("userFloat('Xi_massErr')", float, doc = "uncertainty for post-fit mass of the Xi candidate", precision=12),
0191 fit_mass = Var("userFloat('fitted_mass')", float, doc = "post-fit mass of the B candidate"),
0192 fit_massErr = Var("userFloat('fitted_massErr')", float, doc = "post-fit uncertainty of the mass of the B candidate", precision=12),
0193 mll_fullfit = Var("userFloat('fitted_mll_mass')", float, doc = "post-fit mass of the two muons"),
0194 fit_pt = Var("userFloat('fitted_pt')", float, doc = "post-fit B pT"),
0195 fit_eta = Var("userFloat('fitted_eta')", float, doc = "post-fit B eta"),
0196 fit_phi = Var("userFloat('fitted_phi')", float, doc = "post-fit B phi"),
0197 dca = Var("userFloat('dca')", float, doc = "DCA of B candidate wrt to beamspot", precision=12),
0198 dcaErr = Var("userFloat('dcaErr')", float, doc = "Error DCA of B candidate wrt to beamspot", precision=12),
0199 vtx_x = Var("userFloat('vtx_x')", float, doc = "position x of Xi_b fitted vertex", precision=12),
0200 vtx_y = Var("userFloat('vtx_y')", float, doc = "position y of Xi_b fitted vertex", precision=12),
0201 vtx_z = Var("userFloat('vtx_z')", float, doc = "position z of Xi_b fitted vertex", precision=12),
0202 vtx_ex = Var("userFloat('vtx_ex')", float, doc = "uncertainty for position x of Xi_b fitted vertex", precision=12),
0203 vtx_ey = Var("userFloat('vtx_ey')", float, doc = "uncertainty for position y of Xi_b fitted vertex", precision=12),
0204 vtx_ez = Var("userFloat('vtx_ez')", float, doc = "uncertainty for position z of Xi_b fitted vertex", precision=12),
0205 fit_l1_pt = Var("userFloat('fitted_l1_pt')", float, doc = "post-fit leading mu pT"),
0206 fit_l1_eta = Var("userFloat('fitted_l1_eta')", float, doc = "post-fit leading mu eta"),
0207 fit_l1_phi = Var("userFloat('fitted_l1_phi')", float, doc = "post-fit leading mu phi"),
0208 fit_l2_pt = Var("userFloat('fitted_l2_pt')", float, doc = "post-fit subleading mu pT"),
0209 fit_l2_eta = Var("userFloat('fitted_l2_eta')", float, doc = "post-fit subleading mu eta"),
0210 fit_l2_phi = Var("userFloat('fitted_l2_phi')", float, doc = "post-fit subleading mu phi"),
0211 fit_Xi_pt = Var("userFloat('fitted_Xi_pt')", float, doc = "post-fit Xi pT"),
0212 fit_Xi_eta = Var("userFloat('fitted_Xi_eta')", float, doc = "post-fit Xi eta"),
0213 fit_Xi_phi = Var("userFloat('fitted_Xi_phi')", float, doc = "post-fit Xi phi"),
0214 fit_cos_theta_2D = Var("userFloat('fitted_cos_theta_2D')", float, doc = "cos 2D of fitted vertex wrt beamspot for the Xi candidate"),
0215 l_xy = Var("userFloat('l_xy')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot"),
0216 l_xy_unc = Var("userFloat('l_xy_unc')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot"),
0217 Xi_svip2d = Var("userFloat('Xi_svip2d')", float, doc = "2D IP of the track wrt the dimuon vertex", precision=12),
0218 Xi_svip2d_err = Var("userFloat('Xi_svip2d_err')", float, doc = "uncertainty of 2D IP of the track wrt the dimuon vertex", precision=12),
0219 Xi_svip3d = Var("userFloat('Xi_svip3d')", float, doc = "3D IP of the track wrt the dimuon vertex", precision=12),
0220 Xi_svip3d_err = Var("userFloat('Xi_svip3d_err')", float, doc = "uncertainty of 3D IP of the track wrt the dimuon vertex", precision=12),
0221 ll_pi_deltaR = Var("userFloat('ll_pi_deltaR')", float, doc = "Delta R between pion and dilepton pair", precision=12),
0222 ll_V0_deltaR = Var("userFloat('ll_V0_deltaR')", float, doc = "Delta R between V0 and dilepton pair", precision=12),
0223 constraint_chi2 = Var("userFloat('sv_chi2_withMC')", float, doc = "chi^2 of the Xi_b fitted candidate with mass constraint", precision=12),
0224 constraint_ndof = Var("userFloat('sv_ndof_withMC')", float, doc = "ndof of the Xi_b fitted candidate with mass constraint", precision=12),
0225 constraint_prob = Var("userFloat('sv_prob_withMC')", float, doc = "vertex probability of the Xi_b candidate with mass constraint", precision=12),
0226 constraint_l_xy = Var("userFloat('l_xy_withMC')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot with mass constraint", precision=12),
0227 constraint_l_xy_unc = Var("userFloat('l_xy_unc_withMC')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot with mass constraint", precision=12),
0228 constraint_vtx_x = Var("userFloat('vtx_x_withMC')", float, doc = "position x of Xi_b fitted vertex with mass constraint", precision=12),
0229 constraint_vtx_y = Var("userFloat('vtx_y_withMC')", float, doc = "position y of Xi_b fitted vertex with mass constraint", precision=12),
0230 constraint_vtx_z = Var("userFloat('vtx_z_withMC')", float, doc = "position z of Xi_b fitted vertex with mass constraint", precision=12),
0231 constraint_vtx_ex = Var("userFloat('vtx_ex_withMC')", float, doc = "uncertainty for position x of Xi_b fitted vertex with mass constraint", precision=12),
0232 constraint_vtx_ey = Var("userFloat('vtx_ey_withMC')", float, doc = "uncertainty for position y of Xi_b fitted vertex with mass constraint", precision=12),
0233 constraint_vtx_ez = Var("userFloat('vtx_ez_withMC')", float, doc = "uncertainty for position z of Xi_b fitted vertex with mass constraint", precision=12),
0234 constraint_fit_cos_theta_2D = Var("userFloat('fitted_cos_theta_2D_withMC')", float, doc = "cos 2D of fitted vertex wrt beamspot for the Xi candidate with mass constraint", precision=12),
0235 constraint_fit_mass = Var("userFloat('fitted_mass_withMC')", float, doc = "post-fit mass of the B candidate with mass constraint"),
0236 constraint_fit_massErr = Var("userFloat('fitted_massErr_withMC')", float, doc = "post-fit mass uncertainty of the B candidate with mass constraint", precision=12),
0237 constraint_fit_pt = Var("userFloat('fitted_pt_withMC')", float, doc = "post-fit B pT with mass constraint", precision=12),
0238 constraint_fit_eta = Var("userFloat('fitted_eta_withMC')", float, doc = "post-fit B eta with mass constraint", precision=12),
0239 constraint_fit_phi = Var("userFloat('fitted_phi_withMC')", float, doc = "post-fit B phi with mass constraint", precision=12),
0240 constraint_fit_l1_pt = Var("userFloat('fitted_l1_pt_withMC')", float, doc = "post-fit leading mu pT with mass constraint", precision=12),
0241 constraint_fit_l1_eta = Var("userFloat('fitted_l1_eta_withMC')", float, doc = "post-fit leading mu eta with mass constraint", precision=12),
0242 constraint_fit_l1_phi = Var("userFloat('fitted_l1_phi_withMC')", float, doc = "post-fit leading mu phi with mass constraint", precision=12),
0243 constraint_fit_l2_pt = Var("userFloat('fitted_l2_pt_withMC')", float, doc = "post-fit subleading mu pT with mass constraint", precision=12),
0244 constraint_fit_l2_eta = Var("userFloat('fitted_l2_eta_withMC')", float, doc = "post-fit subleading mu eta with mass constraint", precision=12),
0245 constraint_fit_l2_phi = Var("userFloat('fitted_l2_phi_withMC')", float, doc = "post-fit subleading mu phi with mass constraint", precision=12),
0246 constraint_fit_Xi_pt = Var("userFloat('fitted_Xi_pt_withMC')", float, doc = "post-fit Xi pT with mass constraint", precision=12),
0247 constraint_fit_Xi_eta = Var("userFloat('fitted_Xi_eta_withMC')", float, doc = "post-fit Xi eta with mass constraint", precision=12),
0248 constraint_fit_Xi_phi = Var("userFloat('fitted_Xi_phi_withMC')", float, doc = "post-fit Xi phi with mass constraint", precision=12),
0249
0250
0251 )
0252 )
0253
0254 CountBToChargedKstarMuMu= cms.EDFilter("PATCandViewCountFilter",
0255 minNumber = cms.uint32(1),
0256 src = cms.InputTag("BToChargedKstarsMuMu"),
0257 )
0258
0259 CountXibToXiMuMu= cms.EDFilter("PATCandViewCountFilter",
0260 minNumber = cms.uint32(0),
0261 src = cms.InputTag("XibToXiMuMu"),
0262 )
0263
0264
0265 BToChargedKstarMuMuSequence = cms.Sequence(
0266 BToChargedKstarsMuMu
0267 )
0268
0269 XibToXiMuMuSequence = cms.Sequence(
0270 XibToXiMuMu
0271 )
0272
0273
0274
0275
0276
0277
0278
0279
0280
0281