|
|
Go to the documentation of this file.
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,
std::shared_ptr< ProcessConfiguration const > processConfiguration() const
edm::propagate_const< std::shared_ptr< ProcessConfiguration > > processConfiguration_
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
SelectedProductsForBranchType const & keptProducts() const
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
static ServiceToken createSet(std::vector< ParameterSet > &)
T getUntrackedParameter(std::string const &, T const &) const
edm::propagate_const< std::shared_ptr< SignallingProductRegistry > > preg_
std::shared_ptr< CommonParams > initMisc(ParameterSet ¶meterSet)
edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
ServiceToken addCPRandTNS(ParameterSet const ¶meterSet, ServiceToken const &token)
std::vector< std::pair< BranchDescription const *, EDGetToken > > SelectedProducts
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
void updateFromParentProcess(ProcessBlockHelperBase const &parentProcessBlockHelper, ProductRegistry const &)
config
parse the configuration file
std::unique_ptr< ExceptionToActionTable const > act_table_
std::shared_ptr< ActivityRegistry > actReg_
ServiceToken initServices(std::vector< ParameterSet > &servicePSets, ParameterSet &processPSet, ServiceToken const &iToken, serviceregistry::ServiceLegacy iLegacy, bool associate)
void addParameter(std::string const &name, T const &value)
edm::propagate_const< std::shared_ptr< SubProcessParentageHelper > > subProcessParentageHelper_
static ServiceRegistry & instance()
std::unique_ptr< Schedule > initSchedule(ParameterSet ¶meterSet, bool hasSubprocesses, PreallocationConfiguration const &iAllocConfig, ProcessContext const *, ProcessBlockHelperBase &processBlockHelper)
static ServiceToken createContaining(std::unique_ptr< T > iService)
create a service token that holds the service defined by iService
std::string getReleaseVersion()
T getParameter(std::string const &) const