|
9 | 9 | transientTracksSrc = cms.InputTag('muonBPH', 'SelectedTransientMuons'), |
10 | 10 | lep1Selection = cms.string('pt > 4.0 && abs(eta) < 2.4 && isLooseMuon && isGlobalMuon'), |
11 | 11 | lep2Selection = cms.string('pt > 3.0 && abs(eta) < 2.4 && isLooseMuon && isGlobalMuon'), |
| 12 | + beamSpot = cms.InputTag("offlineBeamSpot"), |
12 | 13 | preVtxSelection = cms.string('abs(userCand("l1").vz - userCand("l2").vz) <= 1.' |
13 | 14 | '&& 0 < mass() && mass() < 15.0 ' |
14 | 15 | '&& charge() == 0' |
|
33 | 34 | singleton = cms.bool(False), # the number of entries is variable |
34 | 35 | extension = cms.bool(False), # this is the main table for the muons |
35 | 36 | variables = cms.PSet(CandVars, |
36 | | - fitted_mass = Var("userFloat('fitted_mass')", float, doc="Fitted dilepton mass", precision=10), |
37 | | - svprob = Var("userFloat('sv_prob')", float, doc="Vtx fit probability", precision=10), |
38 | | - vtx_x =Var("userFloat('vtx_x')", float, doc="Vtx position in x", precision=10), |
39 | | - vtx_y = Var("userFloat('vtx_y')", float, doc="Vtx position in y", precision=10), |
40 | | - vtx_z = Var("userFloat('vtx_z')", float, doc="Vtx position in y", precision=10), |
| 37 | + l1_idx = Var("userInt('l1_idx')", int, doc = "leading muon index to the BPH muon collection"), |
| 38 | + l2_idx = Var("userInt('l2_idx')", int, doc = "subleading muon index to the BPH muon collection"), |
| 39 | + fit_mass = Var("userFloat('fitted_mass')", float, doc="Fitted dilepton mass", precision=10), |
| 40 | + fit_massErr = Var("userFloat('fitted_massErr')", float, doc = "post-fit uncertainty of the mass of the B candidate", precision=10), |
| 41 | + svprob = Var("userFloat('sv_prob')", float, doc="Vtx fit probability", precision=10), |
| 42 | + l_xy = Var("userFloat('l_xy')", float, doc = "post-fit vertex displacement on transverse plane wrt beamspot", precision=10), |
| 43 | + l_xy_unc = Var("userFloat('l_xy_unc')", float, doc = "post-fit vertex uncertainty of displacement on transverse plane wrt beamspot", precision=10), |
| 44 | + vtx_x =Var("userFloat('vtx_x')", float, doc="Vtx position in x", precision=10), |
| 45 | + vtx_y = Var("userFloat('vtx_y')", float, doc="Vtx position in y", precision=10), |
| 46 | + vtx_z = Var("userFloat('vtx_z')", float, doc="Vtx position in y", precision=10), |
| 47 | + cos2D = Var("userFloat('cos_theta_2D')", float, doc = "cos 2D of pre-fit candidate wrt beamspot", precision=10), |
| 48 | + fit_cos2D = Var("userFloat('fitted_cos_theta_2D')", float, doc = "cos 2D of fitted vertex wrt beamspot", precision=10), |
41 | 49 |
|
42 | 50 | ) |
43 | 51 | ) |
|
0 commit comments