CMS 3D CMS Logo

L1NtupleEMU_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
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  egToken = "simCaloStage1FinalDigis",
23  tauTokens = ["simCaloStage1FinalDigis:rlxTaus"],
24  jetToken = "simCaloStage1FinalDigis",
25  muonToken = "simGtDigis",
26  sumToken = "simCaloStage1FinalDigis",
27 )
28 stage2L1Trigger.toModify(l1UpgradeEmuTree,
29  egToken = "simCaloStage2Digis",
30  tauTokens = ["simCaloStage2Digis"],
31  jetToken = "simCaloStage2Digis",
32  muonToken = "simGmtStage2Digis",
33  #muonToken = "muonLegacyInStage2FormatDigis",
34  sumToken = "simCaloStage2Digis"
35 )
36 
37 #l1legacyMuonEmuTree = l1UpgradeTree.clone()
38 #l1legacyMuonEmuTree.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis","imdMuonsLegacy")
39 
40 l1uGTEmuTree = l1uGTTree.clone()
41 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
42 
43 L1NtupleEMU = cms.Sequence(
44  l1EventTree
45  +l1UpgradeTfMuonEmuTree
46  +l1CaloTowerEmuTree
47  +l1UpgradeEmuTree
48 # +l1MuonEmuTree
49  +l1uGTEmuTree
50 )
l1uGTTree_cfi
l1UpgradeTree_cfi
l1CaloTowerTree_cfi
l1EventTree_cfi
l1UpgradeTfMuonTree_cfi