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 = "ClusterFilterByAlgo",
13  algo_number = 8,
14  iteration_label = "Trk"
15 )
16 
17 # CA - PATTERN RECOGNITION
18 
19 ticlTrackstersTrk = _trackstersProducer.clone(
20  filtered_mask = cms.InputTag("filteredLayerClustersTrk", "Trk"),
21  seeding_regions = "ticlSeedingTrk",
22  filter_on_categories = [2, 4], # filter muons and charged hadrons
23  pid_threshold = 0.0,
24  missing_layers = 3,
25  min_clusters_per_ntuplet = 10,
26  min_cos_theta = 0.866, # ~30 degrees
27  min_cos_pointing = 0.798, # ~ 37 degrees
28  max_delta_time = -1.,
29  algo_verbosity = 2,
30  oneTracksterPerTrackSeed = True,
31  promoteEmptyRegionToTrackster = True,
32  itername = "TRK"
33 )
34 
35 # MULTICLUSTERS
36 
37 ticlMultiClustersFromTrackstersTrk = _multiClustersFromTrackstersProducer.clone(
38  Tracksters = "ticlTrackstersTrk"
39 )
40 
41 ticlTrkStepTask = cms.Task(ticlSeedingTrk
42  ,filteredLayerClustersTrk
43  ,ticlTrackstersTrk
44  ,ticlMultiClustersFromTrackstersTrk)
45