File indexing completed on 2024-11-23 03:28:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def L1TEnergySumFilter(*args, **kwargs):
0004 mod = cms.EDFilter('L1TEnergySumFilter',
0005 saveTags = cms.bool(True),
0006 inputTag = cms.InputTag('L1PFEnergySums'),
0007 Scalings = cms.PSet(
0008 theScalings = cms.vdouble(
0009 0,
0010 1,
0011 0
0012 )
0013 ),
0014 TypeOfSum = cms.string('HT'),
0015 MinPt = cms.double(-1),
0016 mightGet = cms.optional.untracked.vstring
0017 )
0018 for a in args:
0019 mod.update_(a)
0020 mod.update_(kwargs)
0021 return mod