#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 | updateFromRegistry (ProductRegistry const ®) |
Private Attributes | |
BranchIDLists | branchIDLists_ |
BranchIDToIndexMap | branchIDToIndexMap_ |
std::vector< BranchListIndex > | inputIndexToJobIndex_ |
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 33 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 34 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 70 of file BranchIDListHelper.cc.
References i, and inputIndexToJobIndex_.
|
inline |
Definition at line 36 of file BranchIDListHelper.h.
References max(), and producedBranchListIndex_.
|
inline |
Definition at line 30 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 35 of file BranchIDListHelper.h.
References producedBranchListIndex_.
bool edm::BranchIDListHelper::updateFromInput | ( | BranchIDLists const & | bidlists | ) |
Definition at line 18 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, edm::find_in_all(), i, inputIndexToJobIndex_, and j.
Referenced by edm::StreamerInputSource::mergeIntoRegistry().
void edm::BranchIDListHelper::updateFromRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 46 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, i, edm::InEvent, producedBranchListIndex_, and edm::ProductRegistry::productList().
|
private |
Definition at line 41 of file BranchIDListHelper.h.
Referenced by branchIDLists(), mutableBranchIDLists(), updateFromInput(), and updateFromRegistry().
|
private |
Definition at line 42 of file BranchIDListHelper.h.
Referenced by branchIDToIndexMap(), updateFromInput(), and updateFromRegistry().
|
private |
Definition at line 43 of file BranchIDListHelper.h.
Referenced by fixBranchListIndexes(), and updateFromInput().
|
private |
Definition at line 44 of file BranchIDListHelper.h.
Referenced by hasProducedProducts(), producedBranchListIndex(), and updateFromRegistry().