Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:23:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def customise(process):
0004 
0005     process.load('EventFilter.L1TRawToDigi.caloStage1Digis_cfi')
0006 
0007     process.load('L1Trigger.L1TCalorimeter.simCaloStage1FinalDigis_cfi')
0008     process.simCaloStage1FinalDigis.InputCollection = cms.InputTag("caloStage1Digis")
0009     process.simCaloStage1FinalDigis.InputRlxTauCollection = cms.InputTag("caloStage1Digis:rlxTaus")
0010     process.simCaloStage1FinalDigis.InputIsoTauCollection = cms.InputTag("caloStage1Digis:isoTaus")
0011     process.simCaloStage1FinalDigis.InputPreGtJetCollection = cms.InputTag("caloStage1Digis")
0012     process.simCaloStage1FinalDigis.InputHFSumsCollection = cms.InputTag("caloStage1Digis:HFRingSums")
0013     process.simCaloStage1FinalDigis.InputHFCountsCollection = cms.InputTag("caloStage1Digis:HFBitCounts")
0014     
0015     process.load('L1Trigger.L1TCalorimeter.simCaloStage1LegacyFormatDigis_cfi')
0016     process.simCaloStage1LegacyFormatDigis.InputRlxTauCollection = cms.InputTag("simCaloStage1FinalDigis:rlxTaus")
0017     process.simCaloStage1LegacyFormatDigis.InputIsoTauCollection = cms.InputTag("simCaloStage1FinalDigis:isoTaus")
0018     process.simCaloStage1LegacyFormatDigis.InputHFSumsCollection = cms.InputTag("simCaloStage1FinalDigis:HFRingSums")
0019     process.simCaloStage1LegacyFormatDigis.InputHFCountsCollection = cms.InputTag("simCaloStage1FinalDigis:HFBitCounts")
0020 
0021     process.load('L1Trigger.L1ExtraFromDigis.l1extraParticles_cfi')
0022     
0023     process.l1extraParticles.isolatedEmSource    = cms.InputTag("simCaloStage1LegacyFormatDigis","isoEm")
0024     process.l1extraParticles.nonIsolatedEmSource = cms.InputTag("simCaloStage1LegacyFormatDigis","nonIsoEm")    
0025     process.l1extraParticles.forwardJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","forJets")
0026     process.l1extraParticles.centralJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","cenJets")
0027     process.l1extraParticles.tauJetSource     = cms.InputTag("simCaloStage1LegacyFormatDigis","tauJets")
0028     process.l1extraParticles.isoTauJetSource  = cms.InputTag("simCaloStage1LegacyFormatDigis","isoTauJets")
0029     process.l1extraParticles.etTotalSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
0030     process.l1extraParticles.etHadSource   = cms.InputTag("simCaloStage1LegacyFormatDigis")
0031     process.l1extraParticles.etMissSource  = cms.InputTag("simCaloStage1LegacyFormatDigis")
0032     process.l1extraParticles.htMissSource  = cms.InputTag("simCaloStage1LegacyFormatDigis")
0033     process.l1extraParticles.hfRingEtSumsSource    = cms.InputTag("simCaloStage1LegacyFormatDigis")
0034     process.l1extraParticles.hfRingBitCountsSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
0035     
0036     process.rerunL1Extra = cms.Path(
0037         process.caloStage1Digis +
0038         process.simCaloStage1FinalDigis + 
0039         process.simCaloStage1LegacyFormatDigis +
0040         process.l1extraParticles
0041         )
0042     
0043     process.schedule.append(process.rerunL1Extra)
0044 
0045     return process