test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
l1UpgradeTree_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1UpgradeTree = cms.EDAnalyzer(
4  "L1UpgradeTreeProducer",
5  egToken = cms.untracked.InputTag("caloStage2Digis","EGamma"),
6  tauTokens = cms.untracked.VInputTag(cms.InputTag("caloStage2Digis","Tau")),
7  jetToken = cms.untracked.InputTag("caloStage2Digis","Jet"),
8  muonToken = cms.untracked.InputTag("gmtStage2Digis","Muon"),
9  sumToken = cms.untracked.InputTag("caloStage2Digis","EtSum"),
10  maxL1Upgrade = cms.uint32(60)
11 )
12 
13 from Configuration.StandardSequences.Eras import eras
14 
15 if eras.stage1L1Trigger.isChosen() or eras.Run2_25ns.isChosen():
16  l1UpgradeTree.egToken = "caloStage1FinalDigis"
17  l1UpgradeTree.tauTokens = cms.untracked.VInputTag("caloStage1FinalDigis:rlxTaus")
18  l1UpgradeTree.jetToken = "caloStage1FinalDigis"
19  l1UpgradeTree.muonToken = "none"
20  l1UpgradeTree.sumToken = "caloStage1FinalDigis"