1 import FWCore.ParameterSet.Config
as cms
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"),
8 lowerPuritySelection = cms.string(
"isGlobalMuon"),
9 dimuonSelection = cms.string(
"2 < mass && abs(daughter('muon1').innerTrack.dz - daughter('muon2').innerTrack.dz) < 25"),
10 addCommonVertex = cms.bool(
True),
11 addMuonlessPrimaryVertex = cms.bool(
False),
12 addMCTruth = cms.bool(
True),
13 resolvePileUpAmbiguity = cms.bool(
True)