File indexing completed on 2024-09-26 05:06:06
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L1TPFTauFilter(*args, **kwargs):
0004 mod = cms.EDFilter('L1TPFTauFilter',
0005 saveTags = cms.bool(True),
0006 MinPt = cms.double(-1),
0007 MinEta = cms.double(-5),
0008 MaxEta = cms.double(5),
0009 MinN = cms.int32(1),
0010 MaxChargedIso = cms.double(1000000000),
0011 MaxFullIso = cms.double(1000000000),
0012 PassLooseNN = cms.int32(-1),
0013 PassTightNN = cms.int32(-1),
0014 inputTag = cms.InputTag('L1PFTausNN'),
0015 Scalings = cms.PSet(
0016 barrel = cms.vdouble(
0017 0,
0018 1,
0019 0
0020 ),
0021 overlap = cms.vdouble(
0022 0,
0023 1,
0024 0
0025 ),
0026 endcap = cms.vdouble(
0027 0,
0028 1,
0029 0
0030 )
0031 ),
0032 mightGet = cms.optional.untracked.vstring
0033 )
0034 for a in args:
0035 mod.update_(a)
0036 mod.update_(kwargs)
0037 return mod