1 import FWCore.ParameterSet.Config
as cms
3 from RecoHGCal.TICL.TICLSeedingRegions_cff
import ticlSeedingGlobal, ticlSeedingGlobalHFNose
4 from RecoHGCal.TICL.ticlLayerTileProducer_cfi
import ticlLayerTileProducer
as _ticlLayerTileProducer
5 from RecoHGCal.TICL.trackstersProducer_cfi
import trackstersProducer
as _trackstersProducer
6 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi
import filteredLayerClustersProducer
as _filteredLayerClustersProducer
10 filteredLayerClustersHAD = _filteredLayerClustersProducer.clone(
11 clusterFilter =
"ClusterFilterByAlgoAndSize",
13 iteration_label =
"HAD",
14 LayerClustersInputMask =
"ticlTrackstersTrk" 19 ticlTrackstersHAD = _trackstersProducer.clone(
20 filtered_mask =
"filteredLayerClustersHAD:HAD",
21 original_mask =
'ticlTrackstersTrk',
22 seeding_regions =
"ticlSeedingGlobal",
26 pluginPatternRecognitionByCA = dict(
28 min_layers_per_trackster = 12,
29 min_cos_theta = 0.866,
30 min_cos_pointing = 0.819,
36 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
37 ticl_v5.toModify(ticlTrackstersHAD.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
39 ticlHADStepTask = cms.Task(ticlSeedingGlobal
40 ,filteredLayerClustersHAD
45 filteredLayerClustersHFNoseHAD = filteredLayerClustersHAD.clone(
48 iteration_label =
"HADn",
49 LayerClusters =
'hgcalLayerClustersHFNose',
50 LayerClustersInputMask =
"ticlTrackstersHFNoseTrk" 55 ticlTrackstersHFNoseHAD = ticlTrackstersHAD.clone(
57 layer_clusters =
"hgcalLayerClustersHFNose",
58 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
59 original_mask =
"ticlTrackstersHFNoseTrk",
60 filtered_mask =
"filteredLayerClustersHFNoseHAD:HADn",
61 seeding_regions =
"ticlSeedingGlobalHFNose",
62 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
63 pluginPatternRecognitionByCA = dict(
66 min_layers_per_trackster = 5,
67 min_cos_theta = 0.866,
68 min_cos_pointing = 0.866,
74 ticl_v5.toModify(ticlTrackstersHFNoseHAD.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
76 ticlHFNoseHADStepTask = cms.Task(ticlSeedingGlobalHFNose
77 ,filteredLayerClustersHFNoseHAD
78 ,ticlTrackstersHFNoseHAD)