File indexing completed on 2024-08-27 22:59:26
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HcalRecAlgoESProducer(**kwargs):
0004 mod = cms.ESProducer('HcalRecAlgoESProducer',
0005 phase = cms.uint32(0),
0006 RecoveredRecHitBits = cms.vstring(
0007 'TimingAddedBit',
0008 'TimingSubtractedBit'
0009 ),
0010 SeverityLevels = cms.VPSet(
0011 cms.PSet(
0012 ChannelStatus = cms.vstring(''),
0013 Level = cms.int32(0),
0014 RecHitFlags = cms.vstring('')
0015 ),
0016 cms.PSet(
0017 ChannelStatus = cms.vstring('HcalCellCaloTowerProb'),
0018 Level = cms.int32(1),
0019 RecHitFlags = cms.vstring('')
0020 ),
0021 cms.PSet(
0022 ChannelStatus = cms.vstring('HcalCellExcludeFromHBHENoiseSummary'),
0023 Level = cms.int32(5),
0024 RecHitFlags = cms.vstring(
0025 'HSCP_R1R2',
0026 'HSCP_FracLeader',
0027 'HSCP_OuterEnergy',
0028 'HSCP_ExpFit',
0029 'ADCSaturationBit',
0030 'HBHEIsolatedNoise',
0031 'AddedSimHcalNoise'
0032 )
0033 ),
0034 cms.PSet(
0035 ChannelStatus = cms.vstring(''),
0036 Level = cms.int32(8),
0037 RecHitFlags = cms.vstring(
0038 'HBHEHpdHitMultiplicity',
0039 'HBHEPulseShape',
0040 'HOBit',
0041 'HFDigiTime',
0042 'HFInTimeWindow',
0043 'ZDCBit',
0044 'CalibrationBit',
0045 'TimingErrorBit',
0046 'HBHEFlatNoise',
0047 'HBHESpikeNoise',
0048 'HBHETriangleNoise',
0049 'HBHETS4TS5Noise',
0050 'HBHENegativeNoise',
0051 'HBHEOOTPU'
0052 )
0053 ),
0054 cms.PSet(
0055 ChannelStatus = cms.vstring(''),
0056 Level = cms.int32(11),
0057 RecHitFlags = cms.vstring(
0058 'HFLongShort',
0059 'HFPET',
0060 'HFS8S1Ratio'
0061 )
0062 ),
0063 cms.PSet(
0064 ChannelStatus = cms.vstring('HcalCellCaloTowerMask'),
0065 Level = cms.int32(12),
0066 RecHitFlags = cms.vstring('')
0067 ),
0068 cms.PSet(
0069 ChannelStatus = cms.vstring('HcalCellHot'),
0070 Level = cms.int32(15),
0071 RecHitFlags = cms.vstring('')
0072 ),
0073 cms.PSet(
0074 ChannelStatus = cms.vstring(
0075 'HcalCellOff',
0076 'HcalCellDead'
0077 ),
0078 Level = cms.int32(20),
0079 RecHitFlags = cms.vstring('')
0080 )
0081 ),
0082 DropChannelStatusBits = cms.vstring(
0083 'HcalCellMask',
0084 'HcalCellOff',
0085 'HcalCellDead'
0086 ),
0087 appendToDataLabel = cms.string('')
0088 )
0089 for k,v in kwargs.items():
0090 setattr(mod, k, v)
0091 return mod