File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
GeneratorInterface/Pythia8Interface/plugins Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ bool Pythia8HepMC3Hadronizer::initializeForInternalPartons() {
485485 if (TopRecoilHook1) {
486486 edm::LogInfo (" Pythia8Interface" ) << " Turning on RecoilToTop hook from Pythia8Interface" ;
487487 if (!fTopRecoilHook .get ())
488- fTopRecoilHook . reset ( new TopRecoilHook () );
488+ fTopRecoilHook = std::make_shared< TopRecoilHook>( );
489489 (fUserHooksVector ->hooks ).push_back (fTopRecoilHook );
490490 }
491491
@@ -652,7 +652,7 @@ bool Pythia8HepMC3Hadronizer::initializeForExternalPartons() {
652652 if (TopRecoilHook1) {
653653 edm::LogInfo (" Pythia8Interface" ) << " Turning on RecoilToTop hook from Pythia8Interface" ;
654654 if (!fTopRecoilHook .get ())
655- fTopRecoilHook . reset ( new TopRecoilHook () );
655+ fTopRecoilHook = std::make_shared< TopRecoilHook>( );
656656 (fUserHooksVector ->hooks ).push_back (fTopRecoilHook );
657657 }
658658
You can’t perform that action at this time.
0 commit comments