Skip to content

Commit

Permalink
Copy the L1 era changes from FullSim to FastSim
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Grimes committed Jul 14, 2015
1 parent 2240aec commit d54f88a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion FastSimulation/Configuration/python/L1Reco_cff.py
@@ -1,7 +1,15 @@
import FWCore.ParameterSet.Config as cms

# the only thing FastSim runs from L1Reco is l1extraParticles
from L1Trigger.Configuration.L1Reco_cff import l1extraParticles
from L1Trigger.Configuration.L1Reco_cff import l1extraParticles, _loadMenuFromXML, _customiseForStage1

# These next few lines copy the L1 era changes to FastSim
from Configuration.StandardSequences.Eras import eras
# A unique name is required for this object, so I'll call it "modify<python filename>ForRun2_"
modifyFastSimulationConfigurationL1RecoForRun2_ = eras.run2_common.makeProcessModifier( _loadMenuFromXML )
# Again, a unique name is required so I'll use "modify<python filename>ForStage1Trigger_"
modifyFastSimulationConfigurationL1RecoForStage1Trigger_ = eras.stage1L1Trigger.makeProcessModifier( _customiseForStage1 )


# some collections have different labels
l1extraParticles.isolatedEmSource = cms.InputTag("simGctDigis","isoEm")
Expand Down

0 comments on commit d54f88a

Please sign in to comment.