Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 22:59:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def L1TTkEmFilter(**kwargs):
0004   mod = cms.EDFilter('L1TTkEmFilter',
0005     saveTags = cms.bool(True),
0006     MinPt = cms.double(-1),
0007     MinAbsEta1 = cms.double(0),
0008     MaxAbsEta1 = cms.double(1.479),
0009     MinAbsEta2 = cms.double(1.479),
0010     MaxAbsEta2 = cms.double(5),
0011     MinN = cms.int32(1),
0012     inputTag1 = cms.InputTag('L1TkEms1'),
0013     inputTag2 = cms.InputTag('L1TkEms2'),
0014     EtaBinsForIsolation = cms.vdouble(
0015       0,
0016       1.479
0017     ),
0018     TrkIsolation = cms.vdouble(99999.9),
0019     Quality1 = cms.int32(0),
0020     Quality2 = cms.int32(0),
0021     Qual1IsMask = cms.bool(False),
0022     Qual2IsMask = cms.bool(False),
0023     ApplyQual1 = cms.bool(False),
0024     ApplyQual2 = cms.bool(False),
0025     Scalings = cms.PSet(
0026       barrel = cms.vdouble(
0027         0,
0028         1,
0029         0
0030       ),
0031       endcap = cms.vdouble(
0032         0,
0033         1,
0034         0
0035       )
0036     ),
0037     mightGet = cms.optional.untracked.vstring
0038   )
0039   for k,v in kwargs.items():
0040     setattr(mod, k, v)
0041   return mod