Skip to content

Commit

Permalink
call methods of BMixingModule for lumi/run transition, from within th…
Browse files Browse the repository at this point in the history
…e same methods of inheriting MixingModule
  • Loading branch information
Giovanni Franzoni committed Aug 18, 2014
1 parent 526c7d3 commit 2aa84bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SimGeneral/MixingModule/plugins/MixingModule.cc
Expand Up @@ -467,24 +467,28 @@ namespace edm {
for(Accumulators::const_iterator accItr = digiAccumulators_.begin(), accEnd = digiAccumulators_.end(); accItr != accEnd; ++accItr) {
(*accItr)->beginRun(run, setup);
}
BMixingModule::beginRun( run, setup);
}

void MixingModule::endRun(edm::Run const& run, edm::EventSetup const& setup) {
for(Accumulators::const_iterator accItr = digiAccumulators_.begin(), accEnd = digiAccumulators_.end(); accItr != accEnd; ++accItr) {
(*accItr)->endRun(run, setup);
}
BMixingModule::endRun( run, setup);
}

void MixingModule::beginLuminosityBlock(edm::LuminosityBlock const& lumi, edm::EventSetup const& setup) {
for(Accumulators::const_iterator accItr = digiAccumulators_.begin(), accEnd = digiAccumulators_.end(); accItr != accEnd; ++accItr) {
(*accItr)->beginLuminosityBlock(lumi, setup);
}
BMixingModule::beginLuminosityBlock(lumi, setup);
}

void MixingModule::endLuminosityBlock(edm::LuminosityBlock const & lumi, edm::EventSetup const& setup) {
for(Accumulators::const_iterator accItr = digiAccumulators_.begin(), accEnd = digiAccumulators_.end(); accItr != accEnd; ++accItr) {
(*accItr)->endLuminosityBlock(lumi, setup);
}
BMixingModule::endLuminosityBlock(lumi, setup);
}

void
Expand Down

0 comments on commit 2aa84bc

Please sign in to comment.