1 import FWCore.ParameterSet.Config
as cms
3 l1extraParticles = cms.EDProducer(
"L1ExtraParticlesProd",
4 muonSource = cms.InputTag(
"gtDigis"),
5 etTotalSource = cms.InputTag(
"gctDigis"),
6 nonIsolatedEmSource = cms.InputTag(
"gctDigis",
"nonIsoEm"),
7 etMissSource = cms.InputTag(
"gctDigis"),
8 htMissSource = cms.InputTag(
"gctDigis"),
9 produceMuonParticles = cms.bool(
True),
10 forwardJetSource = cms.InputTag(
"gctDigis",
"forJets"),
11 centralJetSource = cms.InputTag(
"gctDigis",
"cenJets"),
12 produceCaloParticles = cms.bool(
True),
13 tauJetSource = cms.InputTag(
"gctDigis",
"tauJets"),
14 isoTauJetSource = cms.InputTag(
"gctDigis",
"isoTauJets"),
15 isolatedEmSource = cms.InputTag(
"gctDigis",
"isoEm"),
16 etHadSource = cms.InputTag(
"gctDigis"),
17 hfRingEtSumsSource = cms.InputTag(
"gctDigis"),
18 hfRingBitCountsSource = cms.InputTag(
"gctDigis"),
19 centralBxOnly = cms.bool(
False),
20 ignoreHtMiss = cms.bool(
False)
26 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
27 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
28 _caloStage1LegacyFormatDigis =
"caloStage1LegacyFormatDigis" 30 etTotalSource = cms.InputTag(_caloStage1LegacyFormatDigis),
31 nonIsolatedEmSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"nonIsoEm"),
32 etMissSource = cms.InputTag(_caloStage1LegacyFormatDigis),
33 htMissSource = cms.InputTag(_caloStage1LegacyFormatDigis),
34 forwardJetSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"forJets"),
35 centralJetSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"cenJets"),
36 tauJetSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"tauJets"),
37 isoTauJetSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"isoTauJets"),
38 isolatedEmSource = cms.InputTag(_caloStage1LegacyFormatDigis,
"isoEm"),
39 etHadSource = cms.InputTag(_caloStage1LegacyFormatDigis),
40 hfRingEtSumsSource = cms.InputTag(_caloStage1LegacyFormatDigis),
41 hfRingBitCountsSource = cms.InputTag(_caloStage1LegacyFormatDigis),
42 muonSource = cms.InputTag(
"gtDigis"),
45 stage1L1Trigger.toModify( l1extraParticles, **_params)
46 stage2L1Trigger.toModify( l1extraParticles, **_params)
50 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
51 fastSim.toModify(l1extraParticles, centralBxOnly =
True)