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 ticlSeedingGlobal, ticlSeedingGlobalHFNose
0004 from RecoHGCal.TICL.trackstersProducer_cfi import trackstersProducer as _trackstersProducer
0005 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
0006 
0007 # CLUSTER FILTERING/MASKING
0008 
0009 filteredLayerClustersMIP = _filteredLayerClustersProducer.clone(
0010     clusterFilter = "ClusterFilterBySize",
0011     max_cluster_size = 2, # inclusive
0012     iteration_label = "MIP"
0013 )
0014 
0015 
0016 # CA - PATTERN RECOGNITION
0017 
0018 ticlTrackstersMIP = _trackstersProducer.clone(
0019     filtered_mask = "filteredLayerClustersMIP:MIP",
0020     seeding_regions = "ticlSeedingGlobal",
0021     pluginPatternRecognitionByCA = dict(
0022       skip_layers = 3,
0023       min_layers_per_trackster = 10,
0024       min_cos_theta = 0.99, # ~10 degrees
0025       min_cos_pointing = 0.5,
0026       out_in_dfs = False,
0027       max_delta_time = -1
0028     ),
0029     itername = "MIP"
0030 )
0031 
0032 ticlMIPStepTask = cms.Task(ticlSeedingGlobal
0033     ,filteredLayerClustersMIP
0034     ,ticlTrackstersMIP)
0035 
0036 filteredLayerClustersHFNoseMIP = filteredLayerClustersMIP.clone(
0037     LayerClusters = 'hgcalLayerClustersHFNose',
0038     LayerClustersInputMask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
0039     iteration_label = "MIPn",
0040     algo_number = [9] # reco::CaloCluster::hfnose
0041 )
0042 
0043 ticlTrackstersHFNoseMIP = ticlTrackstersMIP.clone(
0044     detector = "HFNose",
0045     layer_clusters = "hgcalLayerClustersHFNose",
0046     layer_clusters_hfnose_tiles = "ticlLayerTileHFNose",
0047     original_mask = "hgcalLayerClustersHFNose:InitialLayerClustersMask",
0048     filtered_mask = "filteredLayerClustersHFNoseMIP:MIPn",
0049     seeding_regions = "ticlSeedingGlobalHFNose",
0050     time_layerclusters = "hgcalLayerClustersHFNose:timeLayerCluster",
0051     pluginPatternRecognitionByCA = dict(min_layers_per_trackster = 6)
0052 )
0053 
0054 ticlHFNoseMIPStepTask = cms.Task(ticlSeedingGlobalHFNose
0055                               ,filteredLayerClustersHFNoseMIP
0056                               ,ticlTrackstersHFNoseMIP
0057 )