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 
12 
13 l1UpgradeTfMuonEmuTree = l1UpgradeTfMuonTree.clone()
14 l1UpgradeTfMuonEmuTree.bmtfMuonToken = cms.untracked.InputTag("simBmtfDigis","BMTF")
15 l1UpgradeTfMuonEmuTree.bmtf2MuonToken = cms.untracked.InputTag("simKBmtfDigis","BMTF")
16 l1UpgradeTfMuonEmuTree.omtfMuonToken = cms.untracked.InputTag("simOmtfDigis","OMTF")
17 l1UpgradeTfMuonEmuTree.emtfMuonToken = cms.untracked.InputTag("simEmtfDigis","EMTF")
18 l1UpgradeTfMuonEmuTree.isEMU = cms.bool(True)
19 
20 l1UpgradeEmuTree = l1UpgradeTree.clone()
21 # We have only output of the ZDC emulator available, no info from unpacker: l1UpgradeEmuTree clones from the l1UpgradeTree
22 l1UpgradeEmuTree.sumZDCToken = cms.untracked.InputTag("l1tZDCEtSums")
23 
24 l1CaloTowerEmuTree = l1CaloTowerTree.clone()
25 l1CaloTowerEmuTree.ecalToken = cms.untracked.InputTag("simEcalTriggerPrimitiveDigis")
26 l1CaloTowerEmuTree.hcalToken = cms.untracked.InputTag("simHcalTriggerPrimitiveDigis")
27 l1CaloTowerEmuTree.l1TowerToken = cms.untracked.InputTag("simCaloStage2Layer1Digis")
28 l1CaloTowerEmuTree.l1ClusterToken = cms.untracked.InputTag("simCaloStage2Digis", "MP")
29 
30 l1CaloSummaryEmuTree = l1CaloSummaryTree.clone()
31 
32 l1UpgradeEmuTree = l1UpgradeTree.clone(
33  egToken = "simCaloStage1FinalDigis",
34  tauTokens = ["simCaloStage1FinalDigis:rlxTaus"],
35  jetToken = "simCaloStage1FinalDigis",
36  muonToken = "simGtDigis",
37  sumToken = "simCaloStage1FinalDigis",
38 )
39 stage2L1Trigger.toModify(l1UpgradeEmuTree,
40  egToken = "simCaloStage2Digis",
41  tauTokens = ["simCaloStage2Digis"],
42  jetToken = "simCaloStage2Digis",
43  muonToken = "simGmtStage2Digis",
44  #muonToken = "muonLegacyInStage2FormatDigis",
45  sumToken = "simCaloStage2Digis"
46 )
47 
48 #l1legacyMuonEmuTree = l1UpgradeTree.clone()
49 #l1legacyMuonEmuTree.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis","imdMuonsLegacy")
50 
51 l1uGTEmuTree = l1uGTTree.clone()
52 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
53 
54 l1AXOEmuTree = l1AXOTree.clone()
55 l1AXOEmuTree.axoscoreToken = cms.untracked.InputTag("simGtStage2Digis","AXOScore")
56 
57 L1NtupleEMU = cms.Sequence(
58  l1EventTree
59  +l1UpgradeTfMuonEmuTree
60  +l1CaloTowerEmuTree
61  +l1CaloSummaryEmuTree
62  +l1UpgradeEmuTree
63 # +l1MuonEmuTree
64  +l1uGTEmuTree
65  +l1AXOEmuTree
66 )