CMS 3D CMS Logo

L1NtupleEMU_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
9 
10 l1UpgradeTfMuonEmuTree = l1UpgradeTfMuonTree.clone()
11 l1UpgradeTfMuonEmuTree.bmtfMuonToken = cms.untracked.InputTag("simBmtfDigis","BMTF")
12 l1UpgradeTfMuonEmuTree.omtfMuonToken = cms.untracked.InputTag("simOmtfDigis","OMTF")
13 l1UpgradeTfMuonEmuTree.emtfMuonToken = cms.untracked.InputTag("simEmtfDigis","EMTF")
14 
15 l1CaloTowerEmuTree = l1CaloTowerTree.clone()
16 l1CaloTowerEmuTree.ecalToken = cms.untracked.InputTag("simEcalTriggerPrimitiveDigis")
17 l1CaloTowerEmuTree.hcalToken = cms.untracked.InputTag("simHcalTriggerPrimitiveDigis")
18 l1CaloTowerEmuTree.l1TowerToken = cms.untracked.InputTag("simCaloStage2Layer1Digis")
19 l1CaloTowerEmuTree.l1ClusterToken = cms.untracked.InputTag("simCaloStage2Digis", "MP")
20 
21 l1UpgradeEmuTree = l1UpgradeTree.clone()
22 l1UpgradeEmuTree.egToken = cms.untracked.InputTag("simCaloStage2Digis")
23 l1UpgradeEmuTree.tauTokens = cms.untracked.VInputTag("simCaloStage2Digis")
24 l1UpgradeEmuTree.jetToken = cms.untracked.InputTag("simCaloStage2Digis")
25 l1UpgradeEmuTree.muonToken = cms.untracked.InputTag("simGmtStage2Digis")
26 l1UpgradeEmuTree.sumToken = cms.untracked.InputTag("simCaloStage2Digis")
27 
28 l1uGTEmuTree = l1uGTTree.clone()
29 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
30 
31 if eras.stage1L1Trigger.isChosen() or eras.Run2_25ns.isChosen():
32  l1UpgradeEMUTree.egToken = "simCaloStage1FinalDigis"
33  l1UpgradeEMUTree.tauTokens = cms.untracked.VInputTag("simCaloStage1FinalDigis:rlxTaus")
34  l1UpgradeEMUTree.jetToken = "simCaloStage1FinalDigis"
35  l1UpgradeEMUTree.muonToken = "simGtDigis"
36  l1UpgradeEMUTree.sumToken = "simCaloStage1FinalDigis"
37 
38 L1NtupleEMU = cms.Sequence(
39  l1EventTree
40  +l1UpgradeTfMuonEmuTree
41  +l1CaloTowerEmuTree
42  +l1UpgradeEmuTree
43  +l1uGTEmuTree
44 )