CMS 3D CMS Logo

TrkStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoHGCal.TICL.TICLSeedingRegions_cff import ticlSeedingTrk
4 from RecoHGCal.TICL.ticlLayerTileProducer_cfi import ticlLayerTileProducer as _ticlLayerTileProducer
5 from RecoHGCal.TICL.trackstersProducer_cfi import trackstersProducer as _trackstersProducer
6 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
7 
8 # CLUSTER FILTERING/MASKING
9 
10 filteredLayerClustersTrk = _filteredLayerClustersProducer.clone(
11  clusterFilter = "ClusterFilterByAlgoAndSize",
12  min_cluster_size = 3, # inclusive
13  algo_number = 8,
14  LayerClustersInputMask = 'ticlTrackstersEM',
15  iteration_label = "Trk"
16 )
17 
18 # CA - PATTERN RECOGNITION
19 
20 ticlTrackstersTrk = _trackstersProducer.clone(
21  filtered_mask = "filteredLayerClustersTrk:Trk",
22  seeding_regions = "ticlSeedingTrk",
23  original_mask = 'ticlTrackstersEM',
24  pluginPatternRecognitionByCA = dict(
25  filter_on_categories = [2, 4], # filter muons and charged hadrons
26  pid_threshold = 0.0,
27  skip_layers = 3,
28  min_layers_per_trackster = 10,
29  min_cos_theta = 0.866, # ~30 degrees
30  min_cos_pointing = 0.798, # ~ 37 degrees
31  max_delta_time = -1.,
32  algo_verbosity = 2,
33  oneTracksterPerTrackSeed = True,
34  promoteEmptyRegionToTrackster = True
35  ),
36  itername = "Trk"
37 )
38 
39 ticlTrkStepTask = cms.Task(ticlSeedingTrk
40  ,filteredLayerClustersTrk
41  ,ticlTrackstersTrk)
42 
43