1 import FWCore.ParameterSet.Config
as cms
3 from RecoHGCal.TICL.TICLSeedingRegions_cff
import ticlSeedingTrk, ticlSeedingTrkHFNose
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 filteredLayerClustersTrk = _filteredLayerClustersProducer.clone(
11 clusterFilter =
"ClusterFilterByAlgoAndSize",
14 LayerClustersInputMask =
'ticlTrackstersEM',
15 iteration_label =
"Trk"
20 ticlTrackstersTrk = _trackstersProducer.clone(
21 filtered_mask =
"filteredLayerClustersTrk:Trk",
22 seeding_regions =
"ticlSeedingTrk",
23 original_mask =
'ticlTrackstersEM',
24 pluginPatternRecognitionByCA = dict(
25 filter_on_categories = [2, 4],
28 min_layers_per_trackster = 10,
29 min_cos_theta = 0.866,
30 min_cos_pointing = 0.798,
33 oneTracksterPerTrackSeed =
True,
34 promoteEmptyRegionToTrackster =
True
39 ticlTrkStepTask = cms.Task(ticlSeedingTrk
40 ,filteredLayerClustersTrk
45 filteredLayerClustersHFNoseTrk = filteredLayerClustersTrk.clone(
46 LayerClusters =
'hgcalLayerClustersHFNose',
47 LayerClustersInputMask =
'ticlTrackstersHFNoseEM',
50 iteration_label =
"Trkn"
55 ticlTrackstersHFNoseTrk = ticlTrackstersTrk.clone(
57 layer_clusters =
"hgcalLayerClustersHFNose",
58 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
59 original_mask =
'ticlTrackstersHFNoseEM',
60 filtered_mask =
"filteredLayerClustersHFNoseTrk:Trkn",
61 seeding_regions =
"ticlSeedingTrkHFNose",
62 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
63 pluginPatternRecognitionByCA = dict(
64 filter_on_categories = [2, 4],
67 min_layers_per_trackster = 5,
68 oneTracksterPerTrackSeed =
True,
69 promoteEmptyRegionToTrackster =
True
74 ticlHFNoseTrkStepTask = cms.Task(ticlSeedingTrkHFNose
75 ,filteredLayerClustersHFNoseTrk
76 ,ticlTrackstersHFNoseTrk)