2 import FWCore.ParameterSet.Config
as cms
3 from HeterogeneousCore.CUDACore.SwitchProducerCUDA
import SwitchProducerCUDA
5 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
10 import HeterogeneousCore.CUDACore.SwitchProducerCUDA
11 HeterogeneousCore.CUDACore.SwitchProducerCUDA._cuda_enabled_cached =
bool(status)
16 import HeterogeneousCore.CUDACore.SwitchProducerCUDA
17 HeterogeneousCore.CUDACore.SwitchProducerCUDA._cuda_enabled_cached =
None
18 HeterogeneousCore.CUDACore.SwitchProducerCUDA._switch_cuda()
26 process.load(
"HeterogeneousCore.CUDAServices.CUDAService_cfi")
35 if 'hltGetConditions' in process.__dict__:
36 del process.hltGetConditions
40 cpu = cms.EDProducer(
"BooleanProducer", value = cms.bool(
False)),
41 cuda = cms.EDProducer(
"BooleanProducer", value = cms.bool(
True))
44 process.statusOnGPUFilter = cms.EDFilter(
"BooleanFilter",
45 src = cms.InputTag(
"statusOnGPU")
48 if 'Status_OnCPU' in process.__dict__:
49 replace_with(process.Status_OnCPU, cms.Path(process.statusOnGPU + ~process.statusOnGPUFilter))
51 process.Status_OnCPU = cms.Path(process.statusOnGPU + ~process.statusOnGPUFilter)
52 if 'HLTSchedule' in process.__dict__:
53 process.HLTSchedule.append(process.Status_OnCPU)
54 if process.schedule
is not None:
55 process.schedule.append(process.Status_OnCPU)
57 if 'Status_OnGPU' in process.__dict__:
58 replace_with(process.Status_OnGPU, cms.Path(process.statusOnGPU + process.statusOnGPUFilter))
60 process.Status_OnGPU = cms.Path(process.statusOnGPU + process.statusOnGPUFilter)
61 if 'HLTSchedule' in process.__dict__:
62 process.HLTSchedule.append(process.Status_OnGPU)
63 if process.schedule
is not None:
64 process.schedule.append(process.Status_OnGPU)
68 if 'hltOutputScoutingCaloMuon' in process.__dict__
and not 'hltPreScoutingCaloMuonOutputSmart' in process.__dict__:
69 process.hltPreScoutingCaloMuonOutputSmart = cms.EDFilter(
"TriggerResultsFilter",
70 l1tIgnoreMaskAndPrescale = cms.bool(
False ),
71 l1tResults = cms.InputTag(
"" ),
72 hltResults = cms.InputTag(
'TriggerResults',
'',
'@currentProcess' ),
73 triggerConditions = process.hltOutputScoutingCaloMuon.SelectEvents.SelectEvents,
74 throw = cms.bool(
True )
76 insert_modules_after(process, process.hltPreScoutingCaloMuonOutput, process.hltPreScoutingCaloMuonOutputSmart)
79 if 'hltOutputScoutingPF' in process.__dict__
and not 'hltPreScoutingPFOutputSmart' in process.__dict__:
80 process.hltPreScoutingPFOutputSmart = cms.EDFilter(
"TriggerResultsFilter",
81 l1tIgnoreMaskAndPrescale = cms.bool(
False ),
82 l1tResults = cms.InputTag(
"" ),
83 hltResults = cms.InputTag(
'TriggerResults',
'',
'@currentProcess' ),
84 triggerConditions = process.hltOutputScoutingPF.SelectEvents.SelectEvents,
85 throw = cms.bool(
True )
87 insert_modules_after(process, process.hltPreScoutingPFOutput, process.hltPreScoutingPFOutputSmart)
97 if not 'HLTDoLocalPixelSequence' in process.__dict__:
102 process.HLTDoLocalPixelSequence = cms.Sequence()
107 process.load(
"CalibTracker.SiPixelESProducers.siPixelGainCalibrationForHLTGPU_cfi")
108 process.load(
"CalibTracker.SiPixelESProducers.siPixelROCsStatusAndMappingWrapperESProducer_cfi")
109 process.load(
"RecoLocalTracker.SiPixelRecHits.PixelCPEFastESProducer_cfi")
117 from RecoVertex.BeamSpotProducer.offlineBeamSpotToCUDA_cfi
import offlineBeamSpotToCUDA
as _offlineBeamSpotToCUDA
118 process.hltOnlineBeamSpotToCUDA = _offlineBeamSpotToCUDA.clone(
119 src =
"hltOnlineBeamSpot"
123 from RecoLocalTracker.SiPixelClusterizer.siPixelRawToClusterCUDA_cfi
import siPixelRawToClusterCUDA
as _siPixelRawToClusterCUDA
124 process.hltSiPixelClustersCUDA = _siPixelRawToClusterCUDA.clone(
126 clusterThreshold_layer1 = process.hltSiPixelClusters.ClusterThreshold_L1,
127 clusterThreshold_otherLayers = process.hltSiPixelClusters.ClusterThreshold
130 run3_common.toModify(process.hltSiPixelClustersCUDA, isRun2 =
False)
133 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsSoAFromCUDA_cfi
import siPixelDigiErrorsSoAFromCUDA
as _siPixelDigiErrorsSoAFromCUDA
134 process.hltSiPixelDigiErrorsSoA = _siPixelDigiErrorsSoAFromCUDA.clone(
135 src =
"hltSiPixelClustersCUDA"
139 from EventFilter.SiPixelRawToDigi.siPixelDigisSoAFromCUDA_cfi
import siPixelDigisSoAFromCUDA
as _siPixelDigisSoAFromCUDA
140 process.hltSiPixelDigisSoA = _siPixelDigisSoAFromCUDA.clone(
141 src =
"hltSiPixelClustersCUDA"
145 process.hltSiPixelDigisLegacy = process.hltSiPixelDigis.clone()
148 from EventFilter.SiPixelRawToDigi.siPixelDigiErrorsFromSoA_cfi
import siPixelDigiErrorsFromSoA
as _siPixelDigiErrorsFromSoA
152 hltSiPixelDigisLegacy = cms.VPSet(
153 cms.PSet(type = cms.string(
"DetIdedmEDCollection")),
154 cms.PSet(type = cms.string(
"SiPixelRawDataErroredmDetSetVector")),
155 cms.PSet(type = cms.string(
"PixelFEDChanneledmNewDetSetVector"))
159 cuda = _siPixelDigiErrorsFromSoA.clone(
160 digiErrorSoASrc =
"hltSiPixelDigiErrorsSoA",
166 process.hltSiPixelClustersLegacy = process.hltSiPixelClusters.clone(
168 ChannelThreshold = 10
172 from RecoLocalTracker.SiPixelClusterizer.siPixelDigisClustersFromSoA_cfi
import siPixelDigisClustersFromSoA
as _siPixelDigisClustersFromSoA
176 hltSiPixelClustersLegacy = cms.VPSet(
177 cms.PSet(type = cms.string(
"SiPixelClusteredmNewDetSetVector"))
181 cuda = _siPixelDigisClustersFromSoA.clone(
182 src =
"hltSiPixelDigisSoA",
183 produceDigis =
False,
186 clusterThreshold_layer1 = process.hltSiPixelClusters.ClusterThreshold_L1,
187 clusterThreshold_otherLayers = process.hltSiPixelClusters.ClusterThreshold
192 from RecoLocalTracker.SiPixelRecHits.siPixelRecHitCUDA_cfi
import siPixelRecHitCUDA
as _siPixelRecHitCUDA
193 process.hltSiPixelRecHitsCUDA = _siPixelRecHitCUDA.clone(
194 src =
"hltSiPixelClustersCUDA",
195 beamSpot =
"hltOnlineBeamSpotToCUDA"
199 from RecoLocalTracker.SiPixelRecHits.siPixelRecHitFromCUDA_cfi
import siPixelRecHitFromCUDA
as _siPixelRecHitFromCUDA
202 cpu = process.hltSiPixelRecHits,
204 cuda = _siPixelRecHitFromCUDA.clone(
205 pixelRecHitSrc =
"hltSiPixelRecHitsCUDA",
206 src =
"hltSiPixelClusters"
213 process.HLTDoLocalPixelTask = cms.Task(
214 process.hltOnlineBeamSpotToCUDA,
215 process.hltSiPixelClustersCUDA,
216 process.hltSiPixelRecHitsCUDA,
217 process.hltSiPixelDigisSoA,
218 process.hltSiPixelDigiErrorsSoA,
219 process.hltSiPixelDigisLegacy,
220 process.hltSiPixelDigis,
221 process.hltSiPixelClustersLegacy,
222 process.hltSiPixelClusters,
223 process.hltSiPixelClustersCache,
224 process.hltSiPixelRecHits)
226 process.HLTDoLocalPixelSequence = cms.Sequence(process.HLTDoLocalPixelTask)
231 if 'AlCa_LumiPixelsCounts_Random_v1' in process.__dict__:
233 process.AlCa_LumiPixelsCounts_Random_v1 = cms.Path(
234 process.HLTBeginSequenceRandom +
235 process.hltScalersRawToDigi +
236 process.hltPreAlCaLumiPixelsCountsRandom +
237 process.hltPixelTrackerHVOn +
238 process.HLTDoLocalPixelSequence +
239 process.hltAlcaPixelClusterCounts +
240 process.HLTEndSequence )
242 if 'AlCa_LumiPixelsCounts_ZeroBias_v1' in process.__dict__:
244 process.AlCa_LumiPixelsCounts_ZeroBias_v1 = cms.Path(
245 process.HLTBeginSequence +
246 process.hltScalersRawToDigi +
247 process.hltL1sZeroBias +
248 process.hltPreAlCaLumiPixelsCountsZeroBias +
249 process.hltPixelTrackerHVOn +
250 process.HLTDoLocalPixelSequence +
251 process.hltAlcaPixelClusterCounts +
252 process.HLTEndSequence )
262 if not 'HLTRecoPixelTracksSequence' in process.__dict__:
265 hasHLTPixelVertexReco =
'HLTRecopixelvertexingSequence' in process.__dict__
269 process.HLTRecoPixelTracksSequence = cms.Sequence()
270 if hasHLTPixelVertexReco:
271 process.HLTRecopixelvertexingSequence = cms.Sequence()
279 from RecoLocalTracker.SiPixelRecHits.siPixelRecHitSoAFromLegacy_cfi
import siPixelRecHitSoAFromLegacy
as _siPixelRecHitSoAFromLegacy
280 process.hltSiPixelRecHitSoA = _siPixelRecHitSoAFromLegacy.clone(
281 src =
"hltSiPixelClusters",
282 beamSpot =
"hltOnlineBeamSpot",
283 convertToLegacy =
True
287 from RecoPixelVertexing.PixelTriplets.pixelTracksCUDA_cfi
import pixelTracksCUDA
as _pixelTracksCUDA
288 process.hltPixelTracksCUDA = _pixelTracksCUDA.clone(
289 idealConditions =
False,
290 pixelRecHitSrc =
"hltSiPixelRecHitsCUDA",
294 run3_common.toModify(process.hltPixelTracksCUDA, idealConditions =
True)
297 from RecoPixelVertexing.PixelTrackFitting.pixelTracksSoA_cfi
import pixelTracksSoA
as _pixelTracksSoA
300 cpu = _pixelTracksCUDA.clone(
301 idealConditions =
False,
302 pixelRecHitSrc =
"hltSiPixelRecHitSoA",
306 cuda = _pixelTracksSoA.clone(
307 src =
"hltPixelTracksCUDA"
311 run3_common.toModify(process.hltPixelTracksSoA.cpu, idealConditions =
True)
314 from RecoPixelVertexing.PixelTrackFitting.pixelTrackProducerFromSoA_cfi
import pixelTrackProducerFromSoA
as _pixelTrackProducerFromSoA
315 process.hltPixelTracks = _pixelTrackProducerFromSoA.clone(
316 beamSpot =
"hltOnlineBeamSpot",
317 pixelRecHitLegacySrc =
"hltSiPixelRecHits",
318 trackSrc =
"hltPixelTracksSoA"
323 if hasHLTPixelVertexReco:
326 from RecoPixelVertexing.PixelVertexFinding.pixelVerticesCUDA_cfi
import pixelVerticesCUDA
as _pixelVerticesCUDA
327 process.hltPixelVerticesCUDA = _pixelVerticesCUDA.clone(
328 pixelTrackSrc =
"hltPixelTracksCUDA",
333 from RecoPixelVertexing.PixelVertexFinding.pixelVerticesSoA_cfi
import pixelVerticesSoA
as _pixelVerticesSoA
336 cpu = _pixelVerticesCUDA.clone(
337 pixelTrackSrc =
"hltPixelTracksSoA",
341 cuda = _pixelVerticesSoA.clone(
342 src =
"hltPixelVerticesCUDA"
347 from RecoPixelVertexing.PixelVertexFinding.pixelVertexFromSoA_cfi
import pixelVertexFromSoA
as _pixelVertexFromSoA
348 process.hltPixelVertices = _pixelVertexFromSoA.clone(
349 src =
"hltPixelVerticesSoA",
350 TrackCollection =
"hltPixelTracks",
351 beamSpot =
"hltOnlineBeamSpot"
357 process.HLTRecoPixelTracksTask = cms.Task(
358 process.hltPixelTracksTrackingRegions,
359 process.hltSiPixelRecHitSoA,
360 process.hltPixelTracksCUDA,
361 process.hltPixelTracksSoA,
362 process.hltPixelTracks)
365 process.HLTRecoPixelTracksSequence = cms.Sequence(process.HLTRecoPixelTracksTask)
367 if hasHLTPixelVertexReco:
368 process.HLTRecopixelvertexingTask = cms.Task(
369 process.HLTRecoPixelTracksTask,
370 process.hltPixelVerticesCUDA,
371 process.hltPixelVerticesSoA,
372 process.hltPixelVertices,
373 process.hltTrimmedPixelVertices)
375 process.HLTRecopixelvertexingSequence = cms.Sequence(
376 process.hltPixelTracksFitter +
377 process.hltPixelTracksFilter,
378 process.HLTRecopixelvertexingTask)
388 hasHLTEcalPreshowerSeq =
any(seq
in process.__dict__
for seq
in [
'HLTDoFullUnpackingEgammaEcalMFSequence',
'HLTDoFullUnpackingEgammaEcalSequence'])
389 if not (hasHLTEcalPreshowerSeq
or 'HLTDoFullUnpackingEgammaEcalWithoutPreshowerSequence' in process.__dict__):
394 process.HLTDoFullUnpackingEgammaEcalWithoutPreshowerSequence = cms.Sequence()
395 if hasHLTEcalPreshowerSeq:
396 process.HLTDoFullUnpackingEgammaEcalMFSequence = cms.Sequence()
397 process.HLTDoFullUnpackingEgammaEcalSequence = cms.Sequence()
402 process.load(
"EventFilter.EcalRawToDigi.ecalElectronicsMappingGPUESProducer_cfi")
403 process.load(
"RecoLocalCalo.EcalRecProducers.ecalGainRatiosGPUESProducer_cfi")
404 process.load(
"RecoLocalCalo.EcalRecProducers.ecalPedestalsGPUESProducer_cfi")
405 process.load(
"RecoLocalCalo.EcalRecProducers.ecalPulseCovariancesGPUESProducer_cfi")
406 process.load(
"RecoLocalCalo.EcalRecProducers.ecalPulseShapesGPUESProducer_cfi")
407 process.load(
"RecoLocalCalo.EcalRecProducers.ecalSamplesCorrelationGPUESProducer_cfi")
408 process.load(
"RecoLocalCalo.EcalRecProducers.ecalTimeBiasCorrectionsGPUESProducer_cfi")
409 process.load(
"RecoLocalCalo.EcalRecProducers.ecalTimeCalibConstantsGPUESProducer_cfi")
410 process.load(
"RecoLocalCalo.EcalRecProducers.ecalMultifitParametersGPUESProducer_cfi")
412 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRechitADCToGeVConstantGPUESProducer_cfi")
413 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRechitChannelStatusGPUESProducer_cfi")
414 process.load(
"RecoLocalCalo.EcalRecProducers.ecalIntercalibConstantsGPUESProducer_cfi")
415 process.load(
"RecoLocalCalo.EcalRecProducers.ecalLaserAPDPNRatiosGPUESProducer_cfi")
416 process.load(
"RecoLocalCalo.EcalRecProducers.ecalLaserAPDPNRatiosRefGPUESProducer_cfi")
417 process.load(
"RecoLocalCalo.EcalRecProducers.ecalLaserAlphasGPUESProducer_cfi")
418 process.load(
"RecoLocalCalo.EcalRecProducers.ecalLinearCorrectionsGPUESProducer_cfi")
419 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRecHitParametersGPUESProducer_cfi")
425 from EventFilter.EcalRawToDigi.ecalRawToDigiGPU_cfi
import ecalRawToDigiGPU
as _ecalRawToDigiGPU
426 process.hltEcalDigisGPU = _ecalRawToDigiGPU.clone()
429 process.hltEcalDigisLegacy = process.hltEcalDigis.clone()
430 from EventFilter.EcalRawToDigi.ecalCPUDigisProducer_cfi
import ecalCPUDigisProducer
as _ecalCPUDigisProducer
435 hltEcalDigisLegacy = cms.VPSet(
436 cms.PSet(type = cms.string(
"EBDigiCollection")),
437 cms.PSet(type = cms.string(
"EEDigiCollection")),
438 cms.PSet(type = cms.string(
"EBDetIdedmEDCollection")),
439 cms.PSet(type = cms.string(
"EEDetIdedmEDCollection")),
440 cms.PSet(type = cms.string(
"EBSrFlagsSorted")),
441 cms.PSet(type = cms.string(
"EESrFlagsSorted")),
442 cms.PSet(type = cms.string(
"EcalElectronicsIdedmEDCollection"), fromProductInstance = cms.string(
"EcalIntegrityBlockSizeErrors")),
443 cms.PSet(type = cms.string(
"EcalElectronicsIdedmEDCollection"), fromProductInstance = cms.string(
"EcalIntegrityTTIdErrors")),
444 cms.PSet(type = cms.string(
"EcalElectronicsIdedmEDCollection"), fromProductInstance = cms.string(
"EcalIntegrityZSXtalIdErrors")),
445 cms.PSet(type = cms.string(
"EcalPnDiodeDigisSorted")),
446 cms.PSet(type = cms.string(
"EcalPseudoStripInputDigisSorted"), fromProductInstance = cms.string(
"EcalPseudoStripInputs")),
447 cms.PSet(type = cms.string(
"EcalTriggerPrimitiveDigisSorted"), fromProductInstance = cms.string(
"EcalTriggerPrimitives")),
451 cuda = _ecalCPUDigisProducer.clone(
452 digisInLabelEB = (
"hltEcalDigisGPU",
"ebDigis"),
453 digisInLabelEE = (
"hltEcalDigisGPU",
"eeDigis"),
454 produceDummyIntegrityCollections = cms.bool(
True)
459 from RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitProducerGPU_cfi
import ecalUncalibRecHitProducerGPU
as _ecalUncalibRecHitProducerGPU
460 process.hltEcalUncalibRecHitGPU = _ecalUncalibRecHitProducerGPU.clone(
461 digisLabelEB = (
"hltEcalDigisGPU",
"ebDigis"),
462 digisLabelEE = (
"hltEcalDigisGPU",
"eeDigis"),
463 shouldRunTimingComputation =
False
467 from RecoLocalCalo.EcalRecProducers.ecalCPUUncalibRecHitProducer_cfi
import ecalCPUUncalibRecHitProducer
as _ecalCPUUncalibRecHitProducer
468 process.hltEcalUncalibRecHitSoA = _ecalCPUUncalibRecHitProducer.clone(
469 recHitsInLabelEB = (
"hltEcalUncalibRecHitGPU",
"EcalUncalibRecHitsEB"),
470 recHitsInLabelEE = (
"hltEcalUncalibRecHitGPU",
"EcalUncalibRecHitsEE"),
474 from RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitConvertGPU2CPUFormat_cfi
import ecalUncalibRecHitConvertGPU2CPUFormat
as _ecalUncalibRecHitConvertGPU2CPUFormat
477 cpu = process.hltEcalUncalibRecHit,
479 cuda = _ecalUncalibRecHitConvertGPU2CPUFormat.clone(
480 recHitsLabelGPUEB = (
"hltEcalUncalibRecHitSoA",
"EcalUncalibRecHitsEB"),
481 recHitsLabelGPUEE = (
"hltEcalUncalibRecHitSoA",
"EcalUncalibRecHitsEE"),
488 from RecoLocalCalo.EcalRecProducers.ecalRecHitGPU_cfi import ecalRecHitGPU as _ecalRecHitGPU
489 process.hltEcalRecHitGPU = _ecalRecHitGPU.clone(
490 uncalibrecHitsInLabelEB = ("hltEcalUncalibRecHitGPU","EcalUncalibRecHitsEB"),
491 uncalibrecHitsInLabelEE = ("hltEcalUncalibRecHitGPU","EcalUncalibRecHitsEE"),
494 from RecoLocalCalo.EcalRecProducers.ecalCPURecHitProducer_cfi import ecalCPURecHitProducer as _ecalCPURecHitProducer
495 process.hltEcalRecHitSoA = _ecalCPURecHitProducer.clone(
496 recHitsInLabelEB = ("hltEcalRecHitGPU", "EcalRecHitsEB"),
497 recHitsInLabelEE = ("hltEcalRecHitGPU", "EcalRecHitsEE"),
500 # SwitchProducer wrapping the legacy ECAL calibrated rechits producer or a converter from SoA to legacy format
501 from RecoLocalCalo.EcalRecProducers.ecalRecHitConvertGPU2CPUFormat_cfi import ecalRecHitConvertGPU2CPUFormat as _ecalRecHitConvertGPU2CPUFormat
502 process.hltEcalRecHit = SwitchProducerCUDA(
504 cpu = process.hltEcalRecHit,
505 # convert the ECAL calibrated rechits from SoA to legacy format
506 cuda = _ecalRecHitConvertGPU2CPUFormat.clone(
507 recHitsLabelGPUEB = ("hltEcalRecHitSoA", "EcalRecHitsEB"),
508 recHitsLabelGPUEE = ("hltEcalRecHitSoA", "EcalRecHitsEE"),
518 cpu = process.hltEcalRecHit.clone(
519 triggerPrimitiveDigiCollection = (
'hltEcalDigisLegacy',
'EcalTriggerPrimitives')
521 cuda = process.hltEcalRecHit.clone(
522 triggerPrimitiveDigiCollection =
'unused'
528 process.HLTDoFullUnpackingEgammaEcalWithoutPreshowerTask = cms.Task(
529 process.hltEcalDigisGPU,
530 process.hltEcalDigisLegacy,
531 process.hltEcalDigis,
532 process.hltEcalUncalibRecHitGPU,
533 process.hltEcalUncalibRecHitSoA,
534 process.hltEcalUncalibRecHit,
537 process.hltEcalDetIdToBeRecovered,
538 process.hltEcalRecHit)
540 process.HLTDoFullUnpackingEgammaEcalWithoutPreshowerSequence = cms.Sequence(
541 process.HLTDoFullUnpackingEgammaEcalWithoutPreshowerTask)
543 if hasHLTEcalPreshowerSeq:
544 process.HLTPreshowerTask = cms.Task(
545 process.hltEcalPreshowerDigis,
546 process.hltEcalPreshowerRecHit)
548 process.HLTPreshowerSequence = cms.Sequence(process.HLTPreshowerTask)
550 process.HLTDoFullUnpackingEgammaEcalTask = cms.Task(
551 process.HLTDoFullUnpackingEgammaEcalWithoutPreshowerTask,
552 process.HLTPreshowerTask)
554 process.HLTDoFullUnpackingEgammaEcalSequence = cms.Sequence(
555 process.HLTDoFullUnpackingEgammaEcalTask)
557 process.HLTDoFullUnpackingEgammaEcalMFSequence = cms.Sequence(
558 process.HLTDoFullUnpackingEgammaEcalTask)
566 hasHLTDoLocalHcalSeq =
'HLTDoLocalHcalSequence' in process.__dict__
567 if not (hasHLTDoLocalHcalSeq
or 'HLTStoppedHSCPLocalHcalReco' in process.__dict__):
572 if hasHLTDoLocalHcalSeq:
573 process.HLTDoLocalHcalSequence = cms.Sequence()
574 process.HLTStoppedHSCPLocalHcalReco = cms.Sequence()
579 process.load(
"EventFilter.HcalRawToDigi.hcalElectronicsMappingGPUESProducer_cfi")
581 process.load(
"RecoLocalCalo.HcalRecProducers.hcalChannelQualityGPUESProducer_cfi")
582 process.load(
"RecoLocalCalo.HcalRecProducers.hcalGainsGPUESProducer_cfi")
583 process.load(
"RecoLocalCalo.HcalRecProducers.hcalGainWidthsGPUESProducer_cfi")
584 process.load(
"RecoLocalCalo.HcalRecProducers.hcalLUTCorrsGPUESProducer_cfi")
585 process.load(
"RecoLocalCalo.HcalRecProducers.hcalConvertedPedestalsGPUESProducer_cfi")
586 process.load(
"RecoLocalCalo.HcalRecProducers.hcalConvertedEffectivePedestalsGPUESProducer_cfi")
587 process.hcalConvertedEffectivePedestalsGPUESProducer.label0 =
"withTopoEff"
588 process.load(
"RecoLocalCalo.HcalRecProducers.hcalConvertedPedestalWidthsGPUESProducer_cfi")
589 process.load(
"RecoLocalCalo.HcalRecProducers.hcalConvertedEffectivePedestalWidthsGPUESProducer_cfi")
590 process.hcalConvertedEffectivePedestalWidthsGPUESProducer.label0 =
"withTopoEff"
591 process.hcalConvertedEffectivePedestalWidthsGPUESProducer.label1 =
"withTopoEff"
592 process.load(
"RecoLocalCalo.HcalRecProducers.hcalQIECodersGPUESProducer_cfi")
593 process.load(
"RecoLocalCalo.HcalRecProducers.hcalRecoParamsWithPulseShapesGPUESProducer_cfi")
594 process.load(
"RecoLocalCalo.HcalRecProducers.hcalRespCorrsGPUESProducer_cfi")
595 process.load(
"RecoLocalCalo.HcalRecProducers.hcalTimeCorrsGPUESProducer_cfi")
596 process.load(
"RecoLocalCalo.HcalRecProducers.hcalQIETypesGPUESProducer_cfi")
597 process.load(
"RecoLocalCalo.HcalRecProducers.hcalSiPMParametersGPUESProducer_cfi")
598 process.load(
"RecoLocalCalo.HcalRecProducers.hcalSiPMCharacteristicsGPUESProducer_cfi")
599 process.load(
"RecoLocalCalo.HcalRecProducers.hcalMahiPulseOffsetsGPUESProducer_cfi")
607 from EventFilter.HcalRawToDigi.hcalDigisProducerGPU_cfi
import hcalDigisProducerGPU
as _hcalDigisProducerGPU
608 process.hltHcalDigisGPU = _hcalDigisProducerGPU.clone(
609 hbheDigisLabel =
"hltHcalDigis",
610 qie11DigiLabel =
"hltHcalDigis",
611 digisLabelF01HE =
"",
617 from RecoLocalCalo.HcalRecProducers.hbheRecHitProducerGPU_cfi
import hbheRecHitProducerGPU
as _hbheRecHitProducerGPU
618 process.hltHbherecoGPU = _hbheRecHitProducerGPU.clone(
619 digisLabelF01HE =
"hltHcalDigisGPU",
620 digisLabelF5HB =
"hltHcalDigisGPU",
621 digisLabelF3HB =
"hltHcalDigisGPU",
622 recHitsLabelM0HBHE =
""
626 from RecoLocalCalo.HcalRecProducers.hcalCPURecHitsProducer_cfi
import hcalCPURecHitsProducer
as _hcalCPURecHitsProducer
627 process.hltHbherecoFromGPU = _hcalCPURecHitsProducer.clone(
628 recHitsM0LabelIn =
"hltHbherecoGPU",
629 recHitsM0LabelOut =
"",
630 recHitsLegacyLabelOut =
""
636 cpu = process.hltHbhereco.clone(),
639 hltHbherecoFromGPU = cms.VPSet(
640 cms.PSet(type = cms.string(
"HBHERecHitsSorted"))
647 if hasHLTDoLocalHcalSeq:
648 process.HLTDoLocalHcalTask = cms.Task(
649 process.hltHcalDigis,
650 process.hltHcalDigisGPU,
651 process.hltHbherecoGPU,
652 process.hltHbherecoFromGPU,
654 process.hltHfprereco,
658 process.HLTDoLocalHcalSequence = cms.Sequence(
659 process.HLTDoLocalHcalTask)
661 process.HLTStoppedHSCPLocalHcalRecoTask = cms.Task(
662 process.hltHcalDigis,
663 process.hltHcalDigisGPU,
664 process.hltHbherecoGPU,
665 process.hltHbherecoFromGPU,
668 process.HLTStoppedHSCPLocalHcalReco = cms.Sequence(
669 process.HLTStoppedHSCPLocalHcalRecoTask)
679 if 'hltPixelTracksCUDA' in process.__dict__:
681 process.hltPixelTracksCUDA.minHitsPerNtuplet = 3
682 process.hltPixelTracksCUDA.includeJumpingForwardDoublets =
True
684 if 'hltPixelTracksSoA' in process.__dict__:
686 process.hltPixelTracksSoA.cpu.minHitsPerNtuplet = 3
687 process.hltPixelTracksSoA.cpu.includeJumpingForwardDoublets =
True
716 process.Consumer = cms.Path(
717 process.HLTBeginSequence +
718 process.hltPixelConsumer +
719 process.hltEcalConsumer +
720 process.hltHbheConsumer,
721 process.HLTDoLocalPixelTask,
722 process.HLTRecoPixelTracksTask,
723 process.HLTRecopixelvertexingTask,
724 process.HLTDoFullUnpackingEgammaEcalTask,
725 process.HLTDoLocalHcalTask,
728 if 'HLTSchedule' in process.__dict__:
729 process.HLTSchedule.append(process.Consumer)
730 if process.schedule
is not None:
731 process.schedule.append(process.Consumer)
739 process.hltPixelConsumer = cms.EDAnalyzer(
"GenericConsumer",
740 eventProducts = cms.untracked.vstring(
'hltPixelTracksCUDA',
'hltPixelVerticesCUDA' )
744 process.hltEcalConsumer = cms.EDAnalyzer(
"GenericConsumer",
745 eventProducts = cms.untracked.vstring(
'hltEcalUncalibRecHitGPU' )
749 process.hltHbheConsumer = cms.EDAnalyzer(
"GenericConsumer",
750 eventProducts = cms.untracked.vstring(
'hltHbherecoGPU' )
762 process.hltPixelConsumer = cms.EDAnalyzer(
"GenericConsumer",
763 eventProducts = cms.untracked.vstring(
'hltPixelTracksSoA',
'hltPixelVerticesSoA' )
767 process.hltEcalConsumer = cms.EDAnalyzer(
"GenericConsumer",
768 eventProducts = cms.untracked.vstring(
'hltEcalUncalibRecHitSoA' )
772 process.hltHbheConsumer = cms.EDAnalyzer(
"GenericConsumer",
773 eventProducts = cms.untracked.vstring(
'hltHbhereco' )
784 process.hltPixelConsumer = cms.EDAnalyzer(
"GenericConsumer",
785 eventProducts = cms.untracked.vstring(
'hltPixelTracks',
'hltPixelVertices' )
789 process.hltEcalConsumer = cms.EDAnalyzer(
"GenericConsumer",
790 eventProducts = cms.untracked.vstring(
'hltEcalUncalibRecHit' )
794 process.hltHbheConsumer = cms.EDAnalyzer(
"GenericConsumer",
795 eventProducts = cms.untracked.vstring(
'hltHbhereco' )