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