34 subProcessParentageHelper_(),
36 processConfiguration_() {}
48 processConfiguration_() {
49 for (
auto&
item :
preg_->productListUpdator()) {
51 prod.setOnDemand(
false);
52 prod.setProduced(
false);
56 std::set<BranchID> keptBranches;
58 for (
auto const&
item : keptVectorP) {
60 keptBranches.insert(
desc.branchID());
63 for (
auto const&
item : keptVectorR) {
65 keptBranches.insert(
desc.branchID());
68 for (
auto const&
item : keptVectorL) {
70 keptBranches.insert(
desc.branchID());
73 for (
auto const&
item : keptVectorE) {
75 keptBranches.insert(
desc.branchID());
77 for (
auto&
item :
preg_->productListUpdator()) {
79 if (keptBranches.find(
prod.branchID()) == keptBranches.end()) {
80 prod.setDropped(
true);
95 for (
auto const&
item : pServiceSets) {
96 if (
item.exists(
"@save_config")) {
109 auto reg = std::make_shared<w_CPR>(std::make_unique<ConstProductRegistry>(*preg_));
118 auto tnsptr = std::make_shared<w_TNS>(std::make_unique<TNS>(
parameterSet));
128 auto common = std::make_shared<CommonParams>(
136 bool hasSubprocesses,
141 auto ret = std::make_unique<Schedule>(
169 bool hasSubprocesses,
std::shared_ptr< ActivityRegistry > actReg_
std::unique_ptr< Schedule > initSchedule(ParameterSet ¶meterSet, bool hasSubprocesses, PreallocationConfiguration const &iAllocConfig, ProcessContext const *, ProcessBlockHelperBase &processBlockHelper)
T getParameter(std::string const &) const
SelectedProductsForBranchType const & keptProducts() const
std::unique_ptr< ExceptionToActionTable const > act_table_
ret
prodAgent to be discontinued
edm::propagate_const< std::shared_ptr< SignallingProductRegistry > > preg_
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
void updateFromParentProcess(ProcessBlockHelperBase const &parentProcessBlockHelper, ProductRegistry const &)
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
T getUntrackedParameter(std::string const &, T const &) const
std::shared_ptr< ProcessConfiguration const > processConfiguration() const
edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
std::shared_ptr< CommonParams > initMisc(ParameterSet ¶meterSet)
void addParameter(std::string const &name, T const &value)
static ServiceRegistry & instance()
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService
static ServiceToken createSet(std::vector< ParameterSet > &)
std::string getReleaseVersion()
edm::propagate_const< std::shared_ptr< ProcessConfiguration > > processConfiguration_
ServiceToken initServices(std::vector< ParameterSet > &servicePSets, ParameterSet &processPSet, ServiceToken const &iToken, serviceregistry::ServiceLegacy iLegacy, bool associate)
std::unique_ptr< Schedule > m_schedule
edm::propagate_const< std::shared_ptr< SubProcessParentageHelper > > subProcessParentageHelper_
config
parse the configuration file
ServiceToken addCPRandTNS(ParameterSet const ¶meterSet, ServiceToken const &token)
MadeModules initModules(ParameterSet ¶meterSet, service::TriggerNamesService const &tns, PreallocationConfiguration const &iAllocConfig, ProcessContext const *)
std::unique_ptr< Schedule > finishSchedule(MadeModules, ParameterSet ¶meterSet, service::TriggerNamesService const &tns, bool hasSubprocesses, PreallocationConfiguration const &iAllocConfig, ProcessContext const *, ProcessBlockHelperBase &processBlockHelper)