CMS 3D CMS Logo

iterativeTICL_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoHGCal.TICL.MIPStep_cff import *
5 from RecoHGCal.TICL.TrkStep_cff import *
6 from RecoHGCal.TICL.EMStep_cff import *
7 from RecoHGCal.TICL.HADStep_cff import *
8 from RecoHGCal.TICL.ticlLayerTileProducer_cfi import ticlLayerTileProducer
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
12 
13 ticlLayerTileTask = cms.Task(ticlLayerTileProducer)
14 
15 ticlTrackstersMerge = _trackstersMergeProducer.clone()
16 ticlMultiClustersFromTrackstersMerge = _multiClustersFromTrackstersProducer.clone(
17  Tracksters = "ticlTrackstersMerge"
18 )
19 ticlTracksterMergeTask = cms.Task(ticlTrackstersMerge, ticlMultiClustersFromTrackstersMerge)
20 
21 
22 pfTICL = _pfTICLProducer.clone()
23 ticlPFTask = cms.Task(pfTICL)
24 
25 iterTICLTask = cms.Task(ticlLayerTileTask
26  ,ticlTrkEMStepTask
27  ,ticlEMStepTask
28  ,ticlTrkStepTask
29  ,ticlHADStepTask
30  ,ticlTracksterMergeTask
31  ,ticlPFTask
32  )
33 
34 ticlLayerTileHFNose = ticlLayerTileProducer.clone(
35  detector = 'HFNose'
36 )
37 
38 ticlLayerTileHFNoseTask = cms.Task(ticlLayerTileHFNose)
39 
40 iterHFNoseTICLTask = cms.Task(
41  ticlLayerTileHFNoseTask,
42  ticlHFNoseMIPStepTask,
43  ticlHFNoseEMStepTask
44 )
45 
46 def injectTICLintoPF(process):
47  if getattr(process,'particleFlowTmp', None):
48  process.particleFlowTmp.src = ['particleFlowTmpBarrel', 'pfTICL']
49 
50  return process
TrkStep_cff
TrkEMStep_cff
iterativeTICL_cff.injectTICLintoPF
def injectTICLintoPF(process)
Definition: iterativeTICL_cff.py:46
HADStep_cff
MIPStep_cff
EMStep_cff