CMS 3D CMS Logo

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