#include <BranchIDListHelper.h>
Public Types | |
typedef std::multimap < BranchID, IndexPair > | BranchIDToIndexMap |
typedef std::pair < BranchListIndex, ProductIndex > | IndexPair |
Public Member Functions | |
BranchIDListHelper () | |
BranchIDLists const & | branchIDLists () const |
BranchIDToIndexMap const & | branchIDToIndexMap () const |
void | fixBranchListIndexes (BranchListIndexes &indexes) const |
Called by sources to convert their read indexes into the indexes used by the job. More... | |
bool | hasProducedProducts () const |
BranchIDLists & | mutableBranchIDLists () |
BranchListIndex | producedBranchListIndex () const |
bool | updateFromInput (BranchIDLists const &bidlists) |
void | updateFromParent (BranchIDLists const &bidlists) |
void | updateFromRegistry (ProductRegistry const ®) |
Private Attributes | |
BranchIDLists | branchIDLists_ |
BranchIDToIndexMap | branchIDToIndexMap_ |
std::vector< BranchListIndex > | inputIndexToJobIndex_ |
BranchIDLists::size_type | nAlreadyCopied_ |
BranchListIndex | producedBranchListIndex_ |
Definition at line 15 of file BranchIDListHelper.h.
typedef std::multimap<BranchID, IndexPair> edm::BranchIDListHelper::BranchIDToIndexMap |
Definition at line 18 of file BranchIDListHelper.h.
typedef std::pair<BranchListIndex, ProductIndex> edm::BranchIDListHelper::IndexPair |
Definition at line 17 of file BranchIDListHelper.h.
edm::BranchIDListHelper::BranchIDListHelper | ( | ) |
Definition at line 10 of file BranchIDListHelper.cc.
|
inline |
Definition at line 36 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 37 of file BranchIDListHelper.h.
References branchIDToIndexMap_.
void edm::BranchIDListHelper::fixBranchListIndexes | ( | BranchListIndexes & | indexes | ) | const |
Called by sources to convert their read indexes into the indexes used by the job.
Definition at line 88 of file BranchIDListHelper.cc.
References i, and inputIndexToJobIndex_.
|
inline |
Definition at line 39 of file BranchIDListHelper.h.
References max(), and producedBranchListIndex_.
|
inline |
Definition at line 33 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 38 of file BranchIDListHelper.h.
References producedBranchListIndex_.
bool edm::BranchIDListHelper::updateFromInput | ( | BranchIDLists const & | bidlists | ) |
Definition at line 19 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, edm::find_in_all(), i, inputIndexToJobIndex_, and j.
Referenced by edm::StreamerInputSource::mergeIntoRegistry().
void edm::BranchIDListHelper::updateFromParent | ( | BranchIDLists const & | bidlists | ) |
Definition at line 47 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, i, inputIndexToJobIndex_, and nAlreadyCopied_.
void edm::BranchIDListHelper::updateFromRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 64 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, i, edm::InEvent, producedBranchListIndex_, and edm::ProductRegistry::productList().
|
private |
Definition at line 44 of file BranchIDListHelper.h.
Referenced by branchIDLists(), mutableBranchIDLists(), updateFromInput(), updateFromParent(), and updateFromRegistry().
|
private |
Definition at line 45 of file BranchIDListHelper.h.
Referenced by branchIDToIndexMap(), updateFromInput(), updateFromParent(), and updateFromRegistry().
|
private |
Definition at line 46 of file BranchIDListHelper.h.
Referenced by fixBranchListIndexes(), updateFromInput(), and updateFromParent().
|
private |
Definition at line 48 of file BranchIDListHelper.h.
Referenced by updateFromParent().
|
private |
Definition at line 47 of file BranchIDListHelper.h.
Referenced by hasProducedProducts(), producedBranchListIndex(), and updateFromRegistry().