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