diff --git a/GeneratorInterface/Core/interface/GeneratorFilter.h b/GeneratorInterface/Core/interface/GeneratorFilter.h index 2df5b1a4192d8..13ed2e1307ced 100644 --- a/GeneratorInterface/Core/interface/GeneratorFilter.h +++ b/GeneratorInterface/Core/interface/GeneratorFilter.h @@ -150,10 +150,10 @@ namespace edm template void - GeneratorFilter::beginJob(EventSetup const&) + GeneratorFilter::beginJob(EventSetup const& es) { - if ( decayer_ ) decayer_->init() ; + if ( decayer_ ) decayer_->init(es) ; return; } diff --git a/GeneratorInterface/Core/interface/HadronizerFilter.h b/GeneratorInterface/Core/interface/HadronizerFilter.h index c18b003ee764a..ef5b1a6b1551d 100644 --- a/GeneratorInterface/Core/interface/HadronizerFilter.h +++ b/GeneratorInterface/Core/interface/HadronizerFilter.h @@ -159,13 +159,13 @@ namespace edm template void - HadronizerFilter::beginJob(EventSetup const&) + HadronizerFilter::beginJob(EventSetup const& es) { // do things that's common through the job, such as // attach external decay packages, etc. // - if ( decayer_ ) decayer_->init() ; + if ( decayer_ ) decayer_->init(es) ; return; /*