Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def Onia2MuMuPAT(*args, **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 a in args:
0018     mod.update_(a)
0019   mod.update_(kwargs)
0020   return mod