CMS 3D CMS Logo

TrkEMStep_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.trackstersProducer_cfi import trackstersProducer as _trackstersProducer
5 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
6 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi import multiClustersFromTrackstersProducer as _multiClustersFromTrackstersProducer
7 
8 # CLUSTER FILTERING/MASKING
9 
10 filteredLayerClustersTrkEM = _filteredLayerClustersProducer.clone(
11  clusterFilter = "ClusterFilterByAlgoAndSizeAndLayerRange",
12  min_cluster_size = 3, # inclusive
13  max_layerId = 30, # inclusive
14  algo_number = 8,
15  iteration_label = "TrkEM"
16 )
17 
18 # CA - PATTERN RECOGNITION
19 
20 ticlTrackstersTrkEM = _trackstersProducer.clone(
21  filtered_mask = cms.InputTag("filteredLayerClustersTrkEM", "TrkEM"),
22  seeding_regions = "ticlSeedingTrk",
23  filter_on_categories = [0, 1],
24  pid_threshold = 0.5,
25  energy_em_over_total_threshold = 0.9,
26  max_longitudinal_sigmaPCA = 10,
27  shower_start_max_layer = 5, #inclusive
28  max_out_in_hops = 1,
29  max_missing_layers_in_trackster = 2,
30  skip_layers = 2,
31  min_layers_per_trackster = 10,
32  min_cos_theta = 0.97, # ~14 degrees
33  min_cos_pointing = 0.94, # ~20 degrees
34  root_doublet_max_distance_from_seed_squared = 2.5e-3, # dR=0.05
35  max_delta_time = 3.,
36  itername = "TrkEM",
37  algo_verbosity = 0,
38 )
39 
40 
41 # MULTICLUSTERS
42 
43 ticlMultiClustersFromTrackstersTrkEM = _multiClustersFromTrackstersProducer.clone(
44  Tracksters = "ticlTrackstersTrkEM"
45 )
46 
47 ticlTrkEMStepTask = cms.Task(ticlSeedingTrk
48  ,filteredLayerClustersTrkEM
49  ,ticlTrackstersTrkEM
50  ,ticlMultiClustersFromTrackstersTrkEM)
51