13 process.load(
"L1Trigger.L1TCommon.l1tDigiToRaw_cfi")
14 process.load(
"EventFilter.L1TRawToDigi.caloStage1Digis_cfi")
16 process.load(
"L1Trigger.L1TCommon.caloStage1LegacyFormatDigis_cfi")
19 process.load(
'L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
20 process.load(
'L1Trigger.L1TCalorimeter.L1TCaloStage1_cff')
22 if hasattr(process,
'simGtDigis'):
23 process.simGtDigis.GmtInputTag =
'simGmtDigis'
24 process.simGtDigis.GctInputTag =
'simCaloStage1LegacyFormatDigis'
25 process.simGtDigis.TechnicalTriggersInputTags = cms.VInputTag( )
26 if hasattr(process,
'gctDigiToRaw'):
27 process.gctDigiToRaw.gctInputLabel =
'simCaloStage1LegacyFormatDigis'
29 if hasattr(process,
'simGctDigis'):
30 for sequence
in process.sequences:
31 getattr(process,sequence).
replace(process.simGctDigis,process.L1TCaloStage1)
32 for path
in process.paths:
33 getattr(process,path).
replace(process.simGctDigis,process.L1TCaloStage1)
35 if hasattr(process,
'DigiToRaw'):
36 process.l1tDigiToRaw.InputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"")
37 process.l1tDigiToRaw.TauInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"rlxTaus")
38 process.l1tDigiToRaw.IsoTauInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"isoTaus")
39 process.l1tDigiToRaw.HFBitCountsInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"HFBitCounts")
40 process.l1tDigiToRaw.HFRingSumsInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"HFRingSums")
41 process.l1tDigiToRawSeq = cms.Sequence(process.gctDigiToRaw + process.l1tDigiToRaw);
42 process.DigiToRaw.replace(process.gctDigiToRaw, process.l1tDigiToRawSeq)
43 if hasattr(process,
'rawDataCollector'):
44 process.rawDataCollector.RawCollectionList.append(cms.InputTag(
"l1tDigiToRaw"))
45 if hasattr(process,
'RawToDigi'):
46 process.L1RawToDigiSeq = cms.Sequence(process.gctDigis+process.caloStage1Digis+process.caloStage1LegacyFormatDigis)
47 process.RawToDigi.replace(process.gctDigis, process.L1RawToDigiSeq)
49 blist=[
'l1extraParticles',
'recoL1extraParticles',
'dqmL1ExtraParticles']
51 if hasattr(process,b):
52 if (getattr(process, b).centralJetSource == cms.InputTag(
"simGctDigis",
"cenJets")):
53 getattr(process, b).etTotalSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
54 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"nonIsoEm")
55 getattr(process, b).etMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
56 getattr(process, b).htMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
57 getattr(process, b).forwardJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"forJets")
58 getattr(process, b).centralJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"cenJets")
59 getattr(process, b).tauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"tauJets")
60 getattr(process, b).isoTauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoTauJets")
61 getattr(process, b).isolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoEm")
62 getattr(process, b).etHadSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
63 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
64 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
66 getattr(process, b).etTotalSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
67 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm")
68 getattr(process, b).etMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
69 getattr(process, b).htMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
70 getattr(process, b).forwardJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets")
71 getattr(process, b).centralJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets")
72 getattr(process, b).tauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets")
73 getattr(process, b).isoTauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets")
74 getattr(process, b).isolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm")
75 getattr(process, b).etHadSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
76 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
77 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")