CMS 3D CMS Logo

HADStep_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 filteredLayerClustersHAD = _filteredLayerClustersProducer.clone(
12  clusterFilter = "ClusterFilterByAlgoAndSize",
13  min_cluster_size = 3, # inclusive
14  algo_number = 8,
15  iteration_label = "HAD",
16  LayerClustersInputMask = "ticlTrackstersTrk"
17 )
18 
19 # CA - PATTERN RECOGNITION
20 
21 ticlTrackstersHAD = _trackstersProducer.clone(
22  filtered_mask = "filteredLayerClustersHAD:HAD",
23  original_mask = 'ticlTrackstersTrk',
24  seeding_regions = "ticlSeedingGlobal",
25  # For the moment we mask everything w/o requirements since we are last
26 # filter_on_categories = [5], # filter neutral hadrons
27 # pid_threshold = 0.7,
28  skip_layers = 1,
29  min_layers_per_trackster = 12,
30  min_cos_theta = 0.866, # ~30 degrees
31  min_cos_pointing = 0.819, # ~35 degrees
32  max_delta_time = -1,
33  itername = "HADRONIC"
34  )
35 
36 # MULTICLUSTERS
37 
38 ticlMultiClustersFromTrackstersHAD = _multiClustersFromTrackstersProducer.clone(
39  Tracksters = "ticlTrackstersHAD"
40  )
41 
42 ticlHADStepTask = cms.Task(ticlSeedingGlobal
43  ,filteredLayerClustersHAD
44  ,ticlTrackstersHAD
45  ,ticlMultiClustersFromTrackstersHAD)
46