9 auto const nelem = 1 + *std::max_element(branchListIndexes.begin(), branchListIndexes.end());
11 for (
auto const& blindex : branchListIndexes) {
12 branchListIndexToProcessIndex[blindex] = pix;
15 return branchListIndexToProcessIndex;
20 std::vector<ProcessIndex>
const& branchListIndexToProcessIndex) {
28 if (blix < branchListIndexToProcessIndex.size()) {
29 auto v = branchListIndexToProcessIndex[blix];
unsigned short BranchListIndex
ProductID branchIDToProductID(BranchID const &bid, BranchIDListHelper const &branchIDListHelper, std::vector< ProcessIndex > const &branchListIndexToProcessIndex)
std::vector< BranchListIndex > BranchListIndexes
unsigned short ProcessIndex
std::vector< ProcessIndex > makeBranchListIndexToProcessIndex(BranchListIndexes const &branchListIndexes)
unsigned short ProductIndex
BranchIDToIndexMap const & branchIDToIndexMap() const