12 branchIDToIndexMap_(),
13 inputIndexToJobIndex_(),
22 bool unchanged =
true;
25 for (
auto it = bidlists.begin(), itEnd = bidlists.end(); it != itEnd; ++it) {
31 for (BranchIDList::const_iterator
i = it->begin(), iEnd = it->end();
i != iEnd; ++
i) {
37 if (oldBlix != blix) {
46 for (
auto it = bidlists.begin() +
nAlreadyCopied_, itEnd = bidlists.end(); it != itEnd; ++it) {
50 for (BranchIDList::const_iterator
i = it->begin(), iEnd = it->end();
i != iEnd; ++
i) {
62 for (ProductRegistry::ProductList::const_iterator it = preg.
productList().begin(), itEnd = preg.
productList().end();
66 if (it->second.produced() and not it->second.isAlias()) {
67 if (it->second.branchType() ==
InEvent) {
68 bidlist.push_back(it->second.branchID().id());
72 if (!bidlist.empty()) {
77 for (BranchIDList::const_iterator
i = bidlist.begin(), iEnd = bidlist.end();
i != iEnd; ++
i) {
88 if (assertOnFailure) {
unsigned short BranchListIndex
std::vector< BranchIDList > BranchIDLists
bool fixBranchListIndexes(BranchListIndexes &indexes, bool assertOnFailure=true) const
Called by sources to convert their read indexes into the indexes used by the job. ...
ProductList const & productList() const
void updateFromParent(BranchIDLists const &bidlists)
BranchIDLists branchIDLists_
void updateFromRegistry(ProductRegistry const ®)
BranchIDLists::size_type nAlreadyCopied_
std::vector< BranchListIndex > BranchListIndexes
BranchListIndex producedBranchListIndex_
ForwardSequence::const_iterator find_in_all(ForwardSequence const &s, Datum const &d)
wrappers for std::find
BranchIDToIndexMap branchIDToIndexMap_
bool updateFromInput(BranchIDLists const &bidlists)
std::vector< BranchID::value_type > BranchIDList
unsigned short ProductIndex
std::vector< BranchListIndex > inputIndexToJobIndex_
EventID const & max(EventID const &lh, EventID const &rh)