Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:59:32

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     LayerClustersInputMask = 'ticlTrackstersEM',
0014     iteration_label = "Trk"
0015 )
0016 
0017 # CA - PATTERN RECOGNITION
0018 
0019 ticlTrackstersTrk = _trackstersProducer.clone(
0020     filtered_mask = "filteredLayerClustersTrk:Trk",
0021     seeding_regions = "ticlSeedingTrk",
0022     original_mask = 'ticlTrackstersEM',
0023     pluginPatternRecognitionByCA = dict(
0024         filter_on_categories = [2, 4], # filter muons and charged hadrons
0025         pid_threshold = 0.0,
0026         skip_layers = 3,
0027         min_layers_per_trackster = 10,
0028         min_cos_theta = 0.866, # ~30 degrees
0029         min_cos_pointing = 0.798, # ~ 37 degrees
0030         max_delta_time = -1.,
0031         algo_verbosity = 2,
0032         oneTracksterPerTrackSeed = True,
0033         promoteEmptyRegionToTrackster = True
0034     ),
0035     itername = "Trk"
0036 )
0037 
0038 ticlTrkStepTask = cms.Task(ticlSeedingTrk
0039     ,filteredLayerClustersTrk
0040     ,ticlTrackstersTrk)
0041     
0042 # HFNOSE CLUSTER FILTERING/MASKING
0043 
0044 filteredLayerClustersHFNoseTrk = filteredLayerClustersTrk.clone(
0045     LayerClusters = 'hgcalLayerClustersHFNose',
0046     LayerClustersInputMask = 'ticlTrackstersHFNoseEM',
0047     min_cluster_size = 2, # inclusive
0048     algo_number = [9], # reco::CaloCluster::hfnose
0049     iteration_label = "Trkn"
0050 )
0051 
0052 # HFNOSE CA - PATTERN RECOGNITION
0053 
0054 ticlTrackstersHFNoseTrk = ticlTrackstersTrk.clone(
0055     detector = "HFNose",
0056     layer_clusters = "hgcalLayerClustersHFNose",
0057     layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
0058     original_mask = 'ticlTrackstersHFNoseEM',
0059     filtered_mask = "filteredLayerClustersHFNoseTrk:Trkn",
0060     seeding_regions = "ticlSeedingTrkHFNose",
0061     time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
0062     pluginPatternRecognitionByCA = dict(
0063         filter_on_categories = [2, 4], # filter muons and charged hadrons
0064         pid_threshold = 0.0,
0065         skip_layers = 1,
0066         min_layers_per_trackster = 5,
0067         oneTracksterPerTrackSeed = True,
0068         promoteEmptyRegionToTrackster = True
0069     ),
0070     itername = "Trkn"
0071 )
0072 
0073 ticlHFNoseTrkStepTask = cms.Task(ticlSeedingTrkHFNose
0074     ,filteredLayerClustersHFNoseTrk
0075     ,ticlTrackstersHFNoseTrk)
0076 
0077