CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
trackTimeValueMapProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 trackTimeValueMapProducer = cms.EDProducer(
4  'TrackTimeValueMapProducer',
5  trackSrc = cms.InputTag('generalTracks'),
6  trackingParticleSrc = cms.InputTag('mix:MergedTrackTruth'),
7  trackingVertexSrc = cms.InputTag('mix:MergedTrackTruth'),
8  pileupSummaryInfo = cms.InputTag('addPileupInfo'),
9  associators = cms.VInputTag(cms.InputTag('quickTrackAssociatorByHits')),
10  resolutionModels = cms.VPSet( cms.PSet( modelName = cms.string('ConfigurableFlatResolutionModel'),
11  resolutionInNs = cms.double(0.030) ),
12  cms.PSet( modelName = cms.string('PerfectResolutionModel') ) ),
13  etaMin = cms.double(-1.0),
14  etaMax = cms.double(3.0),
15  ptMin = cms.double(0.7),
16  pMin = cms.double(0.7),
17  etaMaxForPtThreshold = cms.double(1.5),
18  )
19 
20 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
21 premix_stage2.toModify(trackTimeValueMapProducer,
22  trackingParticleSrc = "mixData:MergedTrackTruth",
23  trackingVertexSrc = "mixData:MergedTrackTruth",
24 )