CMS 3D CMS Logo

CLUE3DEM_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 filteredLayerClustersCLUE3DEM = _filteredLayerClustersProducer.clone(
10  clusterFilter = "ClusterFilterByAlgoAndSizeAndLayerRange",
11  min_cluster_size = 2, # inclusive
12  iteration_label = "CLUE3DEM",
13  algo_number = [6,7],
14  max_layerId = 28, # inclusive
15 )
16 
17 # PATTERN RECOGNITION
18 
19 ticlTrackstersCLUE3DEM = _trackstersProducer.clone(
20  filtered_mask = "filteredLayerClustersCLUE3DEM:CLUE3DEM",
21  seeding_regions = "ticlSeedingGlobal",
22  itername = "EM",
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(ticlTrackstersCLUE3DEM.pluginPatternRecognitionByCLUE3D, computeLocalTime = cms.bool(True))
35 
36 ticlCLUE3DEMStepTask = cms.Task(ticlSeedingGlobal
37  ,filteredLayerClustersCLUE3DEM
38  ,ticlTrackstersCLUE3DEM)
39