File indexing completed on 2024-11-23 03:28:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TauTagFilter(*args, **kwargs):
0004 mod = cms.EDFilter('TauTagFilter',
0005 saveTags = cms.bool(True),
0006 nExpected = cms.int32(2),
0007 taus = cms.InputTag(''),
0008 tauTags = cms.InputTag(''),
0009 tauPtCorr = cms.InputTag(''),
0010 seeds = cms.InputTag(''),
0011 seedTypes = cms.vint32(
0012 -100,
0013 -99,
0014 84,
0015 85
0016 ),
0017 selection = cms.string('0'),
0018 minPt = cms.double(20),
0019 maxEta = cms.double(2.5),
0020 usePtCorr = cms.bool(False),
0021 matchWithSeeds = cms.bool(False),
0022 matchingdR = cms.double(0.5),
0023 mightGet = cms.optional.untracked.vstring
0024 )
0025 for a in args:
0026 mod.update_(a)
0027 mod.update_(kwargs)
0028 return mod