1 import FWCore.ParameterSet.Config
as cms
7 from RecoHGCal.TICL.ticlLayerTileProducer_cfi
import ticlLayerTileProducer
8 from RecoHGCal.TICL.ticlCandidateFromTrackstersProducer_cfi
import ticlCandidateFromTrackstersProducer
as _ticlCandidateFromTrackstersProducer
9 from RecoHGCal.TICL.pfTICLProducer_cfi
import pfTICLProducer
as _pfTICLProducer
10 from RecoHGCal.TICL.trackstersMergeProducer_cfi
import trackstersMergeProducer
as _trackstersMergeProducer
11 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi
import multiClustersFromTrackstersProducer
as _multiClustersFromTrackstersProducer
14 ticlLayerTileTask = cms.Task(ticlLayerTileProducer)
16 ticlTrackstersMerge = _trackstersMergeProducer.clone()
17 ticlMultiClustersFromTrackstersMerge = _multiClustersFromTrackstersProducer.clone(
18 Tracksters =
"ticlTrackstersMerge"
20 ticlTracksterMergeTask = cms.Task(ticlTrackstersMerge, ticlMultiClustersFromTrackstersMerge)
22 ticlCandidateFromTracksters = _ticlCandidateFromTrackstersProducer.clone(
23 tracksterCollections = [
"ticlTrackstersMerge"],
27 pfTICL = _pfTICLProducer.clone()
28 ticlPFTask = cms.Task(ticlCandidateFromTracksters, pfTICL)
30 iterTICLTask = cms.Task(ticlLayerTileTask
35 ,ticlTracksterMergeTask
40 if getattr(process,
'particleFlowTmp',
None):
41 process.particleFlowTmp.src = [
'particleFlowTmpBarrel',
'pfTICL']