Skip to content

Commit

Permalink
save the same playbackinfo as latest when running playback
Browse files Browse the repository at this point in the history
  • Loading branch information
yetkinyilmaz committed Jan 26, 2015
1 parent 759087e commit f98d63d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,22 @@

HiMixRAW = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_mix_MergedTrackTruth_*',
'drop CrossingFramePlaybackInfoExtended_mix_*_*',
'keep *_mix_*_SIM',
'keep *_hiGenParticles_*_*'
# 'keep *_mix_MergedTrackTruth_*',
# 'drop CrossingFramePlaybackInfoExtended_mix_*_*',
# 'keep *_mix_*_SIM',
)
)

HiMixRECO = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_mix_MergedTrackTruth_*',
'drop CrossingFramePlaybackInfoExtended_mix_*_*',
'keep *_mix_*_SIM',
'keep *_hiGenParticles_*_*'
# 'keep *_mix_MergedTrackTruth_*',
# 'drop CrossingFramePlaybackInfoExtended_mix_*_*',
# 'keep *_mix_*_SIM',
)
)

HiMixAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_hiGenParticles_*_*'
)
)

5 changes: 3 additions & 2 deletions SimGeneral/MixingModule/plugins/MixingModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,9 @@ namespace edm {
playEventID,
std::bind(&MixingModule::pileAllWorkers, std::ref(*this), _1, mcc, bunchIdx,
_2, vertexOffset, std::ref(setup), e.streamID())
);
}
);
(*playbackInfo_)=(*playbackInfo_H);
}
}
for(Accumulators::const_iterator accItr = digiAccumulators_.begin(), accEnd = digiAccumulators_.end(); accItr != accEnd; ++accItr) {
(*accItr)->finalizeBunchCrossing(e, setup, bunchIdx);
Expand Down

0 comments on commit f98d63d

Please sign in to comment.