Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:23:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1TPFJetFilter(*args, **kwargs):
0004   mod = cms.EDFilter('L1TPFJetFilter',
0005     saveTags = cms.bool(True),
0006     inputTag = cms.InputTag('ak4PFL1PuppiCorrected'),
0007     MinPt = cms.double(-1),
0008     MinEta = cms.double(-5),
0009     MaxEta = cms.double(5),
0010     MinN = cms.int32(1),
0011     Scalings = cms.PSet(
0012       barrel = cms.vdouble(
0013         0,
0014         1,
0015         0
0016       ),
0017       overlap = cms.vdouble(
0018         0,
0019         1,
0020         0
0021       ),
0022       endcap = cms.vdouble(
0023         0,
0024         1,
0025         0
0026       )
0027     ),
0028     mightGet = cms.optional.untracked.vstring
0029   )
0030   for a in args:
0031     mod.update_(a)
0032   mod.update_(kwargs)
0033   return mod