CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
onia2MuMuPAT_cfi.py
Go to the documentation of this file.
2 
3 onia2MuMuPAT = cms.EDProducer('Onia2MuMuPAT',
4  muons = cms.InputTag("patMuons"),
5  beamSpotTag = cms.InputTag("offlineBeamSpot"),
6  primaryVertexTag = cms.InputTag("offlinePrimaryVertices"),
7  higherPuritySelection = cms.string("isGlobalMuon"), ## At least one muon must pass this selection
8  lowerPuritySelection = cms.string("isGlobalMuon"), ## BOTH muons must pass this selection
9  dimuonSelection = cms.string("2 < mass && abs(daughter('muon1').innerTrack.dz - daughter('muon2').innerTrack.dz) < 25"), ## The dimuon must pass this selection before vertexing
10  addCommonVertex = cms.bool(True), ## Embed the full reco::Vertex out of the common vertex fit
11  addMuonlessPrimaryVertex = cms.bool(False), ## Embed the primary vertex re-made from all the tracks except the two muons
12  addMCTruth = cms.bool(True), ## Add the common MC mother of the two muons, if any
13  resolvePileUpAmbiguity = cms.bool(True) ## Order PVs by their vicinity to the J/psi vertex, not by sumPt
14 )