File indexing completed on 2024-04-06 12:20:23
0001
0002
0003
0004
0005
0006
0007 import FWCore.ParameterSet.Config as cms
0008 import sys
0009 from Configuration.Eras.Modifier_run2_HI_specific_cff import run2_HI_specific
0010
0011 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
0012
0013
0014
0015
0016
0017 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
0018 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0019
0020 def _load(process, f):
0021 process.load(f)
0022
0023
0024
0025
0026
0027 modifyL1TCalorimeterHackConditions_stage1HI = (stage1L1Trigger & ~stage2L1Trigger & run2_HI_specific).makeProcessModifier(lambda p: _load(p, "L1Trigger.L1TCalorimeter.caloConfigStage1HI_cfi"))
0028 modifyL1TCalorimeterHackConditions_stage1PP = (stage1L1Trigger & ~stage2L1Trigger & ~run2_HI_specific).makeProcessModifier(lambda p: _load(p, "L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi"))
0029
0030 modifyL1TCalorimeterHackConditions_stage1Common = (stage1L1Trigger & ~stage2L1Trigger).makeProcessModifier(lambda p: _load(p, "L1Trigger.L1TCalorimeter.caloScalesStage1_cff"))
0031
0032
0033
0034
0035
0036
0037 modifyL1TCalorimeterHackConditions_stage2PA = (stage2L1Trigger & pA_2016).makeProcessModifier(lambda p: _load(p, "L1Trigger.L1TCalorimeter.caloStage2Params_2016_v3_3_1_HI_cfi"))
0038 modifyL1TCalorimeterHackConditions_stage2PP = (stage2L1Trigger & ~pA_2016).makeProcessModifier(lambda p: _load(p, "L1Trigger.L1TCalorimeter.caloStage2Params_2017_v1_8_4_cfi"))
0039
0040