File indexing completed on 2024-04-06 12:21:37
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("WRITELUTS")
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 process.load("L1TriggerConfig.L1ScalesProducers.L1CaloInputScalesConfig_cff")
0032
0033
0034
0035
0036 process.load("SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff")
0037
0038
0039
0040 process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff")
0041
0042 process.maxEvents = cms.untracked.PSet(
0043 input = cms.untracked.int32(1)
0044 )
0045 process.source = cms.Source("EmptySource")
0046
0047 process.l1RctParamsRecords = cms.ESSource("EmptyESSource",
0048 recordName = cms.string('L1RCTParametersRcd'),
0049 iovIsRunNotTime = cms.bool(True),
0050 firstValid = cms.vuint32(1)
0051 )
0052
0053 process.RCTConfigProducers = cms.ESProducer("RCTConfigProducers",
0054 eGammaHCalScaleFactors = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0,
0055 1.0, 1.0, 1.0, 1.0, 1.0,
0056 1.0, 1.0, 1.0, 1.0, 1.0,
0057 1.0, 1.0, 1.0, 1.0, 1.0,
0058 1.0, 1.0, 1.0, 1.0, 1.0,
0059 1.0, 1.0, 1.0),
0060 eMaxForFGCut = cms.double(-999.0),
0061 noiseVetoHB = cms.bool(False),
0062 eMaxForHoECut = cms.double(-999.0),
0063 hOeCut = cms.double(999.0),
0064 eGammaECalScaleFactors = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0,
0065 1.0, 1.0, 1.0, 1.0, 1.0,
0066 1.0, 1.0, 1.0, 1.0, 1.0,
0067 1.0, 1.0, 1.0, 1.0, 1.0,
0068 1.0, 1.0, 1.0, 1.0, 1.0,
0069 1.0, 1.0, 1.0),
0070 eMinForHoECut = cms.double(999.0),
0071 jscQuietThresholdBarrel = cms.uint32(3),
0072 hActivityCut = cms.double(999.0),
0073 eActivityCut = cms.double(999.0),
0074 jetMETHCalScaleFactors = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0,
0075 1.0, 1.0, 1.0, 1.0, 1.0,
0076 1.0, 1.0, 1.0, 1.0, 1.0,
0077 1.0, 1.0, 1.0, 1.0, 1.0,
0078 1.0, 1.0, 1.0, 1.0, 1.0,
0079 1.0, 1.0, 1.0),
0080 noiseVetoHEplus = cms.bool(False),
0081 eicIsolationThreshold = cms.uint32(0),
0082 jetMETLSB = cms.double(1.0),
0083 jetMETECalScaleFactors = cms.vdouble(1.0, 1.0, 1.0, 1.0, 1.0,
0084 1.0, 1.0, 1.0, 1.0, 1.0,
0085 1.0, 1.0, 1.0, 1.0, 1.0,
0086 1.0, 1.0, 1.0, 1.0, 1.0,
0087 1.0, 1.0, 1.0, 1.0, 1.0,
0088 1.0, 1.0, 1.0),
0089 eMinForFGCut = cms.double(999.0),
0090 eGammaLSB = cms.double(1.0),
0091 jscQuietThresholdEndcap = cms.uint32(3),
0092 hMinForHoECut = cms.double(999.0),
0093 noiseVetoHEminus = cms.bool(False)
0094 )
0095
0096 process.l1RctMaskRcds = cms.ESSource("EmptyESSource",
0097 recordName = cms.string('L1RCTChannelMaskRcd'),
0098 iovIsRunNotTime = cms.bool(True),
0099 firstValid = cms.vuint32(1)
0100 )
0101
0102 process.rctLutWriter = cms.EDAnalyzer("L1RCTLutWriter",
0103 useDebugTpgScales = cms.bool(True),
0104 key = cms.string('noKey')
0105 )
0106
0107 process.p = cms.Path(process.rctLutWriter)
0108 process.schedule = cms.Schedule(process.p)
0109
0110 process.CaloTPGTranscoder.hcalLUT2 = 'L1Trigger/RegionalCaloTrigger/test/data/TPGcalcDecompress2Identity.txt'
0111 process.l1CaloScales.L1CaloEmEtScaleLSB = 1.0
0112
0113