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 
9 from RecoHGCal.TICL.ticlLayerTileProducer_cfi import ticlLayerTileProducer
10 from RecoHGCal.TICL.pfTICLProducer_cfi import pfTICLProducer as _pfTICLProducer
11 from RecoHGCal.TICL.trackstersMergeProducer_cfi import trackstersMergeProducer as _trackstersMergeProducer
12 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi import multiClustersFromTrackstersProducer as _multiClustersFromTrackstersProducer
13 
14 ticlLayerTileTask = cms.Task(ticlLayerTileProducer)
15 
16 ticlTrackstersMerge = _trackstersMergeProducer.clone()
17 ticlMultiClustersFromTrackstersMerge = _multiClustersFromTrackstersProducer.clone(
18  Tracksters = "ticlTrackstersMerge"
19 )
20 ticlTracksterMergeTask = cms.Task(ticlTrackstersMerge, ticlMultiClustersFromTrackstersMerge)
21 
22 
23 pfTICL = _pfTICLProducer.clone()
24 ticlPFTask = cms.Task(pfTICL)
25 
26 ticlIterationsTask = cms.Task(
27  ticlTrkEMStepTask
28  ,ticlEMStepTask
29  ,ticlTrkStepTask
30  ,ticlHADStepTask
31 )
32 ticlIterLabels = [_step.itername.value() for _iteration in ticlIterationsTask for _step in _iteration if (_step._TypedParameterizable__type == "TrackstersProducer")]
33 
34 iterTICLTask = cms.Task(ticlLayerTileTask
35  ,ticlIterationsTask
36  ,ticlTracksterMergeTask
37  ,ticlPFTask
38 )
39 ticlIterLabelsMerge = ticlIterLabels + ["Merge"]
40 
41 ticlLayerTileHFNose = ticlLayerTileProducer.clone(
42  detector = 'HFNose'
43 )
44 
45 ticlLayerTileHFNoseTask = cms.Task(ticlLayerTileHFNose)
46 
47 iterHFNoseTICLTask = cms.Task(ticlLayerTileHFNoseTask
48  ,ticlHFNoseTrkEMStepTask
49  ,ticlHFNoseEMStepTask
50  ,ticlHFNoseHADStepTask
51  ,ticlHFNoseMIPStepTask
52 )
TrkStep_cff
TrkEMStep_cff
HADStep_cff
MIPStep_cff
EMStep_cff