Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:10

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