CMS 3D CMS Logo

Functions
customiseRerunL1Extra Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def customiseRerunL1Extra.customise (   process)

Definition at line 3 of file customiseRerunL1Extra.py.

3 def customise(process):
4 
5  process.load('EventFilter.L1TRawToDigi.caloStage1Digis_cfi')
6 
7  process.load('L1Trigger.L1TCalorimeter.simCaloStage1FinalDigis_cfi')
8  process.simCaloStage1FinalDigis.InputCollection = cms.InputTag("caloStage1Digis")
9  process.simCaloStage1FinalDigis.InputRlxTauCollection = cms.InputTag("caloStage1Digis:rlxTaus")
10  process.simCaloStage1FinalDigis.InputIsoTauCollection = cms.InputTag("caloStage1Digis:isoTaus")
11  process.simCaloStage1FinalDigis.InputPreGtJetCollection = cms.InputTag("caloStage1Digis")
12  process.simCaloStage1FinalDigis.InputHFSumsCollection = cms.InputTag("caloStage1Digis:HFRingSums")
13  process.simCaloStage1FinalDigis.InputHFCountsCollection = cms.InputTag("caloStage1Digis:HFBitCounts")
14 
15  process.load('L1Trigger.L1TCalorimeter.simCaloStage1LegacyFormatDigis_cfi')
16  process.simCaloStage1LegacyFormatDigis.InputRlxTauCollection = cms.InputTag("simCaloStage1FinalDigis:rlxTaus")
17  process.simCaloStage1LegacyFormatDigis.InputIsoTauCollection = cms.InputTag("simCaloStage1FinalDigis:isoTaus")
18  process.simCaloStage1LegacyFormatDigis.InputHFSumsCollection = cms.InputTag("simCaloStage1FinalDigis:HFRingSums")
19  process.simCaloStage1LegacyFormatDigis.InputHFCountsCollection = cms.InputTag("simCaloStage1FinalDigis:HFBitCounts")
20 
21  process.load('L1Trigger.L1ExtraFromDigis.l1extraParticles_cfi')
22 
23  process.l1extraParticles.isolatedEmSource = cms.InputTag("simCaloStage1LegacyFormatDigis","isoEm")
24  process.l1extraParticles.nonIsolatedEmSource = cms.InputTag("simCaloStage1LegacyFormatDigis","nonIsoEm")
25  process.l1extraParticles.forwardJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","forJets")
26  process.l1extraParticles.centralJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","cenJets")
27  process.l1extraParticles.tauJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","tauJets")
28  process.l1extraParticles.isoTauJetSource = cms.InputTag("simCaloStage1LegacyFormatDigis","isoTauJets")
29  process.l1extraParticles.etTotalSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
30  process.l1extraParticles.etHadSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
31  process.l1extraParticles.etMissSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
32  process.l1extraParticles.htMissSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
33  process.l1extraParticles.hfRingEtSumsSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
34  process.l1extraParticles.hfRingBitCountsSource = cms.InputTag("simCaloStage1LegacyFormatDigis")
35 
36  process.rerunL1Extra = cms.Path(
37  process.caloStage1Digis +
38  process.simCaloStage1FinalDigis +
39  process.simCaloStage1LegacyFormatDigis +
40  process.l1extraParticles
41  )
42 
43  process.schedule.append(process.rerunL1Extra)
44 
45  return process
46