1 = cms.EDProducer(
'Onia2MuMuPAT',
2 muons = cms.InputTag(
"patMuons"),
3 beamSpotTag = cms.InputTag(
"offlineBeamSpot"),
4 primaryVertexTag = cms.InputTag(
"offlinePrimaryVertices"),
5 higherPuritySelection = cms.string(
"isGlobalMuon"),
6 lowerPuritySelection = cms.string(
"isGlobalMuon"),
7 dimuonSelection = cms.string(
"2 < mass && abs(daughter('muon1').innerTrack.dz - daughter('muon2').innerTrack.dz) < 25"),
8 addCommonVertex = cms.bool(
True),
9 addMuonlessPrimaryVertex = cms.bool(
False),
10 addMCTruth = cms.bool(
True),
11 resolvePileUpAmbiguity = cms.bool(
True)