Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-25 23:40:16

0001 #
0002 # WARNING: This file is in the L1T configuration critical path.
0003 #
0004 # All changes must be explicitly discussed with the L1T offline coordinator.
0005 #
0006 # hackConditions.py  Load ES Producers for any conditions not yet in GT...
0007 #
0008 # The intention is that this file should shrink with time as conditions are added to GT.
0009 #
0010 
0011 import FWCore.ParameterSet.Config as cms
0012 import sys
0013 
0014 #
0015 # Legacy Trigger:  No Hacks Needed
0016 #
0017 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
0018 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0019 
0020 #
0021 # Stage-1 Trigger:  No Hacks Needed
0022 #
0023 
0024 #
0025 # Stage-2 Trigger
0026 #
0027 def _load(process, fs):
0028     for f in fs:
0029         process.load(f)
0030     #process.TriggerMenu.L1TriggerMenuFile = 'L1Menu_Collisions2015_25nsStage1_v7_uGT.xml'
0031 modifyL1TGlobalHackConditions_stage2 = stage2L1Trigger.makeProcessModifier(lambda p: _load(p, [
0032     "L1Trigger.L1TGlobal.GlobalParameters_cff",
0033     "L1Trigger.L1TGlobal.PrescalesVetos_cff",
0034     "L1Trigger.L1TGlobal.PrescalesVetosFract_cff",
0035 #   "L1Trigger.L1TGlobal.TriggerMenu_cff"
0036 ]))