Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-25 10:58:19

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0003 
0004 from L1Trigger.L1TNtuples.l1CaloTowerTree_cfi import *
0005 from L1Trigger.L1TNtuples.l1UpgradeTfMuonTree_cfi import *
0006 from L1Trigger.L1TNtuples.l1UpgradeTree_cfi import *
0007 from L1Trigger.L1TNtuples.l1EventTree_cfi import *
0008 from L1Trigger.L1TNtuples.l1uGTTree_cfi import *
0009 
0010 l1UpgradeTfMuonEmuTree = l1UpgradeTfMuonTree.clone()
0011 l1UpgradeTfMuonEmuTree.bmtfMuonToken = cms.untracked.InputTag("simBmtfDigis","BMTF")
0012 l1UpgradeTfMuonEmuTree.bmtf2MuonToken = cms.untracked.InputTag("simKBmtfDigis","BMTF")
0013 l1UpgradeTfMuonEmuTree.omtfMuonToken = cms.untracked.InputTag("simOmtfDigis","OMTF")
0014 l1UpgradeTfMuonEmuTree.emtfMuonToken = cms.untracked.InputTag("simEmtfDigis","EMTF")
0015 l1UpgradeTfMuonEmuTree.isEMU = cms.bool(True)
0016 
0017 l1CaloTowerEmuTree = l1CaloTowerTree.clone()
0018 l1CaloTowerEmuTree.ecalToken = cms.untracked.InputTag("simEcalTriggerPrimitiveDigis")
0019 l1CaloTowerEmuTree.hcalToken = cms.untracked.InputTag("simHcalTriggerPrimitiveDigis")
0020 l1CaloTowerEmuTree.l1TowerToken = cms.untracked.InputTag("simCaloStage2Layer1Digis")
0021 l1CaloTowerEmuTree.l1ClusterToken = cms.untracked.InputTag("simCaloStage2Digis", "MP")
0022 
0023 l1UpgradeEmuTree = l1UpgradeTree.clone(
0024     egToken = "simCaloStage1FinalDigis",
0025     tauTokens = ["simCaloStage1FinalDigis:rlxTaus"],
0026     jetToken = "simCaloStage1FinalDigis",
0027     muonToken = "simGtDigis",
0028     sumToken = "simCaloStage1FinalDigis",
0029 )
0030 stage2L1Trigger.toModify(l1UpgradeEmuTree,
0031     egToken = "simCaloStage2Digis",
0032     tauTokens = ["simCaloStage2Digis"],
0033     jetToken = "simCaloStage2Digis",
0034     muonToken = "simGmtStage2Digis",
0035     #muonToken = "muonLegacyInStage2FormatDigis",
0036     sumToken = "simCaloStage2Digis"
0037 )
0038 
0039 #l1legacyMuonEmuTree = l1UpgradeTree.clone()
0040 #l1legacyMuonEmuTree.muonToken = cms.untracked.InputTag("muonLegacyInStage2FormatDigis","imdMuonsLegacy")
0041 
0042 l1uGTEmuTree = l1uGTTree.clone()
0043 l1uGTEmuTree.ugtToken = cms.InputTag("simGtStage2Digis")
0044 
0045 L1NtupleEMU = cms.Sequence(
0046   l1EventTree
0047   +l1UpgradeTfMuonEmuTree
0048   +l1CaloTowerEmuTree
0049   +l1UpgradeEmuTree
0050 #  +l1MuonEmuTree
0051   +l1uGTEmuTree
0052 )