7 from L1Trigger.Configuration.L1Trigger_custom
import customiseL1Menu
12 process.load(
"L1Trigger.L1TCommon.l1tDigiToRaw_cfi")
13 process.load(
"EventFilter.L1TRawToDigi.caloStage1Digis_cfi")
14 process.load(
"L1Trigger.L1TCommon.caloStage1LegacyFormatDigis_cfi")
16 process.load(
'L1Trigger.L1TCalorimeter.caloStage1Params_cfi')
17 process.load(
'L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
18 process.load(
'L1Trigger.L1TCalorimeter.L1TCaloStage1_cff')
20 if hasattr(process,
'simGtDigis'):
21 process.simGtDigis.GmtInputTag =
'simGmtDigis'
22 process.simGtDigis.GctInputTag =
'simCaloStage1LegacyFormatDigis'
23 process.simGtDigis.TechnicalTriggersInputTags = cms.VInputTag( )
24 if hasattr(process,
'gctDigiToRaw'):
25 process.gctDigiToRaw.gctInputLabel =
'simCaloStage1LegacyFormatDigis'
27 if hasattr(process,
'simGctDigis'):
28 for sequence
in process.sequences:
29 getattr(process,sequence).
replace(process.simGctDigis,process.L1TCaloStage1)
30 for path
in process.paths:
31 getattr(process,path).
replace(process.simGctDigis,process.L1TCaloStage1)
33 if hasattr(process,
'DigiToRaw'):
34 process.l1tDigiToRaw.InputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"")
35 process.l1tDigiToRaw.TauInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"rlxTaus")
36 process.l1tDigiToRaw.IsoTauInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"isoTaus")
37 process.l1tDigiToRaw.HFBitCountsInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"HFBitCounts")
38 process.l1tDigiToRaw.HFRingSumsInputLabel = cms.InputTag(
"simCaloStage1FinalDigis",
"HFRingSums")
39 process.l1tDigiToRawSeq = cms.Sequence(process.gctDigiToRaw + process.l1tDigiToRaw);
40 process.DigiToRaw.replace(process.gctDigiToRaw, process.l1tDigiToRawSeq)
41 if hasattr(process,
'rawDataCollector'):
42 process.rawDataCollector.RawCollectionList.append(cms.InputTag(
"l1tDigiToRaw"))
43 if hasattr(process,
'RawToDigi'):
44 process.L1RawToDigiSeq = cms.Sequence(process.gctDigis+process.caloStage1Digis+process.caloStage1LegacyFormatDigis)
45 process.RawToDigi.replace(process.gctDigis, process.L1RawToDigiSeq)
47 blist=[
'l1extraParticles',
'recoL1extraParticles',
'dqmL1ExtraParticles']
49 if hasattr(process,b):
50 if (getattr(process, b).centralJetSource == cms.InputTag(
"simGctDigis",
"cenJets")):
51 getattr(process, b).etTotalSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
52 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"nonIsoEm")
53 getattr(process, b).etMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
54 getattr(process, b).htMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
55 getattr(process, b).forwardJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"forJets")
56 getattr(process, b).centralJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"cenJets")
57 getattr(process, b).tauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"tauJets")
58 getattr(process, b).isoTauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoTauJets")
59 getattr(process, b).isolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoEm")
60 getattr(process, b).etHadSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
61 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
62 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
64 getattr(process, b).etTotalSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
65 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm")
66 getattr(process, b).etMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
67 getattr(process, b).htMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
68 getattr(process, b).forwardJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets")
69 getattr(process, b).centralJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets")
70 getattr(process, b).tauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets")
71 getattr(process, b).isoTauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets")
72 getattr(process, b).isolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm")
73 getattr(process, b).etHadSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
74 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
75 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
83 process.load(
"L1Trigger.L1TCommon.l1tRawToDigi_cfi")
84 process.load(
"L1Trigger.L1TCommon.caloStage1LegacyFormatDigis_cfi")
86 if hasattr(process,
'RawToDigi'):
87 process.L1RawToDigiSeq = cms.Sequence(process.gctDigis+process.caloStage1Digis+process.caloStage1LegacyFormatDigis)
88 process.RawToDigi.replace(process.gctDigis, process.L1RawToDigiSeq)
90 blist=[
'l1extraParticles',
'recoL1extraParticles',
'dqmL1ExtraParticles']
92 if hasattr(process,b):
93 if (getattr(process, b).centralJetSource == cms.InputTag(
"simGctDigis",
"cenJets")):
94 getattr(process, b).etTotalSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
95 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"nonIsoEm")
96 getattr(process, b).etMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
97 getattr(process, b).htMissSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
98 getattr(process, b).forwardJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"forJets")
99 getattr(process, b).centralJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"cenJets")
100 getattr(process, b).tauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"tauJets")
101 getattr(process, b).isoTauJetSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoTauJets")
102 getattr(process, b).isolatedEmSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis",
"isoEm")
103 getattr(process, b).etHadSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
104 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
105 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"simCaloStage1LegacyFormatDigis")
107 getattr(process, b).etTotalSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
108 getattr(process, b).nonIsolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"nonIsoEm")
109 getattr(process, b).etMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
110 getattr(process, b).htMissSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
111 getattr(process, b).forwardJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"forJets")
112 getattr(process, b).centralJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"cenJets")
113 getattr(process, b).tauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"tauJets")
114 getattr(process, b).isoTauJetSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoTauJets")
115 getattr(process, b).isolatedEmSource = cms.InputTag(
"caloStage1LegacyFormatDigis",
"isoEm")
116 getattr(process, b).etHadSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
117 getattr(process, b).hfRingEtSumsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
118 getattr(process, b).hfRingBitCountsSource = cms.InputTag(
"caloStage1LegacyFormatDigis")
152 if hasattr(process,
'RCTConfigProducers'):
153 process.RCTConfigProducers.eicIsolationThreshold = cms.uint32(7)
154 process.RCTConfigProducers.hOeCut = cms.double(999)
155 process.RCTConfigProducers.eMinForHoECut = cms.double(999)
156 process.RCTConfigProducers.eMaxForHoECut = cms.double(999)
157 process.RCTConfigProducers.hMinForHoECut = cms.double(999)
158 process.RCTConfigProducers.eMinForFGCut = cms.double(999)
159 if hasattr(process,
'caloStage1Params'):
160 process.caloStage1Params.jetSeedThreshold = cms.double(0.)
161 process.caloStage1Params.regionPUSType = cms.string(
"zeroWall")
162 if hasattr(process,
'caloConfig'):
163 process.caloConfig.fwVersionLayer2 = cms.uint32(1)
def customiseSimL1EmulatorForPostLS1_50ns
def customiseSimL1EmulatorForPostLS1_lowPU
def customiseSimL1EmulatorForPostLS1_Additional_HI
def customiseSimL1EmulatorForStage1
def customiseSimL1EmulatorForPostLS1_25ns
def customiseL1RecoForStage1