CMS 3D CMS Logo

MIPStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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
6 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi import multiClustersFromTrackstersProducer as _multiClustersFromTrackstersProducer
7 
8 # CLUSTER FILTERING/MASKING
9 
10 filteredLayerClustersMIP = _filteredLayerClustersProducer.clone(
11  clusterFilter = "ClusterFilterBySize",
12  algo_number = 8,
13  max_cluster_size = 2, # inclusive
14  iteration_label = "MIP"
15 )
16 
17 
18 # CA - PATTERN RECOGNITION
19 
20 ticlTrackstersMIP = _trackstersProducer.clone(
21  filtered_mask = "filteredLayerClustersMIP:MIP",
22  seeding_regions = "ticlSeedingGlobal",
23  skip_layers = 3,
24  min_layers_per_trackster = 10,
25  min_cos_theta = 0.99, # ~10 degrees
26  min_cos_pointing = 0.5,
27  out_in_dfs = False,
28  itername = "MIP",
29  max_delta_time = -1
30 )
31 
32 # MULTICLUSTERS
33 
34 ticlMultiClustersFromTrackstersMIP = _multiClustersFromTrackstersProducer.clone(
35  Tracksters = "ticlTrackstersMIP"
36 )
37 
38 ticlMIPStepTask = cms.Task(ticlSeedingGlobal
39  ,filteredLayerClustersMIP
40  ,ticlTrackstersMIP
41  ,ticlMultiClustersFromTrackstersMIP)
42 
43 filteredLayerClustersHFNoseMIP = filteredLayerClustersMIP.clone(
44  LayerClusters = 'hgcalLayerClustersHFNose',
45  LayerClustersInputMask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
46  iteration_label = "MIPn",
47  algo_number = 9
48 )
49 
50 ticlTrackstersHFNoseMIP = ticlTrackstersMIP.clone(
51  detector = "HFNose",
52  layer_clusters = "hgcalLayerClustersHFNose",
53  layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
54  original_mask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
55  filtered_mask = "filteredLayerClustersHFNoseMIP:MIPn",
56  seeding_regions = "ticlSeedingGlobalHFNose",
57  time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
58  min_layers_per_trackster = 6
59 )
60 
61 ticlHFNoseMIPStepTask = cms.Task(ticlSeedingGlobalHFNose
62  ,filteredLayerClustersHFNoseMIP
63  ,ticlTrackstersHFNoseMIP
64 )