Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.L1TCalorimeter.caloStage1RegionSF_cfi import *
0004 from L1Trigger.L1TCalorimeter.caloStage1JetSF_cfi import *
0005 
0006 from L1Trigger.L1TCalorimeter.caloParams_cfi import caloParamsSource
0007 caloParamsSource.recordName = cms.string('L1TCaloParamsRcd')
0008 caloStage1Params  = cms.ESProducer("L1TCaloParamsESProducer")
0009 
0010 caloStage1Params.regionPUSType    = cms.string("PUM0")       #"None" for no PU subtraction, "PUM0", "HICaloRingSub"
0011 caloStage1Params.regionPUSParams  = regionSubtraction_PU40_MC13TeV
0012 
0013 # EG
0014 caloStage1Params.egLsb                = cms.double(1.)
0015 caloStage1Params.egSeedThreshold      = cms.double(0.)
0016 
0017 caloStage1Params.egMinPtJetIsolation = cms.int32(25)
0018 caloStage1Params.egMaxPtJetIsolation = cms.int32(63)
0019 caloStage1Params.egMinPtHOverEIsolation = cms.int32(1)
0020 caloStage1Params.egMaxPtHOverEIsolation = cms.int32(40)
0021 
0022 caloStage1Params.egPUSType    = cms.string("None")
0023 caloStage1Params.egPUSParams  = cms.vdouble()
0024 
0025 ## EG Isolation LUT
0026 ## caloStage1Params.egIsoLUTFile   = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1.txt")
0027 caloStage1Params.egIsoLUTFile      = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isolEB0.30_isolEE0.50_combined.txt")
0028 #caloStage1Params.egIsoLUTFileBarrel   = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.30.txt")
0029 #caloStage1Params.egIsoLUTFileEndcaps  = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.50.txt")
0030 
0031 # Tau
0032 caloStage1Params.tauSeedThreshold = cms.double(7.)
0033 caloStage1Params.tauNeighbourThreshold = cms.double(0.)
0034 #Tau parameters below are only used for setting tau isolation flag
0035 caloStage1Params.tauMaxPtTauVeto = cms.double(64.)
0036 caloStage1Params.tauMinPtJetIsolationB = cms.double(192.)
0037 caloStage1Params.tauMaxJetIsolationB  = cms.double(100.)
0038 caloStage1Params.tauMaxJetIsolationA = cms.double(0.1)
0039 caloStage1Params.tauIsoLUTFile         = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUT_stage1_isolA0.10_isolB100.00_ch_switchToIsoBPt192.00_j8t8.txt")
0040 ## caloStage1Params.tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUT_stage1.txt")
0041 caloStage1Params.tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauL1Calib_LUT.txt")
0042 caloStage1Params.tauEtToHFRingEtLUTFile= cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauHwEtToHFRingScale_LUT.txt")
0043 caloStage1Params.isoTauEtaMin          = cms.int32(5)
0044 caloStage1Params.isoTauEtaMax          = cms.int32(16)
0045 # jets
0046 caloStage1Params.jetLsb                = cms.double(0.5)
0047 caloStage1Params.jetSeedThreshold      = cms.double(5.)
0048 caloStage1Params.jetNeighbourThreshold = cms.double(0.)
0049 caloStage1Params.jetCalibrationType    = cms.string("Stage1JEC")
0050 caloStage1Params.jetCalibrationParams  = jetSF_8TeV_data
0051 ## caloStage1Params.jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/jetCalibrationLUT_stage1_prelim.txt")
0052 caloStage1Params.jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/jetCalibrationLUT_symmetric_0is0.txt")
0053 
0054 # sums
0055 caloStage1Params.etSumLsb                = cms.double(0.5)
0056 caloStage1Params.etSumEtaMin             = cms.vint32(4, 4) #ET, HT
0057 caloStage1Params.etSumEtaMax             = cms.vint32(17, 17) #ET, HT
0058 caloStage1Params.etSumEtThreshold        = cms.vdouble(0., 7.) #ET, HT
0059 
0060 # HI
0061 caloStage1Params.minimumBiasThresholds = cms.vint32(3,3,6,6)
0062 caloStage1Params.centralityLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/python/centrality_extended_LUT_preRun.txt")
0063 caloStage1Params.q2LUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/q2LUT_stage1.txt")