|
42 | 42 | #include "FWCore/Framework/interface/globalTransitionAsync.h"
|
43 | 43 | #include "FWCore/Framework/interface/TriggerNamesService.h"
|
44 | 44 | #include "FWCore/Framework/src/SendSourceTerminationSignalIfException.h"
|
| 45 | +#include "FWCore/Framework/interface/ProductResolversFactory.h" |
45 | 46 |
|
46 | 47 | #include "FWCore/MessageLogger/interface/MessageLogger.h"
|
47 | 48 |
|
@@ -543,33 +544,39 @@ namespace edm {
|
543 | 544 | for (unsigned int index = 0; index < preallocations_.numberOfStreams(); ++index) {
|
544 | 545 | // Reusable event principal
|
545 | 546 | auto ep = std::make_shared<EventPrincipal>(preg(),
|
| 547 | + productResolversFactory::makePrimary, |
546 | 548 | branchIDListHelper(),
|
547 | 549 | thinnedAssociationsHelper(),
|
548 | 550 | *processConfiguration_,
|
549 | 551 | historyAppender_.get(),
|
550 | 552 | index,
|
551 |
| - true /*primary process*/, |
552 | 553 | &*processBlockHelper_);
|
553 | 554 | principalCache_.insert(std::move(ep));
|
554 | 555 | }
|
555 | 556 |
|
556 | 557 | for (unsigned int index = 0; index < preallocations_.numberOfRuns(); ++index) {
|
557 |
| - auto rp = std::make_unique<RunPrincipal>( |
558 |
| - preg(), *processConfiguration_, historyAppender_.get(), index, true, &mergeableRunProductProcesses_); |
| 558 | + auto rp = std::make_unique<RunPrincipal>(preg(), |
| 559 | + productResolversFactory::makePrimary, |
| 560 | + *processConfiguration_, |
| 561 | + historyAppender_.get(), |
| 562 | + index, |
| 563 | + &mergeableRunProductProcesses_); |
559 | 564 | principalCache_.insert(std::move(rp));
|
560 | 565 | }
|
561 | 566 |
|
562 | 567 | for (unsigned int index = 0; index < preallocations_.numberOfLuminosityBlocks(); ++index) {
|
563 |
| - auto lp = |
564 |
| - std::make_unique<LuminosityBlockPrincipal>(preg(), *processConfiguration_, historyAppender_.get(), index); |
| 568 | + auto lp = std::make_unique<LuminosityBlockPrincipal>( |
| 569 | + preg(), productResolversFactory::makePrimary, *processConfiguration_, historyAppender_.get(), index); |
565 | 570 | principalCache_.insert(std::move(lp));
|
566 | 571 | }
|
567 | 572 |
|
568 | 573 | {
|
569 |
| - auto pb = std::make_unique<ProcessBlockPrincipal>(preg(), *processConfiguration_); |
| 574 | + auto pb = std::make_unique<ProcessBlockPrincipal>( |
| 575 | + preg(), productResolversFactory::makePrimary, *processConfiguration_); |
570 | 576 | principalCache_.insert(std::move(pb));
|
571 | 577 |
|
572 |
| - auto pbForInput = std::make_unique<ProcessBlockPrincipal>(preg(), *processConfiguration_); |
| 578 | + auto pbForInput = std::make_unique<ProcessBlockPrincipal>( |
| 579 | + preg(), productResolversFactory::makePrimary, *processConfiguration_); |
573 | 580 | principalCache_.insertForInput(std::move(pbForInput));
|
574 | 581 | }
|
575 | 582 |
|
|
0 commit comments