File indexing completed on 2024-08-27 22:59:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def Onia2MuMuPAT(**kwargs):
0004 mod = cms.EDProducer('Onia2MuMuPAT',
0005 muons = cms.required.InputTag,
0006 beamSpotTag = cms.required.InputTag,
0007 primaryVertexTag = cms.required.InputTag,
0008 higherPuritySelection = cms.required.string,
0009 lowerPuritySelection = cms.required.string,
0010 dimuonSelection = cms.string(''),
0011 addCommonVertex = cms.required.bool,
0012 addMuonlessPrimaryVertex = cms.required.bool,
0013 resolvePileUpAmbiguity = cms.required.bool,
0014 addMCTruth = cms.required.bool,
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod