CMS 3D CMS Logo

CLUE3DHAD_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, ticlSeedingGlobalHFNose
4 from RecoHGCal.TICL.trackstersProducer_cfi import trackstersProducer as _trackstersProducer
5 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
6 
7 # CLUSTER FILTERING/MASKING
8 
9 filteredLayerClustersCLUE3DHAD = _filteredLayerClustersProducer.clone(
10  clusterFilter = "ClusterFilterBySize",
11  min_cluster_size = 2, # inclusive
12  iteration_label = "CLUE3DHAD",
13  LayerClustersInputMask = 'ticlTrackstersCLUE3DEM',
14 )
15 
16 # PATTERN RECOGNITION
17 
18 ticlTrackstersCLUE3DHAD = _trackstersProducer.clone(
19  filtered_mask = "filteredLayerClustersCLUE3DHAD:CLUE3DHAD",
20  original_mask = 'ticlTrackstersCLUE3DEM',
21  seeding_regions = "ticlSeedingGlobal",
22  itername = "HAD",
23  patternRecognitionBy = "CLUE3D",
24  pluginPatternRecognitionByCLUE3D = dict (
25  criticalDensity = [0.6, 0.6, 0.6],
26  criticalEtaPhiDistance = [0.025, 0.025, 0.025],
27  kernelDensityFactor = [0.2, 0.2, 0.2],
28  algo_verbosity = 0
29  )
30 
31 )
32 
33 from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
34 ticl_v5.toModify(ticlTrackstersCLUE3DHAD.pluginPatternRecognitionByCLUE3D, computeLocalTime = cms.bool(True))
35 
36 ticlCLUE3DHADStepTask = cms.Task(ticlSeedingGlobal
37  ,filteredLayerClustersCLUE3DHAD
38  ,ticlTrackstersCLUE3DHAD)
39