1 import FWCore.ParameterSet.Config
as cms
4 addPileupInfo = cms.EDProducer(
"PileupInformation",
5 isPreMixed = cms.bool(
False),
6 TrackingParticlesLabel = cms.InputTag(
'mergedtruth'),
7 PileupMixingLabel = cms.InputTag(
'mix'),
8 simHitLabel = cms.string(
'g4SimHits'),
9 volumeRadius = cms.double(1200.0),
10 vertexDistanceCut = cms.double(0.003),
11 volumeZ = cms.double(3000.0),
12 pTcut_1 = cms.double(0.1),
13 pTcut_2 = cms.double(0.5),
14 doTrackTruth = cms.untracked.bool(
False),
15 saveVtxTimes = cms.bool(
False)
18 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
19 phase2_timing.toModify( addPileupInfo, saveVtxTimes = cms.bool(
True) )
27 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
29 premix_stage2.toReplaceWith(addPileupInfo, _addPileupInfoPreMixed)