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)
36 pfClusteringHBHEHFTask = cms.Task(particleFlowRecHitHBHE,particleFlowRecHitHF,particleFlowClusterHBHE,particleFlowClusterHF,particleFlowClusterHCAL)
37 pfClusteringHBHEHF = cms.Sequence(pfClusteringHBHEHFTask)
39 pfClusteringHOTask = cms.Task(particleFlowRecHitHO,particleFlowClusterHO)
40 pfClusteringHO = cms.Sequence(pfClusteringHOTask)
42 particleFlowClusterWithoutHOTask = cms.Sequence(
45 pfClusteringHBHEHFTask
47 particleFlowClusterWithoutHO = cms.Sequence(particleFlowClusterWithoutHOTask)
49 particleFlowClusterTask = cms.Task(
52 pfClusteringHBHEHFTask,
55 particleFlowCluster = cms.Sequence(particleFlowClusterTask)
60 pfClusteringHGCal = cms.Sequence(particleFlowRecHitHGC)
62 _phase2_hgcal_particleFlowCluster = particleFlowCluster.copy()
63 _phase2_hgcal_particleFlowCluster += pfClusteringHGCal
65 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
66 phase2_hgcal.toReplaceWith( particleFlowCluster, _phase2_hgcal_particleFlowCluster )
70 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi
import particleFlowTimeAssignerECAL
71 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi
import ecalBarrelClusterFastTimer
72 _phase2_timing_particleFlowClusterECALTask = particleFlowClusterECALTask.copy()
73 _phase2_timing_particleFlowClusterECALTask.add(cms.Task(ecalBarrelClusterFastTimer,
74 particleFlowTimeAssignerECAL))
76 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
77 phase2_timing.toReplaceWith(particleFlowClusterECALTask,
78 _phase2_timing_particleFlowClusterECALTask)
79 phase2_timing.toModify(particleFlowClusterECAL,
80 inputECAL = cms.InputTag(
'particleFlowTimeAssignerECAL'))