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.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis")
27 l1UpgradeEmuTree.sumToken = cms.untracked.InputTag("simCaloStage2Digis")
28 
29 #l1legacyMuonEmuTree = l1UpgradeTree.clone()
30 #l1legacyMuonEmuTree.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis","imdMuonsLegacy")
31 
32 l1uGTEmuTree = l1uGTTree.clone()
33 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
34 
35 if eras.stage1L1Trigger.isChosen() or eras.Run2_25ns.isChosen():
36  l1UpgradeEMUTree.egToken = "simCaloStage1FinalDigis"
37  l1UpgradeEMUTree.tauTokens = cms.untracked.VInputTag("simCaloStage1FinalDigis:rlxTaus")
38  l1UpgradeEMUTree.jetToken = "simCaloStage1FinalDigis"
39  l1UpgradeEMUTree.muonToken = "simGtDigis"
40  l1UpgradeEMUTree.sumToken = "simCaloStage1FinalDigis"
41 
42 L1NtupleEMU = cms.Sequence(
43  l1EventTree
44  +l1UpgradeTfMuonEmuTree
45  +l1CaloTowerEmuTree
46  +l1UpgradeEmuTree
47 # +l1MuonEmuTree
48  +l1uGTEmuTree
49 )