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",
13 LayerClustersInputMask =
'ticlTrackstersEM',
14 iteration_label =
"Trk" 19 ticlTrackstersTrk = _trackstersProducer.clone(
20 filtered_mask =
"filteredLayerClustersTrk:Trk",
21 seeding_regions =
"ticlSeedingTrk",
22 original_mask =
'ticlTrackstersEM',
23 pluginPatternRecognitionByCA = dict(
24 filter_on_categories = [2, 4],
27 min_layers_per_trackster = 10,
28 min_cos_theta = 0.866,
29 min_cos_pointing = 0.798,
32 oneTracksterPerTrackSeed =
True,
33 promoteEmptyRegionToTrackster =
True 38 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
39 ticl_v5.toModify(ticlTrackstersTrk.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
41 ticlTrkStepTask = cms.Task(ticlSeedingTrk
42 ,filteredLayerClustersTrk
47 filteredLayerClustersHFNoseTrk = filteredLayerClustersTrk.clone(
48 LayerClusters =
'hgcalLayerClustersHFNose',
49 LayerClustersInputMask =
'ticlTrackstersHFNoseEM',
52 iteration_label =
"Trkn" 57 ticlTrackstersHFNoseTrk = ticlTrackstersTrk.clone(
59 layer_clusters =
"hgcalLayerClustersHFNose",
60 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
61 original_mask =
'ticlTrackstersHFNoseEM',
62 filtered_mask =
"filteredLayerClustersHFNoseTrk:Trkn",
63 seeding_regions =
"ticlSeedingTrkHFNose",
64 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
65 pluginPatternRecognitionByCA = dict(
66 filter_on_categories = [2, 4],
69 min_layers_per_trackster = 5,
70 oneTracksterPerTrackSeed =
True,
71 promoteEmptyRegionToTrackster =
True 76 ticl_v5.toModify(ticlTrackstersHFNoseTrk.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
78 ticlHFNoseTrkStepTask = cms.Task(ticlSeedingTrkHFNose
79 ,filteredLayerClustersHFNoseTrk
80 ,ticlTrackstersHFNoseTrk)