CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simPFProducer_cff.py
Go to the documentation of this file.
2 
3 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
4 phase2_timing.toModify(
5  simPFProducer,
6  trackTimeValueMap = cms.InputTag("trackTimeValueMapProducer:generalTracksConfigurableFlatResolutionModel"),
7  trackTimeErrorMap = cms.InputTag("trackTimeValueMapProducer:generalTracksConfigurableFlatResolutionModelResolution"),
8  gsfTrackTimeValueMap = cms.InputTag("gsfTrackTimeValueMapProducer:electronGsfTracksConfigurableFlatResolutionModel"),
9  gsfTrackTimeErrorMap = cms.InputTag("gsfTrackTimeValueMapProducer:electronGsfTracksConfigurableFlatResolutionModelResolution"),
10 )
11 
12 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
13 phase2_timing_layer.toModify(
14  simPFProducer,
15  trackTimeValueMap = cms.InputTag("tofPID:t0"),
16  trackTimeErrorMap = cms.InputTag("tofPID:sigmat0"),
17  trackTimeQualityMap = cms.InputTag("mtdTrackQualityMVA:mtdQualMVA"),
18  timingQualityThreshold = cms.double(0.5),
19  #this will cause no time to be set for gsf tracks
20  #(since this is not available for the fullsim/reconstruction yet)
21  #*TODO* update when gsf times are available
22  gsfTrackTimeValueMap = cms.InputTag("tofPID:t0"),
23  gsfTrackTimeErrorMap = cms.InputTag("tofPID:sigmat0"),
24  gsfTrackTimeQualityMap = cms.InputTag("mtdTrackQualityMVA:mtdQualMVA"),
25 )
26 
27 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
28 premix_stage2.toModify(simPFProducer,
29  trackingParticleSrc = "mixData:MergedTrackTruth",
30  caloParticlesSrc = "mixData:MergedCaloTruth",
31  simClusterTruthSrc = "mixData:MergedCaloTruth",
32 )