CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
l1extraParticles_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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(True),
20  ignoreHtMiss = cms.bool(False)
21 )
22 
23 #
24 # Modify for running with the Stage 1 trigger
25 #
26 from Configuration.StandardSequences.Eras import eras
27 eras.stage1L1Trigger.toModify( l1extraParticles, etTotalSource = cms.InputTag("caloStage1LegacyFormatDigis") )
28 eras.stage1L1Trigger.toModify( l1extraParticles, nonIsolatedEmSource = cms.InputTag("caloStage1LegacyFormatDigis","nonIsoEm") )
29 eras.stage1L1Trigger.toModify( l1extraParticles, etMissSource = cms.InputTag("caloStage1LegacyFormatDigis") )
30 eras.stage1L1Trigger.toModify( l1extraParticles, htMissSource = cms.InputTag("caloStage1LegacyFormatDigis") )
31 eras.stage1L1Trigger.toModify( l1extraParticles, forwardJetSource = cms.InputTag("caloStage1LegacyFormatDigis","forJets") )
32 eras.stage1L1Trigger.toModify( l1extraParticles, centralJetSource = cms.InputTag("caloStage1LegacyFormatDigis","cenJets") )
33 eras.stage1L1Trigger.toModify( l1extraParticles, tauJetSource = cms.InputTag("caloStage1LegacyFormatDigis","tauJets") )
34 eras.stage1L1Trigger.toModify( l1extraParticles, isoTauJetSource = cms.InputTag("caloStage1LegacyFormatDigis","isoTauJets") )
35 eras.stage1L1Trigger.toModify( l1extraParticles, isolatedEmSource = cms.InputTag("caloStage1LegacyFormatDigis","isoEm") )
36 eras.stage1L1Trigger.toModify( l1extraParticles, etHadSource = cms.InputTag("caloStage1LegacyFormatDigis") )
37 eras.stage1L1Trigger.toModify( l1extraParticles, hfRingEtSumsSource = cms.InputTag("caloStage1LegacyFormatDigis") )
38 eras.stage1L1Trigger.toModify( l1extraParticles, hfRingBitCountsSource = cms.InputTag("caloStage1LegacyFormatDigis") )