CMS 3D CMS Logo

SimTracksters_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoHGCal.TICL.simTrackstersProducer_cfi import simTrackstersProducer as _simTrackstersProducer
4 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
5 
6 
7 # CA - PATTERN RECOGNITION
8 
9 
10 filteredLayerClustersSimTracksters = _filteredLayerClustersProducer.clone(
11  clusterFilter = "ClusterFilterByAlgoAndSize",
12  min_cluster_size = 0, # inclusive
13  iteration_label = "ticlSimTracksters"
14 )
15 
16 ticlSimTracksters = _simTrackstersProducer.clone(
17 )
18 
19 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
20 premix_stage2.toModify(ticlSimTracksters,
21  simclusters = "mixData:MergedCaloTruth",
22  caloparticles = "mixData:MergedCaloTruth",
23 )
24 
25 ticlSimTrackstersTask = cms.Task(filteredLayerClustersSimTracksters, ticlSimTracksters)