** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1103.

Last-Modified: Mon, 29 Jan 2023 23:45:31 GMT Content-Type: text/html; charset=utf-8 /CMSSW_13_0_X_2023-01-29-2300/RecoHGCal/TICL/python/TrkStep_cff.py
Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-15 05:17:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoHGCal.TICL.TICLSeedingRegions_cff import ticlSeedingTrk, ticlSeedingTrkHFNose
0004 from RecoHGCal.TICL.ticlLayerTileProducer_cfi import ticlLayerTileProducer as _ticlLayerTileProducer
0005 from RecoHGCal.TICL.trackstersProducer_cfi import trackstersProducer as _trackstersProducer
0006 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
0007 
0008 # CLUSTER FILTERING/MASKING
0009 
0010 filteredLayerClustersTrk = _filteredLayerClustersProducer.clone(
0011     clusterFilter = "ClusterFilterByAlgoAndSize",
0012     min_cluster_size = 3, # inclusive
0013     algo_number = 8,
0014     LayerClustersInputMask = 'ticlTrackstersEM',
0015     iteration_label = "Trk"
0016 )
0017 
0018 # CA - PATTERN RECOGNITION
0019 
0020 ticlTrackstersTrk = _trackstersProducer.clone(
0021     filtered_mask = "filteredLayerClustersTrk:Trk",
0022     seeding_regions = "ticlSeedingTrk",
0023     original_mask = 'ticlTrackstersEM',
0024     pluginPatternRecognitionByCA = dict(
0025         filter_on_categories = [2, 4], # filter muons and charged hadrons
0026         pid_threshold = 0.0,
0027         skip_layers = 3,
0028         min_layers_per_trackster = 10,
0029         min_cos_theta = 0.866, # ~30 degrees
0030         min_cos_pointing = 0.798, # ~ 37 degrees
0031         max_delta_time = -1.,
0032         algo_verbosity = 2,
0033         oneTracksterPerTrackSeed = True,
0034         promoteEmptyRegionToTrackster = True
0035     ),
0036     itername = "Trk"
0037 )
0038 
0039 ticlTrkStepTask = cms.Task(ticlSeedingTrk
0040     ,filteredLayerClustersTrk
0041     ,ticlTrackstersTrk)
0042     
0043 # HFNOSE CLUSTER FILTERING/MASKING
0044 
0045 filteredLayerClustersHFNoseTrk = filteredLayerClustersTrk.clone(
0046     LayerClusters = 'hgcalLayerClustersHFNose',
0047     LayerClustersInputMask = 'ticlTrackstersHFNoseEM',
0048     min_cluster_size = 2, # inclusive
0049     algo_number = 9,
0050     iteration_label = "Trkn"
0051 )
0052 
0053 # HFNOSE CA - PATTERN RECOGNITION
0054 
0055 ticlTrackstersHFNoseTrk = ticlTrackstersTrk.clone(
0056     detector = "HFNose",
0057     layer_clusters = "hgcalLayerClustersHFNose",
0058     layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
0059     original_mask = 'ticlTrackstersHFNoseEM',
0060     filtered_mask = "filteredLayerClustersHFNoseTrk:Trkn",
0061     seeding_regions = "ticlSeedingTrkHFNose",
0062     time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
0063     pluginPatternRecognitionByCA = dict(
0064         filter_on_categories = [2, 4], # filter muons and charged hadrons
0065         pid_threshold = 0.0,
0066         skip_layers = 1,
0067         min_layers_per_trackster = 5,
0068         oneTracksterPerTrackSeed = True,
0069         promoteEmptyRegionToTrackster = True
0070     ),
0071     itername = "Trkn"
0072 )
0073 
0074 ticlHFNoseTrkStepTask = cms.Task(ticlSeedingTrkHFNose
0075     ,filteredLayerClustersHFNoseTrk
0076     ,ticlTrackstersHFNoseTrk)
0077 
0078