Skip to content

Commit

Permalink
use EventSetup to init ExtDec
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Yarba committed Mar 18, 2009
1 parent 7f3a270 commit 8b7d015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions GeneratorInterface/Core/interface/GeneratorFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ namespace edm

template <class HAD>
void
GeneratorFilter<HAD>::beginJob(EventSetup const&)
GeneratorFilter<HAD>::beginJob(EventSetup const& es)
{

if ( decayer_ ) decayer_->init() ;
if ( decayer_ ) decayer_->init(es) ;
return;

}
Expand Down
4 changes: 2 additions & 2 deletions GeneratorInterface/Core/interface/HadronizerFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ namespace edm

template <class HAD>
void
HadronizerFilter<HAD>::beginJob(EventSetup const&)
HadronizerFilter<HAD>::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;

/*
Expand Down

0 comments on commit 8b7d015

Please sign in to comment.