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 filteredLayerClustersMIP = _filteredLayerClustersProducer.clone(
10 clusterFilter =
"ClusterFilterBySize",
12 iteration_label =
"MIP" 18 ticlTrackstersMIP = _trackstersProducer.clone(
19 filtered_mask =
"filteredLayerClustersMIP:MIP",
20 seeding_regions =
"ticlSeedingGlobal",
21 pluginPatternRecognitionByCA = dict(
23 min_layers_per_trackster = 10,
25 min_cos_pointing = 0.5,
32 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
33 ticl_v5.toModify(ticlTrackstersMIP.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
35 ticlMIPStepTask = cms.Task(ticlSeedingGlobal
36 ,filteredLayerClustersMIP
39 filteredLayerClustersHFNoseMIP = filteredLayerClustersMIP.clone(
40 LayerClusters =
'hgcalLayerClustersHFNose',
41 LayerClustersInputMask =
"hgcalLayerClustersHFNose:InitialLayerClustersMask",
42 iteration_label =
"MIPn",
46 ticlTrackstersHFNoseMIP = ticlTrackstersMIP.clone(
48 layer_clusters =
"hgcalLayerClustersHFNose",
49 layer_clusters_hfnose_tiles =
"ticlLayerTileHFNose",
50 original_mask =
"hgcalLayerClustersHFNose:InitialLayerClustersMask",
51 filtered_mask =
"filteredLayerClustersHFNoseMIP:MIPn",
52 seeding_regions =
"ticlSeedingGlobalHFNose",
53 time_layerclusters =
"hgcalLayerClustersHFNose:timeLayerCluster",
54 pluginPatternRecognitionByCA = dict(min_layers_per_trackster = 6)
57 ticl_v5.toModify(ticlTrackstersHFNoseMIP.pluginPatternRecognitionByCA, computeLocalTime = cms.bool(
True))
59 ticlHFNoseMIPStepTask = cms.Task(ticlSeedingGlobalHFNose
60 ,filteredLayerClustersHFNoseMIP
61 ,ticlTrackstersHFNoseMIP