diff --git a/FWCore/TFWLiteSelector/src/TFWLiteSelectorBasic.cc b/FWCore/TFWLiteSelector/src/TFWLiteSelectorBasic.cc index 3e8bd0fdbd07d..8a8dbe5be25d6 100644 --- a/FWCore/TFWLiteSelector/src/TFWLiteSelectorBasic.cc +++ b/FWCore/TFWLiteSelector/src/TFWLiteSelectorBasic.cc @@ -418,9 +418,8 @@ TFWLiteSelectorBasic::setupNewFile(TFile& iFile) { edm::BranchDescription newBD(prod); newBD.updateFriendlyClassName(); newReg->copyProduct(newBD); - // Need to call init to get old branch name. - prod.init(); } + prod.init(); } newReg->setFrozen(); diff --git a/IOPool/Streamer/src/StreamerInputSource.cc b/IOPool/Streamer/src/StreamerInputSource.cc index 2fb453e033916..aaecd8cb2b0dc 100644 --- a/IOPool/Streamer/src/StreamerInputSource.cc +++ b/IOPool/Streamer/src/StreamerInputSource.cc @@ -161,6 +161,7 @@ namespace edm { << "Could not read the initial product registry list\n"; } + sd->initializeTransients(); return sd; }