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