CMS 3D CMS Logo

EMStep_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
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 filteredLayerClustersEM = _filteredLayerClustersProducer.clone(
12  clusterFilter = "ClusterFilterByAlgoAndSize",
13  min_cluster_size = 2, # inclusive
14  algo_number = 8,
15  LayerClustersInputMask = 'ticlTrackstersTrk',
16  iteration_label = "EM"
17 )
18 
19 # CA - PATTERN RECOGNITION
20 
21 ticlTrackstersEM = _trackstersProducer.clone(
22  filtered_mask = cms.InputTag("filteredLayerClustersEM", "EM"),
23  original_mask = 'ticlTrackstersTrk',
24  seeding_regions = "ticlSeedingGlobal",
25  filter_on_categories = [0, 1],
26  pid_threshold = 0.8,
27  max_out_in_hops = 4,
28  missing_layers = 1,
29  min_clusters_per_ntuplet = 10,
30  min_cos_theta = 0.978, # ~12 degrees
31  min_cos_pointing = 0.9, # ~25 degrees
32  max_delta_time = 3.,
33  itername = "EM",
34  algo_verbosity = 0,
35 )
36 
37 # MULTICLUSTERS
38 
39 ticlMultiClustersFromTrackstersEM = _multiClustersFromTrackstersProducer.clone(
40  Tracksters = "ticlTrackstersEM"
41 )
42 
43 ticlEMStepTask = cms.Task(ticlSeedingGlobal
44  ,filteredLayerClustersEM
45  ,ticlTrackstersEM
46  ,ticlMultiClustersFromTrackstersEM)
47