1 import FWCore.ParameterSet.Config
as cms
24 particleFlowClusterECALTask = cms.Task(particleFlowClusterECAL)
25 particleFlowClusterECALSequence = cms.Sequence(particleFlowClusterECALTask)
27 pfClusteringECALTask = cms.Task(particleFlowRecHitECAL,
28 particleFlowClusterECALUncorrected,
29 particleFlowClusterECALTask)
30 pfClusteringECAL = cms.Sequence(pfClusteringECALTask)
32 pfClusteringPSTask = cms.Task(particleFlowRecHitPS,particleFlowClusterPS)
33 pfClusteringPS = cms.Sequence(pfClusteringPSTask)
37 pfClusteringHBHEHFTask = cms.Task(particleFlowRecHitHBHE,particleFlowRecHitHF,particleFlowClusterHBHE,particleFlowClusterHF,particleFlowClusterHCAL)
38 pfClusteringHBHEHF = cms.Sequence(pfClusteringHBHEHFTask)
40 pfClusteringHOTask = cms.Task(particleFlowRecHitHO,particleFlowClusterHO)
41 pfClusteringHO = cms.Sequence(pfClusteringHOTask)
43 particleFlowClusterWithoutHOTask = cms.Sequence(
44 particleFlowBadHcalPseudoCluster,
47 pfClusteringHBHEHFTask
49 particleFlowClusterWithoutHO = cms.Sequence(particleFlowClusterWithoutHOTask)
51 particleFlowClusterTask = cms.Task(
52 particleFlowBadHcalPseudoCluster,
55 pfClusteringHBHEHFTask,
58 particleFlowCluster = cms.Sequence(particleFlowClusterTask)
63 pfClusteringHGCal = cms.Sequence(particleFlowRecHitHGC)
65 _phase2_hgcal_particleFlowCluster = particleFlowCluster.copy()
66 _phase2_hgcal_particleFlowCluster += pfClusteringHGCal
68 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
69 phase2_hgcal.toReplaceWith( particleFlowCluster, _phase2_hgcal_particleFlowCluster )
73 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi
import particleFlowTimeAssignerECAL
74 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi
import ecalBarrelClusterFastTimer
75 _phase2_timing_particleFlowClusterECALTask = particleFlowClusterECALTask.copy()
76 _phase2_timing_particleFlowClusterECALTask.add(cms.Task(ecalBarrelClusterFastTimer,
77 particleFlowTimeAssignerECAL))
79 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
80 phase2_timing.toReplaceWith(particleFlowClusterECALTask,
81 _phase2_timing_particleFlowClusterECALTask)
82 phase2_timing.toModify(particleFlowClusterECAL,
83 inputECAL = cms.InputTag(
'particleFlowTimeAssignerECAL'))