1 import FWCore.ParameterSet.Config
as cms
3 from RecoHGCal.TICL.TICLSeedingRegions_cff
import ticlSeedingTrk, ticlSeedingTrkHFNose
4 from RecoHGCal.TICL.trackstersProducer_cfi
import trackstersProducer
as _trackstersProducer
5 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi
import filteredLayerClustersProducer
as _filteredLayerClustersProducer
9 filteredLayerClustersTrkEM = _filteredLayerClustersProducer.clone(
10 clusterFilter =
"ClusterFilterByAlgoAndSizeAndLayerRange",
13 iteration_label =
"TrkEM" 18 ticlTrackstersTrkEM = _trackstersProducer.clone(
19 filtered_mask =
"filteredLayerClustersTrkEM:TrkEM",
20 seeding_regions =
"ticlSeedingTrk",
21 pluginPatternRecognitionByCA = dict(
23 filter_on_categories = [0, 1],
25 energy_em_over_total_threshold = 0.9,
26 max_longitudinal_sigmaPCA = 10,
27 shower_start_max_layer = 5,
29 max_missing_layers_in_trackster = 2,
31 min_layers_per_trackster = 10,
33 min_cos_pointing = 0.94,
34 root_doublet_max_distance_from_seed_squared = 2.5e-3,
40 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
41 ticl_v5.toModify(ticlTrackstersTrkEM.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
43 ticlTrkEMStepTask = cms.Task(ticlSeedingTrk
44 ,filteredLayerClustersTrkEM
49 filteredLayerClustersHFNoseTrkEM = filteredLayerClustersTrkEM.clone(
50 LayerClusters =
'hgcalLayerClustersHFNose',
51 LayerClustersInputMask =
"hgcalLayerClustersHFNose:InitialLayerClustersMask",
54 iteration_label =
"TrkEMn" 59 ticlTrackstersHFNoseTrkEM = ticlTrackstersTrkEM.clone(
61 layer_clusters =
"hgcalLayerClustersHFNose",
62 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
63 original_mask =
"hgcalLayerClustersHFNose:InitialLayerClustersMask",
64 filtered_mask =
"filteredLayerClustersHFNoseTrkEM:TrkEMn",
65 seeding_regions =
"ticlSeedingTrkHFNose",
66 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
68 pluginPatternRecognitionByCA = dict(
69 filter_on_categories = [0, 1],
70 min_layers_per_trackster = 5,
72 shower_start_max_layer = 5
76 ticl_v5.toModify(ticlTrackstersHFNoseTrkEM.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
78 ticlHFNoseTrkEMStepTask = cms.Task(ticlSeedingTrkHFNose
79 ,filteredLayerClustersHFNoseTrkEM
80 ,ticlTrackstersHFNoseTrkEM)