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 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi import multiClustersFromTrackstersProducer as _multiClustersFromTrackstersProducer
8 
9 # CLUSTER FILTERING/MASKING
10 
11 filteredLayerClustersTrk = _filteredLayerClustersProducer.clone(
12  clusterFilter = "ClusterFilterByAlgoAndSize",
13  min_cluster_size = 3, # inclusive
14  algo_number = 8,
15  LayerClustersInputMask = 'ticlTrackstersEM',
16  iteration_label = "Trk"
17 )
18 
19 # CA - PATTERN RECOGNITION
20 
21 ticlTrackstersTrk = _trackstersProducer.clone(
22  filtered_mask = "filteredLayerClustersTrk:Trk",
23  seeding_regions = "ticlSeedingTrk",
24  original_mask = 'ticlTrackstersEM',
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  itername = "TRK"
36 )
37 
38 # MULTICLUSTERS
39 
40 ticlMultiClustersFromTrackstersTrk = _multiClustersFromTrackstersProducer.clone(
41  Tracksters = "ticlTrackstersTrk"
42 )
43 
44 ticlTrkStepTask = cms.Task(ticlSeedingTrk
45  ,filteredLayerClustersTrk
46  ,ticlTrackstersTrk
47  ,ticlMultiClustersFromTrackstersTrk)
48 
49