From 8b7d015429a707464ed69ecd78439787a01aa3f8 Mon Sep 17 00:00:00 2001 From: Julia Yarba Date: Wed, 18 Mar 2009 22:23:18 +0000 Subject: [PATCH] use EventSetup to init ExtDec --- GeneratorInterface/Core/interface/GeneratorFilter.h | 4 ++-- GeneratorInterface/Core/interface/HadronizerFilter.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; /*