Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.L1TCalorimeter.simRctUpgradeFormatDigis_cfi import *
0004 from L1Trigger.L1TCalorimeter.simCaloStage1Digis_cfi import *
0005 from L1Trigger.L1TCalorimeter.simCaloStage1FinalDigis_cfi import *
0006 from L1Trigger.L1TCalorimeter.simCaloStage1LegacyFormatDigis_cfi import *
0007 
0008 # Update HfRing thresholds to accomodate di-iso tau trigger thresholds
0009 from L1TriggerConfig.L1ScalesProducers.l1CaloScales_cfi import l1CaloScales
0010 l1CaloScales.L1HfRingThresholds = cms.vdouble(0.0, 24.0, 28.0, 32.0, 36.0, 40.0, 44.0, 48.0)
0011 
0012 ## l1CaloScales.L1HtMissThresholds = cms.vdouble(
0013 ##     0.00, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09,
0014 ##     0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19,
0015 ##     0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29,
0016 ##     0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39,
0017 ##     0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49,
0018 ##     0.50, 0.51, 0.52, 0.53, 0.54, 0.55, 0.56, 0.57, 0.58, 0.59,
0019 ##     0.60, 0.61, 0.62, 0.63, 0.64, 0.65, 0.66, 0.67, 0.68, 0.69,
0020 ##     0.70, 0.71, 0.72, 0.73, 0.74, 0.75, 0.76, 0.77, 0.78, 0.79,
0021 ##     0.80, 0.81, 0.82, 0.83, 0.84, 0.85, 0.86, 0.87, 0.88, 0.89,
0022 ##     0.90, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 0.97, 0.98, 0.99,
0023 ##     1.00, 1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09,
0024 ##     1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19,
0025 ##     1.20, 1.21, 1.22, 1.23, 1.24, 1.25, 1.26, 1.27
0026 ##     )
0027 
0028 l1CaloScales.L1HtMissThresholds = cms.vdouble(
0029 0.0,    0.00787401574803,   0.0157480314961,    0.0236220472441,    0.0314960629921,    0.0393700787402,    0.0472440944882,    0.0551181102362,    0.0629921259843,    0.0708661417323,    0.0787401574803,
0030 0.0866141732283,    0.0944881889764,    0.102362204724, 0.110236220472, 0.11811023622,  0.125984251969, 0.133858267717, 0.141732283465, 0.149606299213, 0.157480314961,
0031 0.165354330709, 0.173228346457, 0.181102362205, 0.188976377953, 0.196850393701, 0.204724409449, 0.212598425197, 0.220472440945, 0.228346456693, 0.236220472441,
0032 0.244094488189, 0.251968503937, 0.259842519685, 0.267716535433, 0.275590551181, 0.283464566929, 0.291338582677, 0.299212598425, 0.307086614173, 0.314960629921,
0033 0.322834645669, 0.330708661417, 0.338582677165, 0.346456692913, 0.354330708661, 0.362204724409, 0.370078740157, 0.377952755906, 0.385826771654, 0.393700787402,
0034 0.40157480315,  0.409448818898, 0.417322834646, 0.425196850394, 0.433070866142, 0.44094488189,  0.448818897638, 0.456692913386, 0.464566929134, 0.472440944882,
0035 0.48031496063,  0.488188976378, 0.496062992126, 0.503937007874, 0.511811023622, 0.51968503937,  0.527559055118, 0.535433070866, 0.543307086614, 0.551181102362,
0036 0.55905511811,  0.566929133858, 0.574803149606, 0.582677165354, 0.590551181102, 0.59842519685,  0.606299212598, 0.614173228346, 0.622047244094, 0.629921259843,
0037 0.637795275591, 0.645669291339, 0.653543307087, 0.661417322835, 0.669291338583, 0.677165354331, 0.685039370079, 0.692913385827, 0.700787401575, 0.708661417323,
0038 0.716535433071, 0.724409448819, 0.732283464567, 0.740157480315, 0.748031496063, 0.755905511811, 0.763779527559, 0.771653543307, 0.779527559055, 0.787401574803,
0039 0.795275590551, 0.803149606299, 0.811023622047, 0.818897637795, 0.826771653543, 0.834645669291, 0.842519685039, 0.850393700787, 0.858267716535, 0.866141732283,
0040 0.874015748031, 0.88188976378,  0.889763779528, 0.897637795276, 0.905511811024, 0.913385826772, 0.92125984252,  0.929133858268, 0.937007874016, 0.944881889764,
0041 0.952755905512, 0.96062992126,  0.968503937008, 0.976377952756, 0.984251968504, 0.992125984252, 1.0,
0042 )
0043 
0044 L1TCaloStage1Task = cms.Task(
0045     simRctUpgradeFormatDigis,
0046     simCaloStage1Digis,
0047     simCaloStage1FinalDigis,
0048     simCaloStage1LegacyFormatDigis
0049 )
0050 L1TCaloStage1 = cms.Sequence(L1TCaloStage1Task)