CMS 3D CMS Logo

simPFProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 simPFProducer = cms.EDProducer(
4  'SimPFProducer',
5  superClusterThreshold = cms.double(4.0),
6  neutralEMThreshold = cms.double(0.250),
7  neutralHADThreshold = cms.double(0.250),
8  pfRecTrackSrc = cms.InputTag("hgcalTrackCollection:TracksInHGCal"),
9  trackSrc = cms.InputTag('generalTracks'),
10  gsfTrackSrc = cms.InputTag('electronGsfTracks'),
11  muonSrc = cms.InputTag("muons1stStep"),
12  trackingParticleSrc = cms.InputTag('mix:MergedTrackTruth'),
13  simClusterTruthSrc = cms.InputTag('mix:MergedCaloTruth'),
14  caloParticlesSrc = cms.InputTag('mix:MergedCaloTruth'),
15  simClustersSrc = cms.InputTag('particleFlowClusterHGCal'),
16  associators = cms.VInputTag(cms.InputTag('quickTrackAssociatorByHits') )
17  )
18 
19 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
20 phase2_timing.toModify(
21  simPFProducer,
22  trackTimeValueMap = cms.InputTag("trackTimeValueMapProducer:generalTracksConfigurableFlatResolutionModel"),
23  trackTimeErrorMap = cms.InputTag("trackTimeValueMapProducer:generalTracksConfigurableFlatResolutionModelResolution"),
24  gsfTrackTimeValueMap = cms.InputTag("gsfTrackTimeValueMapProducer:electronGsfTracksConfigurableFlatResolutionModel"),
25  gsfTrackTimeErrorMap = cms.InputTag("gsfTrackTimeValueMapProducer:electronGsfTracksConfigurableFlatResolutionModelResolution"),
26 )
27 
28 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
29 premix_stage2.toModify(simPFProducer,
30  trackingParticleSrc = "mixData:MergedTrackTruth",
31  caloParticlesSrc = "mixData:MergedCaloTruth",
32  simClusterTruthSrc = "mixData:MergedCaloTruth",
33 )