![]() |
|
|||
File indexing completed on 2024-04-06 12:19:27
0001 import FWCore.ParameterSet.Config as cms 0002 0003 # 0004 # The purpose of this file is to make configuration changes for the Stage1 0005 # L1 trigger, but *ONLY* if the era is active. If it is not, this file should 0006 # do nothing. 0007 # Hence it is safe to import this file all the time, and the changes will only 0008 # be triggered when required. 0009 # 0010 # DO NOT add anything to this file that is not conditional on eras.stage1L1Trigger 0011 # being active. Files importing this one assume that is safe to do so all the 0012 # time. 0013 # 0014 # This file MUST be imported with the "*" format, i.e. 0015 # from L1Trigger.Configuration.ConditionalStage1Configuration_cff import * 0016 # If you import with just a plain "import", i.e. 0017 # import L1Trigger.Configuration.ConditionalStage1Configuration_cff 0018 # then the ProcessModifier will be in the wrong namespace and it will not be 0019 # run, so the era customisations will not be applied. 0020 # 0021 0022 0023 def _loadStage1Fragments( processObject ) : 0024 # processObject.load('L1Trigger.L1TCalorimeter.caloStage1Params_cfi') 0025 processObject.load('L1Trigger.L1TCalorimeter.L1TCaloStage1_cff') 0026 processObject.load('L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi') 0027 0028 # A unique name is required so I'll use make sure the name includes the filename 0029 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger 0030 modifyL1TriggerConfigurationConditionalStage1Configuration_cff_ = stage1L1Trigger.makeProcessModifier( _loadStage1Fragments )
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |