Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1TPFTauFilter(**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 k,v in kwargs.items():
0035     setattr(mod, k, v)
0036   return mod