Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def HLTHcalMETNoiseFilter(**kwargs):
0004   mod = cms.EDFilter('HLTHcalMETNoiseFilter',
0005     HcalNoiseRBXCollection = cms.InputTag('hltHcalNoiseInfoProducer'),
0006     severity = cms.int32(1),
0007     maxNumRBXs = cms.int32(2),
0008     numRBXsToConsider = cms.int32(2),
0009     needEMFCoincidence = cms.bool(True),
0010     minRBXEnergy = cms.double(50),
0011     minRatio = cms.double(-999),
0012     maxRatio = cms.double(999),
0013     minHPDHits = cms.int32(17),
0014     minRBXHits = cms.int32(999),
0015     minHPDNoOtherHits = cms.int32(10),
0016     minZeros = cms.int32(10),
0017     minHighEHitTime = cms.double(-9999),
0018     maxHighEHitTime = cms.double(9999),
0019     maxRBXEMF = cms.double(0.02),
0020     minRecHitE = cms.double(1.5),
0021     minLowHitE = cms.double(10),
0022     minHighHitE = cms.double(25),
0023     minR45HitE = cms.double(5),
0024     TS4TS5EnergyThreshold = cms.double(50),
0025     TS4TS5UpperThreshold = cms.vdouble(
0026       70,
0027       90,
0028       100,
0029       400,
0030       4000
0031     ),
0032     TS4TS5UpperCut = cms.vdouble(
0033       1,
0034       0.8,
0035       0.75,
0036       0.72,
0037       0.72
0038     ),
0039     TS4TS5LowerThreshold = cms.vdouble(
0040       100,
0041       120,
0042       150,
0043       200,
0044       300,
0045       400,
0046       500
0047     ),
0048     TS4TS5LowerCut = cms.vdouble(
0049       -1,
0050       -0.7,
0051       -0.4,
0052       -0.2,
0053       -0.08,
0054       0,
0055       0.1
0056     ),
0057     mightGet = cms.optional.untracked.vstring
0058   )
0059   for k,v in kwargs.items():
0060     setattr(mod, k, v)
0061   return mod