1 import FWCore.ParameterSet.Config
as cms
23 particleFlowClusterECALTask = cms.Task(particleFlowClusterECAL)
24 particleFlowClusterECALSequence = cms.Sequence(particleFlowClusterECALTask)
26 pfClusteringECALTask = cms.Task(particleFlowRecHitECAL,
27 particleFlowClusterECALUncorrected,
28 particleFlowClusterECALTask)
29 pfClusteringECAL = cms.Sequence(pfClusteringECALTask)
31 pfClusteringPSTask = cms.Task(particleFlowRecHitPS,particleFlowClusterPS)
32 pfClusteringPS = cms.Sequence(pfClusteringPSTask)
34 pfClusteringHBHEHFTask = cms.Task(particleFlowRecHitHBHE,
36 particleFlowClusterHBHE,
37 particleFlowClusterHF,
38 particleFlowClusterHCAL)
39 pfClusteringHBHEHF = cms.Sequence(pfClusteringHBHEHFTask)
41 pfClusteringHBHEHFOnlyTask = cms.Task(particleFlowRecHitHBHEOnly,
43 particleFlowClusterHBHEOnly,
44 particleFlowClusterHF,
45 particleFlowClusterHCALOnly)
48 pfClusteringHBHEHFOnlyLegacyTask = pfClusteringHBHEHFOnlyTask.copy()
50 pfClusteringHOTask = cms.Task(particleFlowRecHitHO,particleFlowClusterHO)
51 pfClusteringHO = cms.Sequence(pfClusteringHOTask)
53 particleFlowClusterWithoutHOTask = cms.Task(particleFlowBadHcalPseudoCluster,
56 pfClusteringHBHEHFTask)
57 particleFlowClusterWithoutHO = cms.Sequence(particleFlowClusterWithoutHOTask)
59 particleFlowClusterTask = cms.Task(particleFlowBadHcalPseudoCluster,
62 pfClusteringHBHEHFTask,
64 particleFlowCluster = cms.Sequence(particleFlowClusterTask)
69 pfClusteringHGCalTask = cms.Task(particleFlowRecHitHGC)
70 pfClusteringHGCal = cms.Sequence(pfClusteringHGCalTask)
72 _phase2_hgcal_particleFlowClusterTask = particleFlowClusterTask.copy()
73 _phase2_hgcal_particleFlowClusterTask.add(pfClusteringHGCalTask)
75 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
76 phase2_hgcal.toReplaceWith( particleFlowClusterTask, _phase2_hgcal_particleFlowClusterTask )
80 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi
import particleFlowTimeAssignerECAL
81 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi
import ecalBarrelClusterFastTimer
82 _phase2_timing_particleFlowClusterECALTask = particleFlowClusterECALTask.copy()
83 _phase2_timing_particleFlowClusterECALTask.add(cms.Task(ecalBarrelClusterFastTimer,
84 particleFlowTimeAssignerECAL))
86 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
87 phase2_timing.toReplaceWith(particleFlowClusterECALTask,
88 _phase2_timing_particleFlowClusterECALTask)
89 phase2_timing.toModify(particleFlowClusterECAL,
90 inputECAL =
'particleFlowTimeAssignerECAL')
97 process.load(
"RecoParticleFlow.PFClusterProducer.pfClusterHBHEAlpaka_cff")
99 modifyConfigurationPFClusterAlpaka_ = alpaka.makeProcessModifier(_addProcessPFClusterAlpaka)
def _addProcessPFClusterAlpaka(process)