CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customiseRerunL1Extra Namespace Reference

Functions

def customise
 

Function Documentation

def customiseRerunL1Extra.customise (   process)

Definition at line 3 of file customiseRerunL1Extra.py.

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