CMS 3D CMS Logo

CLUE3DHighStep_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 filteredLayerClustersCLUE3DHigh = _filteredLayerClustersProducer.clone(
10  clusterFilter = "ClusterFilterByAlgoAndSize",
11  min_cluster_size = 2, # inclusive
12  iteration_label = "CLUE3DHigh"
13 )
14 
15 # PATTERN RECOGNITION
16 
17 ticlTrackstersCLUE3DHigh = _trackstersProducer.clone(
18  filtered_mask = "filteredLayerClustersCLUE3DHigh:CLUE3DHigh",
19  seeding_regions = "ticlSeedingGlobal",
20  itername = "CLUE3DHigh",
21  patternRecognitionBy = "CLUE3D",
22  pluginPatternRecognitionByCLUE3D = dict (
23  criticalDensity = [0.6, 0.6, 0.6],
24  criticalEtaPhiDistance = [0.025, 0.025, 0.025],
25  kernelDensityFactor = [0.2, 0.2, 0.2],
26  algo_verbosity = 0,
27  doPidCut = True,
28  cutHadProb = 999
29  )
30 
31 )
32 
33 from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
34 ticl_v5.toModify(ticlTrackstersCLUE3DHigh.pluginPatternRecognitionByCLUE3D, computeLocalTime = cms.bool(True))
35 ticl_v5.toModify(ticlTrackstersCLUE3DHigh.pluginPatternRecognitionByCLUE3D, usePCACleaning = cms.bool(True))
36 
37 ticlCLUE3DHighStepTask = cms.Task(ticlSeedingGlobal
38  ,filteredLayerClustersCLUE3DHigh
39  ,ticlTrackstersCLUE3DHigh)
40