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)
47 pfClusteringHOTask = cms.Task(particleFlowRecHitHO,particleFlowClusterHO)
48 pfClusteringHO = cms.Sequence(pfClusteringHOTask)
50 particleFlowClusterWithoutHOTask = cms.Task(particleFlowBadHcalPseudoCluster,
53 pfClusteringHBHEHFTask)
54 particleFlowClusterWithoutHO = cms.Sequence(particleFlowClusterWithoutHOTask)
56 particleFlowClusterTask = cms.Task(particleFlowBadHcalPseudoCluster,
59 pfClusteringHBHEHFTask,
61 particleFlowCluster = cms.Sequence(particleFlowClusterTask)
66 pfClusteringHGCalTask = cms.Task(particleFlowRecHitHGC)
67 pfClusteringHGCal = cms.Sequence(pfClusteringHGCalTask)
69 _phase2_hgcal_particleFlowClusterTask = particleFlowClusterTask.copy()
70 _phase2_hgcal_particleFlowClusterTask.add(pfClusteringHGCalTask)
72 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
73 phase2_hgcal.toReplaceWith( particleFlowClusterTask, _phase2_hgcal_particleFlowClusterTask )
77 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi
import particleFlowTimeAssignerECAL
78 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi
import ecalBarrelClusterFastTimer
79 _phase2_timing_particleFlowClusterECALTask = particleFlowClusterECALTask.copy()
80 _phase2_timing_particleFlowClusterECALTask.add(cms.Task(ecalBarrelClusterFastTimer,
81 particleFlowTimeAssignerECAL))
83 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
84 phase2_timing.toReplaceWith(particleFlowClusterECALTask,
85 _phase2_timing_particleFlowClusterECALTask)
86 phase2_timing.toModify(particleFlowClusterECAL,
87 inputECAL = cms.InputTag(
'particleFlowTimeAssignerECAL'))