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 
7 # CLUSTER FILTERING/MASKING
8 
9 filteredLayerClustersMIP = _filteredLayerClustersProducer.clone(
10  clusterFilter = "ClusterFilterBySize",
11  max_cluster_size = 2, # inclusive
12  iteration_label = "MIP"
13 )
14 
15 
16 # CA - PATTERN RECOGNITION
17 
18 ticlTrackstersMIP = _trackstersProducer.clone(
19  filtered_mask = "filteredLayerClustersMIP:MIP",
20  seeding_regions = "ticlSeedingGlobal",
21  pluginPatternRecognitionByCA = dict(
22  skip_layers = 3,
23  min_layers_per_trackster = 10,
24  min_cos_theta = 0.99, # ~10 degrees
25  min_cos_pointing = 0.5,
26  out_in_dfs = False,
27  max_delta_time = -1
28  ),
29  itername = "MIP"
30 )
31 
32 ticlMIPStepTask = cms.Task(ticlSeedingGlobal
33  ,filteredLayerClustersMIP
34  ,ticlTrackstersMIP)
35 
36 filteredLayerClustersHFNoseMIP = filteredLayerClustersMIP.clone(
37  LayerClusters = 'hgcalLayerClustersHFNose',
38  LayerClustersInputMask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
39  iteration_label = "MIPn",
40  algo_number = [9] # reco::CaloCluster::hfnose
41 )
42 
43 ticlTrackstersHFNoseMIP = ticlTrackstersMIP.clone(
44  detector = "HFNose",
45  layer_clusters = "hgcalLayerClustersHFNose",
46  layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
47  original_mask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
48  filtered_mask = "filteredLayerClustersHFNoseMIP:MIPn",
49  seeding_regions = "ticlSeedingGlobalHFNose",
50  time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
51  pluginPatternRecognitionByCA = dict(min_layers_per_trackster = 6)
52 )
53 
54 ticlHFNoseMIPStepTask = cms.Task(ticlSeedingGlobalHFNose
55  ,filteredLayerClustersHFNoseMIP
56  ,ticlTrackstersHFNoseMIP
57 )