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.bmtf2MuonToken = cms.untracked.InputTag("simKBmtfDigis","BMTF")
13 l1UpgradeTfMuonEmuTree.omtfMuonToken = cms.untracked.InputTag("simOmtfDigis","OMTF")
14 l1UpgradeTfMuonEmuTree.emtfMuonToken = cms.untracked.InputTag("simEmtfDigis","EMTF")
15 l1UpgradeTfMuonEmuTree.isEMU = cms.bool(True)
16 
17 l1CaloTowerEmuTree = l1CaloTowerTree.clone()
18 l1CaloTowerEmuTree.ecalToken = cms.untracked.InputTag("simEcalTriggerPrimitiveDigis")
19 l1CaloTowerEmuTree.hcalToken = cms.untracked.InputTag("simHcalTriggerPrimitiveDigis")
20 l1CaloTowerEmuTree.l1TowerToken = cms.untracked.InputTag("simCaloStage2Layer1Digis")
21 l1CaloTowerEmuTree.l1ClusterToken = cms.untracked.InputTag("simCaloStage2Digis", "MP")
22 
23 l1UpgradeEmuTree = l1UpgradeTree.clone(
24  egToken = "simCaloStage1FinalDigis",
25  tauTokens = ["simCaloStage1FinalDigis:rlxTaus"],
26  jetToken = "simCaloStage1FinalDigis",
27  muonToken = "simGtDigis",
28  sumToken = "simCaloStage1FinalDigis",
29 )
30 stage2L1Trigger.toModify(l1UpgradeEmuTree,
31  egToken = "simCaloStage2Digis",
32  tauTokens = ["simCaloStage2Digis"],
33  jetToken = "simCaloStage2Digis",
34  muonToken = "simGmtStage2Digis",
35  #muonToken = "muonLegacyInStage2FormatDigis",
36  sumToken = "simCaloStage2Digis"
37 )
38 
39 #l1legacyMuonEmuTree = l1UpgradeTree.clone()
40 #l1legacyMuonEmuTree.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis","imdMuonsLegacy")
41 
42 l1uGTEmuTree = l1uGTTree.clone()
43 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
44 
45 L1NtupleEMU = cms.Sequence(
46  l1EventTree
47  +l1UpgradeTfMuonEmuTree
48  +l1CaloTowerEmuTree
49  +l1UpgradeEmuTree
50 # +l1MuonEmuTree
51  +l1uGTEmuTree
52 )
l1uGTTree_cfi
l1UpgradeTree_cfi
l1CaloTowerTree_cfi
l1EventTree_cfi
l1UpgradeTfMuonTree_cfi