12 branchIDToIndexMap_(),
13 inputIndexToJobIndex_(),
24 bool unchanged =
true;
27 for(
auto it = bidlists.begin(), itEnd = bidlists.end(); it != itEnd; ++it) {
33 for(BranchIDList::const_iterator
i = it->begin(), iEnd = it->end();
i != iEnd; ++
i) {
50 for(
auto it = bidlists.begin() +
nAlreadyCopied_, itEnd = bidlists.end(); it != itEnd; ++it) {
54 for(BranchIDList::const_iterator
i = it->begin(), iEnd = it->end();
i != iEnd; ++
i) {
67 for(ProductRegistry::ProductList::const_iterator it = preg.
productList().begin(), itEnd = preg.
productList().end();
70 if(it->second.produced() and not it->second.isAlias()) {
71 if(it->second.branchType() ==
InEvent) {
72 bidlist.push_back(it->second.branchID().id());
76 if(!bidlist.empty()) {
81 for(BranchIDList::const_iterator
i = bidlist.begin(), iEnd = bidlist.end();
i != iEnd; ++
i) {
unsigned short BranchListIndex
std::vector< BranchIDList > BranchIDLists
void updateFromParent(BranchIDLists const &bidlists)
BranchIDLists branchIDLists_
void updateFromRegistry(ProductRegistry const ®)
BranchIDLists::size_type nAlreadyCopied_
ProductList const & productList() const
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)
void fixBranchListIndexes(BranchListIndexes &indexes) const
Called by sources to convert their read indexes into the indexes used by the job. ...
std::vector< BranchID::value_type > BranchIDList
unsigned short ProductIndex
std::vector< BranchListIndex > inputIndexToJobIndex_
EventID const & max(EventID const &lh, EventID const &rh)