CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
7 # CLUSTER FILTERING/MASKING
8 
9 filteredLayerClustersMIP = _filteredLayerClustersProducer.clone(
10  clusterFilter = "ClusterFilterBySize",
11  algo_number = 8,
12  max_cluster_size = 2, # inclusive
13  iteration_label = "MIP"
14 )
15 
16 
17 # CA - PATTERN RECOGNITION
18 
19 ticlTrackstersMIP = _trackstersProducer.clone(
20  filtered_mask = "filteredLayerClustersMIP:MIP",
21  seeding_regions = "ticlSeedingGlobal",
22  pluginPatternRecognitionByCA = dict(
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  max_delta_time = -1
29  ),
30  itername = "MIP"
31 )
32 
33 ticlMIPStepTask = cms.Task(ticlSeedingGlobal
34  ,filteredLayerClustersMIP
35  ,ticlTrackstersMIP)
36 
37 filteredLayerClustersHFNoseMIP = filteredLayerClustersMIP.clone(
38  LayerClusters = 'hgcalLayerClustersHFNose',
39  LayerClustersInputMask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
40  iteration_label = "MIPn",
41  algo_number = 9
42 )
43 
44 ticlTrackstersHFNoseMIP = ticlTrackstersMIP.clone(
45  detector = "HFNose",
46  layer_clusters = "hgcalLayerClustersHFNose",
47  layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
48  original_mask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
49  filtered_mask = "filteredLayerClustersHFNoseMIP:MIPn",
50  seeding_regions = "ticlSeedingGlobalHFNose",
51  time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
52  pluginPatternRecognitionByCA = dict(min_layers_per_trackster = 6)
53 )
54 
55 ticlHFNoseMIPStepTask = cms.Task(ticlSeedingGlobalHFNose
56  ,filteredLayerClustersHFNoseMIP
57  ,ticlTrackstersHFNoseMIP
58 )