File indexing completed on 2024-11-23 03:28:04
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def AJJGenJetFilter(*args, **kwargs):
0004 mod = cms.EDFilter('AJJGenJetFilter',
0005 GenJetCollection = cms.InputTag('ak4GenJetsNoNu'),
0006 genParticles = cms.InputTag('genParticles'),
0007 minPt = cms.double(-1),
0008 minEta = cms.double(-5),
0009 maxEta = cms.double(5),
0010 deltaRJetLep = cms.double(0),
0011 minDeltaEta = cms.double(0),
0012 maxDeltaEta = cms.double(9999),
0013 MinInvMass = cms.double(0),
0014 maxPhotonEta = cms.double(5),
0015 minPhotonPt = cms.double(50),
0016 maxPhotonPt = cms.double(10000),
0017 mightGet = cms.optional.untracked.vstring
0018 )
0019 for a in args:
0020 mod.update_(a)
0021 mod.update_(kwargs)
0022 return mod