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.trackstersFromSimClustersProducer_cfi import trackstersFromSimClustersProducer as _trackstersFromSimClustersProducer
4 from RecoHGCal.TICL.multiClustersFromTrackstersProducer_cfi import multiClustersFromTrackstersProducer as _multiClustersFromTrackstersProducer
5 from RecoHGCal.TICL.filteredLayerClustersProducer_cfi import filteredLayerClustersProducer as _filteredLayerClustersProducer
6 
7 
8 # CA - PATTERN RECOGNITION
9 
10 
11 filteredLayerClustersSimTracksters = _filteredLayerClustersProducer.clone(
12  clusterFilter = "ClusterFilterByAlgoAndSize",
13  algo_number = 8,
14  min_cluster_size = 0, # inclusive
15  iteration_label = "ticlSimTracksters"
16 )
17 
18 ticlSimTracksters = _trackstersFromSimClustersProducer.clone(
19 )
20 
21 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
22 premix_stage2.toModify(ticlSimTracksters,
23  simclusters = "mixData:MergedCaloTruth"
24 )
25 
26 ticlMultiClustersFromSimTracksters = _multiClustersFromTrackstersProducer.clone(
27  Tracksters = "ticlSimTracksters"
28 )
29 
30 ticlSimTrackstersTask = cms.Task(filteredLayerClustersSimTracksters, ticlSimTracksters, ticlMultiClustersFromSimTracksters)
31