CMS 3D CMS Logo

AddPileupSummary_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #pileupSummary = cms.EDProducer("PileupInformation",
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)
16 )
17 
18 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
19 phase2_timing.toModify( addPileupInfo, saveVtxTimes = cms.bool(True) )
20 
21 #addPileupInfo = cms.Sequence(pileupSummary)