Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #pileupSummary = cms.EDProducer("PileupInformation",
0004 addPileupInfo = cms.EDProducer("PileupInformation",
0005     isPreMixed = cms.bool(False),
0006     TrackingParticlesLabel = cms.InputTag('mergedtruth'),
0007     PileupMixingLabel = cms.InputTag('mix'),
0008     simHitLabel = cms.string('g4SimHits'),
0009     volumeRadius = cms.double(1200.0),
0010     vertexDistanceCut = cms.double(0.003),
0011     volumeZ = cms.double(3000.0),
0012     pTcut_1 = cms.double(0.1),
0013     pTcut_2 = cms.double(0.5),                               
0014     doTrackTruth = cms.untracked.bool(False),
0015     saveVtxTimes = cms.bool(False)
0016 )
0017 
0018 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
0019 phase2_timing.toModify( addPileupInfo, saveVtxTimes = cms.bool(True) )
0020 
0021 #addPileupInfo = cms.Sequence(pileupSummary)
0022 
0023 # I'd like to move the contents of AddPileupSummaryPremixed_cfi here,
0024 # but first I have to figure out what to do with the import of that
0025 # cfi in DataMixerDataOnSim_cff (without any apparent connection to
0026 # premxing)
0027 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0028 from SimGeneral.PileupInformation.AddPileupSummaryPreMixed_cfi import addPileupInfo as _addPileupInfoPreMixed
0029 premix_stage2.toReplaceWith(addPileupInfo, _addPileupInfoPreMixed)