1 import FWCore.ParameterSet.Config
as cms
3 from RecoHGCal.TICL.TICLSeedingRegions_cff
import ticlSeedingGlobal, ticlSeedingGlobalHFNose
4 from RecoHGCal.TICL.trackstersProducer_cfi
import trackstersProducer
as _trackstersProducer
5 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi
import filteredLayerClustersProducer
as _filteredLayerClustersProducer
9 filteredLayerClustersEM = _filteredLayerClustersProducer.clone(
10 clusterFilter =
"ClusterFilterByAlgoAndSizeAndLayerRange",
13 LayerClustersInputMask =
'ticlTrackstersTrkEM',
14 iteration_label =
"EM" 19 ticlTrackstersEM = _trackstersProducer.clone(
20 filtered_mask =
"filteredLayerClustersEM:EM",
21 original_mask =
'ticlTrackstersTrkEM',
22 seeding_regions =
"ticlSeedingGlobal",
23 pluginPatternRecognitionByCA = dict(
24 filter_on_categories = [0, 1],
26 energy_em_over_total_threshold = 0.9,
27 max_longitudinal_sigmaPCA = 10,
28 shower_start_max_layer = 5,
31 max_missing_layers_in_trackster = 1,
32 min_layers_per_trackster = 10,
34 min_cos_pointing = 0.9,
40 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
41 ticl_v5.toModify(ticlTrackstersEM.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
43 ticlEMStepTask = cms.Task(ticlSeedingGlobal
44 ,filteredLayerClustersEM
49 filteredLayerClustersHFNoseEM = filteredLayerClustersEM.clone(
50 LayerClusters =
'hgcalLayerClustersHFNose',
51 LayerClustersInputMask =
'ticlTrackstersHFNoseTrkEM',
54 iteration_label =
"EMn" 59 ticlTrackstersHFNoseEM = ticlTrackstersEM.clone(
61 layer_clusters =
"hgcalLayerClustersHFNose",
62 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
63 original_mask =
"ticlTrackstersHFNoseTrkEM",
64 filtered_mask =
"filteredLayerClustersHFNoseEM:EMn",
65 seeding_regions =
"ticlSeedingGlobalHFNose",
66 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
68 pluginPatternRecognitionByCA = dict(
69 filter_on_categories = [0, 1],
70 min_layers_per_trackster = 5,
72 min_cos_pointing = 0.9845,
73 shower_start_max_layer = 4
76 ticl_v5.toModify(ticlTrackstersHFNoseEM.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
78 ticlHFNoseEMStepTask = cms.Task(ticlSeedingGlobalHFNose
79 ,filteredLayerClustersHFNoseEM
80 ,ticlTrackstersHFNoseEM