CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  algo_number = 8,
13  min_cluster_size = 0, # inclusive
14  iteration_label = "ticlSimTracksters"
15 )
16 
17 ticlSimTracksters = _simTrackstersProducer.clone(
18 )
19 
20 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
21 premix_stage2.toModify(ticlSimTracksters,
22  simclusters = "mixData:MergedCaloTruth",
23  caloparticles = "mixData:MergedCaloTruth",
24 )
25 
26 ticlSimTrackstersTask = cms.Task(filteredLayerClustersSimTracksters, ticlSimTracksters)