1 import FWCore.ParameterSet.Config
as cms
11 from RecoHGCal.TICL.ticlLayerTileProducer_cfi
import ticlLayerTileProducer
12 from RecoHGCal.TICL.pfTICLProducer_cfi
import pfTICLProducer
as _pfTICLProducer
13 from RecoHGCal.TICL.trackstersMergeProducer_cfi
import trackstersMergeProducer
as _trackstersMergeProducer
15 ticlLayerTileTask = cms.Task(ticlLayerTileProducer)
17 ticlTrackstersMerge = _trackstersMergeProducer.clone()
18 ticlTracksterMergeTask = cms.Task(ticlTrackstersMerge)
21 pfTICL = _pfTICLProducer.clone()
22 ticlPFTask = cms.Task(pfTICL)
24 ticlIterationsTask = cms.Task(
31 from Configuration.ProcessModifiers.clue3D_cff
import clue3D
32 clue3D.toModify(ticlIterationsTask, func=
lambda x : x.add(ticlCLUE3DHighStepTask,ticlCLUE3DLowStepTask))
34 ticlIterLabels = [_step.itername.value()
for _iteration
in ticlIterationsTask
for _step
in _iteration
if (_step._TypedParameterizable__type ==
"TrackstersProducer")]
36 iterTICLTask = cms.Task(ticlLayerTileTask
38 ,ticlTracksterMergeTask
41 ticlIterLabelsMerge = ticlIterLabels + [
"Merge"]
43 ticlLayerTileHFNose = ticlLayerTileProducer.clone(
47 ticlLayerTileHFNoseTask = cms.Task(ticlLayerTileHFNose)
49 iterHFNoseTICLTask = cms.Task(ticlLayerTileHFNoseTask
50 ,ticlHFNoseTrkEMStepTask
52 ,ticlHFNoseTrkStepTask
53 ,ticlHFNoseHADStepTask
54 ,ticlHFNoseMIPStepTask